30 void Foam::solvers::shockFluid::fluxPredictor()
95 max(
max(phiv_pos + cSf_pos, phiv_neg + cSf_neg), v_zero)
100 min(
min(phiv_pos - cSf_pos, phiv_neg - cSf_neg), v_zero)
static tmp< GeometricField< Type, PatchField, GeoMesh > > New(const word &name, const Internal &, const PtrList< PatchField< Type >> &, const HashPtrTable< Source > &=HashPtrTable< Source >())
Return a temporary field constructed from name,.
const word & name() const
Return name.
virtual const volScalarField & Cv() const =0
Heat capacity at constant volume [J/kg/K].
virtual const volScalarField & T() const =0
Temperature [K].
virtual const volScalarField & Cp() const =0
Heat capacity at constant pressure [J/kg/K].
virtual const volScalarField & psi() const =0
Compressibility [s^2/m^2].
const surfaceScalarField & phi() const
Return cell face motion fluxes.
const surfaceVectorField & Sf() const
Return cell face area vectors.
const surfaceScalarField & magSf() const
Return cell face area magnitudes.
bool moving() const
Is mesh moving.
const fvMesh & mesh
Region mesh.
tmp< surfaceVectorField > U_neg
tmp< surfaceVectorField > U_pos
tmp< surfaceScalarField > p_neg
tmp< surfaceScalarField > aphiv_pos
tmp< surfaceScalarField > neg
const psiThermo & thermo
Reference to the fluid thermophysical properties.
tmp< surfaceVectorField > rhoU_pos
const volVectorField & U
Reference to the velocity field.
tmp< surfaceScalarField > p_pos
tmp< surfaceScalarField > rho_neg
tmp< surfaceScalarField > pos
tmp< surfaceScalarField > aSf
tmp< surfaceScalarField > a_pos
surfaceScalarField phi_
Mass-flux field.
const volScalarField & rho
Reference to the continuity density field.
tmp< surfaceScalarField > a_neg
tmp< surfaceVectorField > rhoU_neg
tmp< surfaceScalarField > rho_pos
tmp< surfaceScalarField > aphiv_neg
const dimensionedScalar c
Speed of light in a vacuum.
VolField< vector > volVectorField
const dimensionSet dimless
SurfaceField< scalar > surfaceScalarField
layerAndWeight min(const layerAndWeight &a, const layerAndWeight &b)
const dimensionSet dimTime
dimensionedScalar sqrt(const dimensionedScalar &ds)
const dimensionSet dimVolume
VolField< scalar > volScalarField
dimensioned< scalar > mag(const dimensioned< Type > &)
layerAndWeight max(const layerAndWeight &a, const layerAndWeight &b)
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.