Mixture Solver
Mixture Solver
is pretty cool.
- class Solvers.Mixture.Liquid(mix)
Bases:
Solvers.AbstractPhase
LIQUID Summary of this class goes here Detailed explanation goes here
- Constructor Summary
- Liquid(mix)
LIQUID Construct an instance of this class Detailed explanation goes here
- Method Summary
- class Solvers.Mixture.Vapor(mix)
Bases:
Solvers.AbstractPhase
VAPOR Summary of this class goes here Detailed explanation goes here
- Constructor Summary
- Vapor(mix)
VAPOR Construct an instance of this class Detailed explanation goes here
- Method Summary
- class Solvers.Mixture.Mixture(inputSet, fluid)
Bases:
Solvers.AbstractField
MIXTURE Summary of this class goes here Detailed explanation goes here
- Constructor Summary
- Property Summary
- NZ = 0
Solver properties
- NTIME = 0
[-] Number of time steps
- TIME = 0
[s] Time series
- DT = 0
[s] Time step size
- TIDX = 1
[-] Time step index
- Z = 1.
[m] Elevation
- HFLUX = 1.
[W/m^2] Wall heat flux
- W = 1.
Flow properties
- P = 7E6
[Pa] Pressure
- H = 1E6
[J/kg] Enthalpy
- DP
[-] Detailed pressure drops
- ITR
Iteration properties
- liquid
Phases
- DZ = 0
[m] Axial step size
- Method Summary
-
- XEQ(mix, zIdx)
XEQ()
Equilibrium quality [-] This function only retrieves the mix.xeq values pre-calculated when mix.H is set. This is to eliminate the redundant calculation as a result of requent function calls. The values are calculated via mix.XEQ_CALC()
- X(mix, zIdx)
X()
Vapor quality [-] This function only retrieves the mix.x values pre-calculated when mix.H is set. This is to eliminate the redundant calculation as a result of requent function calls. The values are calculated via mix.X_CALC()
- DPGRAV(mix, zIdx)
DPK Gravitational pressure loss [Pa]