Contains the quantities which are are constant within a finite volume in the two-phase, n-component model.
|
template<class ElemSol , class Problem , class Element , class Scv > |
void | update (const ElemSol &elemSol, const Problem &problem, const Element &element, const Scv &scv) |
| Updates all quantities for a given control volume. More...
|
|
template<class ElemSol , class Problem , class Element , class Scv > |
void | completeFluidState (const ElemSol &elemSol, const Problem &problem, const Element &element, const Scv &scv, FluidState &fluidState, SolidState &solidState) |
| Sets complete fluid state. More...
|
|
const FluidState & | fluidState () const |
| Returns the phase state for the control-volume. More...
|
|
const SolidState & | solidState () const |
| Returns the phase state for the control-volume. More...
|
|
Scalar | averageMolarMass (int phaseIdx) const |
| Returns the average molar mass \(\mathrm{[kg/mol]}\) of the fluid phase. More...
|
|
Scalar | saturation (int phaseIdx) const |
| Returns the saturation of a given phase within the control volume in \([-]\). More...
|
|
Scalar | density (int phaseIdx) const |
| Returns the mass density of a given phase within the control volume. More...
|
|
Scalar | viscosity (int phaseIdx) const |
| Returns the dynamic viscosity of a given phase within the control volume. More...
|
|
Scalar | molarDensity (int phaseIdx) const |
| Returns the molar density of a given phase within the control volume. More...
|
|
Scalar | pressure (int phaseIdx) const |
| Returns the effective pressure of a given phase within the control volume. More...
|
|
Scalar | temperature () const |
| Returns temperature inside the sub-control volume. More...
|
|
Scalar | mobility (int phaseIdx) const |
| Returns the effective mobility of a given phase within the control volume. More...
|
|
Scalar | capillaryPressure () const |
| Returns the effective capillary pressure within the control volume in \([kg/(m*s^2)=N/m^2=Pa]\). More...
|
|
Scalar | porosity () const |
| Returns the average porosity within the control volume. More...
|
|
const PermeabilityType & | permeability () const |
| Returns the permeability within the control volume. More...
|
|
Scalar | diffusionCoefficient (int phaseIdx, int compIIdx, int compJIdx) const |
| Returns the binary diffusion coefficients for a phase in \([m^2/s]\). More...
|
|
Scalar | effectiveDiffusionCoefficient (int phaseIdx, int compIIdx, int compJIdx) const |
| Returns the effective diffusion coefficients for a phase in \([m^2/s]\). More...
|
|
Scalar | massFraction (int phaseIdx, int compIdx) const |
| Returns the mass fraction of a component in the phase. More...
|
|
Scalar | moleFraction (int phaseIdx, int compIdx) const |
| Returns the mole fraction of a component in the phase. More...
|
|
int | wettingPhase () const |
| Returns the wetting phase index. More...
|
|
const PrimaryVariables & | priVars () const |
| Returns the vector of primary variables. More...
|
|
Scalar | priVar (const int pvIdx) const |
| Returns a component of primary variable vector. More...
|
|
Scalar | extrusionFactor () const |
| Returns how much the sub-control volume is extruded. More...
|
|
template<class Traits >
template<class ElemSol , class Problem , class Element , class Scv >
- Parameters
-
elemSol | A vector containing all primary variables connected to the element |
problem | The object specifying the problem which ought to be simulated |
element | An element which contains part of the control volume |
scv | The sub-control volume |
fluidState | A container with the current (physical) state of the fluid |
solidState | A container with the current (physical) state of the solid |
Set temperature, saturations, capillary pressures, viscosities, densities and enthalpies.