43 fixedGradientFvPatchScalarField(
p, iF)
55 fixedGradientFvPatchScalarField(
p, iF,
dict)
68 fixedGradientFvPatchScalarField(ptf,
p, iF, mapper)
79 fixedGradientFvPatchScalarField(tppsf, iF)
102 isA<zeroGradientFvPatchScalarField>(Tp)
103 || isA<fixedGradientFvPatchScalarField>(Tp)
108 + patch().deltaCoeffs()*
111 -
thermo.
he(Tp, patch().faceCells())
114 else if (isA<gradientEnergyCalculatedTemperatureFvPatchScalarField>(Tp))
117 refCast<gradientEnergyCalculatedTemperatureFvPatchScalarField>(Tp);
124 <<
"Temperature boundary condition not recognised."
125 <<
"A " << typeName <<
" condition for energy must be used with a "
126 << zeroGradientFvPatchScalarField::typeName <<
", "
127 << fixedGradientFvPatchScalarField::typeName <<
" or "
128 << gradientEnergyCalculatedTemperatureFvPatchScalarField::typeName
129 <<
" condition for temperature."
133 fixedGradientFvPatchScalarField::updateCoeffs();
Macros for easy insertion into run-time selection tables.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
const Boundary & boundaryField() const
Return const-reference to the boundary field.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Base-class for fluid and solid thermodynamic properties.
static const basicThermo & lookupThermo(const FieldType &f)
Lookup the thermo associated with the given field.
virtual const volScalarField & T() const =0
Temperature [K].
virtual const volScalarField & Cpv() const =0
Heat capacity at constant pressure/volume [J/kg/K].
virtual const volScalarField & he() const =0
Enthalpy/Internal energy [J/kg].
A list of keyword definitions, which are a keyword followed by any number of values (e....
Abstract base class for field mapping.
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
virtual void evaluate(const Pstream::commsTypes commsType=Pstream::commsTypes::blocking)
Evaluate the patch field, sets Updated to false.
virtual tmp< Field< Type > > snGrad() const
Return patch-normal gradient.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
Base class for temperature boundary conditions in which the parameters of the gradient energy conditi...
scalarField & heGradient()
Access the energy gradient.
This boundary condition provides a gradient condition for energy. This is selected when the correspon...
virtual void write(Ostream &) const
Write.
gradientEnergyFvPatchScalarField(const fvPatch &, const DimensionedField< scalar, volMesh > &)
Construct from patch and internal field.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
void write(std::ostream &os, const bool binary, List< floatScalar > &fField)
Write floats ascii or binary.
errorManipArg< error, int > exit(error &err, const int errNo=1)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
makeNullConstructablePatchTypeField(fvPatchVectorField, noSlipFvPatchVectorField)
void writeEntry(Ostream &os, const HashTable< T, Key, Hash > &ht)
fluidMulticomponentThermo & thermo