34 {
"code",
"codeInclude",
"localCode"}
40 {word::null, word::null, word::null}
46 "codedMixedFvPatchFieldOptions"
52 "codedMixedFvPatchFieldTemplate.C"
58 "codedMixedFvPatchFieldTemplate.H"
99 {
"TemplateType", fieldType},
100 {
"FieldType", fieldType.
capitalise() +
"Field"},
142 if (!redirectPatchFieldPtr_.valid())
151 dict.set(
"type", codeName());
153 redirectPatchFieldPtr_.set
160 this->internalField(),
167 return redirectPatchFieldPtr_();
185 this->refGrad() = fvp.
refGrad();
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...
Input from memory buffer stream.
Output to memory buffer stream.
string str() const
Return the string.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
commsTypes
Types of communications.
Base class for coded functionObjects, fvModels, Function1, Function2.
bool updateLibrary(const dictionary &dict) const
Update library from given updated dictionary as required.
Mixed boundary condition evaluated from the code provided.
virtual void evaluate(const Pstream::commsTypes commsType=Pstream::commsTypes::blocking)
Evaluate the patch field.
codedMixedFvPatchField(const fvPatch &, const DimensionedField< Type, fvMesh > &, const dictionary &)
Construct from patch, internal field and dictionary.
virtual void write(Ostream &) const
Write.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
const mixedFvPatchField< Type > & redirectPatchField() const
Get reference to the underlying patchField.
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
HashTable< string > & varSubstitutions()
void write(Ostream &os) const
Write the code for restart.
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 updateCoeffs()
Update the coefficients associated with the patch field.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
This boundary condition provides a base class for 'mixed' type boundary conditions,...
virtual void evaluate(const Pstream::commsTypes commsType=Pstream::commsTypes::blocking)
Evaluate the patch field.
virtual void write(Ostream &) const
Write.
virtual Field< Type > & refValue()
virtual scalarField & valueFraction()
virtual Field< Type > & refGrad()
Traits class for primitives.
Mesh consisting of general polyhedral cells.
A class for handling words, derived from string.
word capitalise() const
Return the word with the first letter capitalised.
Foam::fvMesh mesh(Foam::IOobject(regionName, runTime.name(), runTime, Foam::IOobject::MUST_READ), false)
void evaluate(GeometricField< Type, GeoMesh > &result, const Function1< Type > &func, const GeometricField< Type, GeoMesh > &x)
word name(const LagrangianState state)
Return a string representation of a Lagrangian state enumeration.