20 lines
600 B
C#
20 lines
600 B
C#
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;
|
|
}
|
|
}
|
|
} |