22 lines
589 B
C#
22 lines
589 B
C#
using FluidSim.Components;
|
|
|
|
namespace FluidSim.Core
|
|
{
|
|
public class PipeVolumeConnection
|
|
{
|
|
public Volume0D Volume { get; }
|
|
public Pipe1D Pipe { get; }
|
|
public bool IsPipeLeftEnd { get; }
|
|
public double OrificeArea { get; set; }
|
|
|
|
public double LastMassFlowIntoVolume { get; set; }
|
|
|
|
public PipeVolumeConnection(Volume0D vol, Pipe1D pipe, bool isPipeLeftEnd, double orificeArea)
|
|
{
|
|
Volume = vol;
|
|
Pipe = pipe;
|
|
IsPipeLeftEnd = isPipeLeftEnd;
|
|
OrificeArea = orificeArea;
|
|
}
|
|
}
|
|
} |