Add project files.
This commit is contained in:
10
Interfaces/Junction0.cs
Normal file
10
Interfaces/Junction0.cs
Normal file
@@ -0,0 +1,10 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace FluidSim.Interfaces
|
||||
{
|
||||
internal class Junction0
|
||||
{
|
||||
}
|
||||
}
|
||||
10
Interfaces/Junction1.cs
Normal file
10
Interfaces/Junction1.cs
Normal file
@@ -0,0 +1,10 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace FluidSim.Interfaces
|
||||
{
|
||||
internal class Junction1
|
||||
{
|
||||
}
|
||||
}
|
||||
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