56 waveDictName_(ptf.waveDictName_)
78 waveDictName_(ptf.waveDictName_)
89 waveDictName_(ptf.waveDictName_)
102 tmp<waveModel> tmodel
107 internalField().
mesh(),
112 waveModel& model = tmodel.constCast();
114 model.correct(db().time().value());
126 os.writeEntry(
"waveDictName", waveDictName_);
139 waveAlphaFvPatchScalarField
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...
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
This boundary condition supplies a fixed value constraint, and is the base class for a number of othe...
A FieldMapper for finite-volume patch fields.
virtual void write(Ostream &) const
Write.
void writeValueEntry(Ostream &os) const
Write *this field as a "value" entry.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
A class for managing temporary objects.
T & constCast() const
Return non-const reference to the object or to the contents of a (non-null) managed pointer,...
Example of the boundary condition specification:
waveAlphaFvPatchScalarField(const fvPatch &, const DimensionedField< scalar, volMesh > &)
Construct from patch and internal field.
virtual void write(Ostream &) const
Write.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
Base class for waveModels.
virtual const scalarField & alpha() const
Return the latest wave indicator field prediction.
virtual void correct(const scalar t)
Correct the model for time, t[s].
static tmp< waveModel > lookupOrCreate(const polyPatch &patch, const fvMesh &mesh, const word &waveDictName)
Lookup waveModel from database, or create new.
A class for handling words, derived from Foam::string.
OBJstream os(runTime.globalPath()/outputName)
const word dictName("faMeshDefinition")
#define makePatchTypeField(PatchTypeField, typePatchTypeField)
Define a concrete fvPatchField type and add to run-time tables Example, (fvPatchScalarField,...
tmp< faMatrix< Type > > operator==(const faMatrix< Type > &, const faMatrix< Type > &)
fvPatchField< scalar > fvPatchScalarField