102 if (this->cyclicAMIPatch().owner())
105 label
patchID = patch().index();
108 const fixedJumpAMIFvPatchScalarField& TbPatch =
114 fixedJumpAMIFvPatchScalarField& Tbp =
115 const_cast<fixedJumpAMIFvPatchScalarField&
>(TbPatch);
120 const labelUList& faceCells = this->patch().faceCells();
123 thermo.he(
pp, Tbp+Tbp.jump(), faceCells)
145 energyJumpAMIFvPatchScalarField
Macros for easy insertion into run-time selection tables.
uindirectPrimitivePatch pp(UIndirectList< face >(mesh.faces(), faceLabels), mesh.points())
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
@ buffered
"buffered" : (MPI_Bsend, MPI_Recv)
Abstract base-class for fluid and solid thermodynamic properties.
static const basicThermo & lookupThermo(const fvPatchScalarField &pf)
const cyclicAMIFvPatch & cyclicAMIPatch() const noexcept
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
This boundary condition provides an energy jump condition across a pair of coupled patches with an ar...
virtual void write(Ostream &) const
Write.
virtual void updateCoeffs()
Update the coefficients.
energyJumpAMIFvPatchScalarField(const fvPatch &, const DimensionedField< scalar, volMesh > &)
Construct from patch and internal field.
Smooth ATC in cells next to a set of patches supplied by type.
This boundary condition provides a jump condition, across non-conformal cyclic path-pairs,...
virtual void write(Ostream &) const
Write.
fixedJumpAMIFvPatchField(const fvPatch &, const DimensionedField< scalar, volMesh > &)
const fvPatch & patch() const noexcept
Return the patch.
bool updated() const noexcept
True if the boundary condition has already been updated.
A FieldMapper for finite-volume patch fields.
void writeValueEntry(Ostream &os) const
Write *this field as a "value" entry.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
bool readValueEntry(const dictionary &dict, IOobjectOption::readOption readOpt=IOobjectOption::LAZY_READ)
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
virtual void evaluate(const Pstream::commsTypes commsType)
Basic thermodynamics type based on the use of fitting functions for cp, h, s obtained from the templa...
OBJstream os(runTime.globalPath()/outputName)
#define makePatchTypeField(PatchTypeField, typePatchTypeField)
Define a concrete fvPatchField type and add to run-time tables Example, (fvPatchScalarField,...
Type & refCast(U &obj)
A dynamic_cast (for references) to Type reference.
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
UList< label > labelUList
A UList of labels.
fvPatchField< scalar > fvPatchScalarField