TransFlow
0.1.0
A transient pipeline flow simulation library
|
▼Ndetails | |
CPropertyToSample | The PropertyToSample struct contains information about a single property from Pipeline that we are going to sample |
▼Nutils | |
Clinalg_error | |
CLinearInterpolator | |
Cno_convergence_error | |
Cno_solution_found | |
Cphysics_error | |
Cpressure_range_error | |
Cstringbuilder | |
Ctemperature_range_error | |
CAmbientFluid | Simple container class that defines the conductivity, density, heat capacity, dynamic viscosity and velocity of a fluid used by HeatTransfer |
CBatchTracking | A class for calculating the time development of the gas composition from the gas velocity |
▼CBatchTrackingState | Contains the state which BatchTracking operates on |
CBatch | Contains the information for a single batch |
▼CBoundaryConditions | Container for the boundary conditions at the inlet and outlet of a pipeline, for a single time step |
CSingleCondition | Used to store a single boundary condition (like flow, pressure or temperature), and also contains information on whether the condition is "active", meaning if it is meant to be a constrain when solving the governing equations |
CBurialMedium | Simple container class that defines the conductivity, density and heat capacity of a burial medium. Mostly used by HeatTransfer |
CBWRS | Implements the Benedict-Webb-Rubin-Starling (BWRS) equation of state |
CComposition | Simple container class for the composition of natural gas. We use arma::vec::fixed<10> to fix the number of components at 10 |
CConfig | The Config struct stores all settings for the different parts of the pipeline simulation |
CDiscretizer | Discretizer is an abstract class, the base class the implementation of the discretization of the two different sets of governing equations; internal energy and enthalpy |
CDummyGas | Dummy EOS implementation used for unit testing. This uses a special molar mass for the gas components, which makes for easier testing |
CEnthalpyDiscretizer | Implementation of Discretizer for the enthalpy form of the energy equation |
CEquationOfState | Wrapper around EquationOfStateBase that has one equation of state instance per grid point, and wraps the EquationOfStateBase::evaluate() function |
CEquationOfStateBase | The EquationOfStateBase is an abstract class, the base class for different equations of state |
CFixedQValue | Implementation of HeatTransferBase for fixed heat flux |
CFixedUValue | Implementation of HeatTransferBase for fixed U-value (total heat transfer coefficient) |
CGERG04 | Implements the GERG 2004 equation of state |
CGoverningEquationSolver | The GoverningEquationSolver class is a composition of Discretizer and MatrixEquation with a little bit of logic, that solves the governing equations for a 1d gas pipeline |
CGoverningEquationSolverBase | Simple Base class to avoid having to specify template argument for GoverningEquationSolver. This means that we have to use pointers to GoverningEquationSolverBase instead of simple GoverningEquationSolverBase instances |
CHeatTransfer | The EquationOfState class is a wrapper around HeatTransferBase that has one heat transfer instance per grid point, and wraps the HeatTransferBase::evaluate() function |
CHeatTransferBase | Abstract class, the base class for all heat transfer implementations. It mostly just defines a stencil for the evaluate() function and the HeatTransferState class |
CHeatTransferState | Container for the state of a HeatTransferBase instance. All HeatTransferBase subclasses operate on instances of State, and return State |
CIdealGas | Implements the equation of state for an ideal gas |
CInternalEnergyDiscretizer | Implementation of Discretizer for the internal energy form of the energy equation |
CMaterial | Simple container class that defines the conductivity, density and heat capacity of a material |
CMatrixEquation | Sets up the matrix equation from the system of equations found from the governing equations |
CPhysics | Combines EquationOfState and HeatTransfer to calculate the new state of a pipeline given a new pressure, temperature and flow |
▼CPipeline | |
CState | |
▼CPipeWall | Container class that defines the thickness and Material properties of each layer a pipe consists of |
CLayer | The PipeWall::Layer class is a simple container class that defines the thickness and all other material properties of a single layer of pipe wall |
CRadialHeatTransfer | Base class for heat transfer calculation with 1d radial models |
CSampler | Used to sample selected Pipeline properties during simulations |
CSimulator | Combines Physics and Solver to advance the state of the pipeline in time. It contains a Pipeline instance which has thes state of the pipeline at all times |
CSolver | Combines GoverningEquationSolver and BatchTracking to advance the governing equations forward in time, and advect the gas composition |
CSteadyStateHeatTransfer | Class that implements steady state heat transfer between gas and pipeline surroundings |
▼CTimeSeries | Used to store the boundary conditions for several time steps |
CSeries | |
CTimeStep | Subclass of BoundaryConditions with an extra member to store the timestamp of the boundary conditions |
CUnsteadyHeatTransfer | Implements 1d radial unsteady heat transfer |