43 fixedGradientFvPatchScalarField(
p, iF)
56 fixedGradientFvPatchScalarField(ptf,
p, iF, mapper)
68 fixedGradientFvPatchScalarField(
p, iF,
dict)
78 fixedGradientFvPatchScalarField(tppsf)
89 fixedGradientFvPatchScalarField(tppsf, iF)
103 const label patchi =
patch().index();
111 gradient() =
thermo.Cpv(pw, Tw, patchi)*Tw.snGrad()
112 +
patch().deltaCoeffs()*
118 fixedGradientFvPatchScalarField::updateCoeffs();
125 this->writeEntry(
"value",
os);
136 gradientEnergyFvPatchScalarField
virtual void write(Ostream &) const
Write.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
Smooth ATC in cells next to a set of patches supplied by type.
Macros for easy insertion into run-time selection tables.
This boundary condition provides a gradient condition for internal energy, where the gradient is calc...
psiReactionThermo & thermo
void write(vtk::formatter &fmt, const Type &val, const label n=1)
Component-wise write of a value (N times)
fvPatchField< scalar > fvPatchScalarField
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
A FieldMapper for finite-volume patch fields.
Basic thermodynamics type based on the use of fitting functions for cp, h, s obtained from the templa...
An Ostream is an abstract base class for all output systems (streams, files, token lists...
OBJstream os(runTime.globalPath()/outputName)
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...
const std::string patch
OpenFOAM patch number as a std::string.
static const basicThermo & lookupThermo(const fvPatchScalarField &pf)
makePatchTypeField(fvPatchScalarField, atmBoundaryLayerInletEpsilonFvPatchScalarField)