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()*
110 thermo.
he(Tp, patchi)
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();
virtual void write(Ostream &) const
Write.
scalarField & heGradient()
Access the energy gradient.
fluidReactionThermo & thermo
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 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...
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.
virtual const volScalarField & T() const =0
Temperature [K].
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
static const basicThermo & lookupThermo(const fvPatchScalarField &pf)
Lookup the thermo associated with the given patch field.
makePatchTypeField(fvPatchScalarField, atmBoundaryLayerInletEpsilonFvPatchScalarField)