43 fixedGradientFvPatchScalarField(p, iF)
56 fixedGradientFvPatchScalarField(ptf, p, iF, mapper)
68 fixedGradientFvPatchScalarField(p, iF, dict)
78 fixedGradientFvPatchScalarField(tppsf)
89 fixedGradientFvPatchScalarField(tppsf, iF)
112 isA<zeroGradientFvPatchScalarField>(Tp)
113 || isA<fixedGradientFvPatchScalarField>(Tp)
118 + patch().deltaCoeffs()*
120 thermo.
he(Tp, patchi)
121 - thermo.
he(Tp, patch().faceCells())
124 else if (isA<gradientEnergyCalculatedTemperatureFvPatchScalarField>(Tp))
127 refCast<gradientEnergyCalculatedTemperatureFvPatchScalarField>(Tp);
134 <<
"Temperature boundary condition not recognised." 135 <<
"A " << typeName <<
" condition for energy must be used with a " 136 << zeroGradientFvPatchScalarField::typeName <<
", " 137 << fixedGradientFvPatchScalarField::typeName <<
" or " 138 << gradientEnergyCalculatedTemperatureFvPatchScalarField::typeName
139 <<
" condition for temperature." 143 fixedGradientFvPatchScalarField::updateCoeffs();
virtual void write(Ostream &) const
Write.
scalarField & heGradient()
Access the energy gradient.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Abstract base-class for fluid and solid thermodynamic properties.
virtual tmp< Field< Type > > snGrad() const
Return patch-normal gradient.
errorManipArg< error, int > exit(error &err, const int errNo=1)
A list of keyword definitions, which are a keyword followed by any number of values (e...
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
const Boundary & boundaryField() const
Return const-reference to the boundary field.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
virtual const volScalarField & T() const
Temperature [K].
rhoReactionThermo & thermo
virtual tmp< volScalarField > Cpv() const =0
Heat capacity at constant pressure/volume [J/kg/K].
Macros for easy insertion into run-time selection tables.
virtual volScalarField & he()=0
Enthalpy/Internal energy [J/kg].
This boundary condition provides a gradient condition for energy. This is selected when the correspon...
Foam::fvPatchFieldMapper.
void write(std::ostream &os, const bool binary, List< floatScalar > &fField)
Write floats ascii or binary.
Base class for temperature boundary conditions in which the parameters of the gradient energy conditi...
An Ostream is an abstract base class for all output systems (streams, files, token lists...
static Table::iterator lookupThermo(const dictionary &thermoTypeDict, Table *tablePtr, const int nCmpt, const char *cmptNames[], const word &thermoTypeName)
Generic lookup for thermodynamics package thermoTypeName.
void writeEntry(Ostream &os, const HashTable< T, Key, Hash > &ht)
virtual void evaluate(const Pstream::commsTypes commsType=Pstream::commsTypes::blocking)
Evaluate the patch field, sets Updated to false.
gradientEnergyFvPatchScalarField(const fvPatch &, const DimensionedField< scalar, volMesh > &)
Construct from patch and internal field.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
makePatchTypeField(fvPatchScalarField, atmBoundaryLayerInletEpsilonFvPatchScalarField)