Add project files.
This commit is contained in:
20
Interfaces/Port.cs
Normal file
20
Interfaces/Port.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
namespace FluidSim.Interfaces
|
||||
{
|
||||
public class Port
|
||||
{
|
||||
public double Pressure; // Pa
|
||||
public double MassFlowRate; // kg/s, positive INTO the component
|
||||
public double SpecificEnthalpy; // J/kg, enthalpy of fluid entering this port
|
||||
public double Density; // kg/m³
|
||||
public double Temperature; // K
|
||||
|
||||
public Port()
|
||||
{
|
||||
Pressure = 101325.0;
|
||||
MassFlowRate = 0.0;
|
||||
SpecificEnthalpy = 0.0;
|
||||
Density = 1.225;
|
||||
Temperature = 300.0;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user