Go to the documentation of this file.
50 const word& sourceName,
51 const word& modelType,
57 fieldName_(
dict.get<
word>(
"fieldName")),
58 tableName_(
dict.get<
word>(
"tableName")),
64 mesh_.time().timeName(),
71 zeroGradientFaPatchScalarField::typeName
86 fieldNames_.resize(1, fieldName_);
88 fa::option::resetApplied();
103 const scalar t =
mesh().time().value();
105 if (isActive() && t > timeStart() && t < (timeStart() + duration()))
111 pExt_.field() = value_->value(t);
112 eqn += pExt_/solidMass;
113 curTimeIndex_ =
mesh().time().timeIndex();
const dimensionSet dimPressure
Defines the attributes of an object for which implicit objectRegistry management is supported,...
A special matrix type and solver, designed for finite area solutions of scalar equations....
A class for handling words, derived from Foam::string.
static constexpr const zero Zero
Global zero (0)
Namespace of functions to calculate implicit derivatives returning a matrix. Time derivatives are cal...
Intermediate abstract class for handling face-set options for the derived faOptions.
Ostream & endl(Ostream &os)
Add newline and flush stream.
defineTypeNameAndDebug(limitVelocity, 0)
virtual void addSup(const areaScalarField &rho, faMatrix< scalar > &eqn, const label fieldi)
Add explicit contribution to compressible momentum equation.
virtual bool read(const dictionary &dict)
Read source dictionary.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Macros for easy insertion into run-time selection tables.
virtual bool read(const dictionary &dict)
Read source dictionary.
#define DebugInfo
Report an information message using Foam::Info.
const GeometricField< Type, faPatchField, areaMesh > & psi() const
externalFileSource(const word &sourceName, const word &modelType, const dictionary &dict, const fvPatch &patch)
Construct from explicit source name and mesh.
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for INVALID.
addToRunTimeSelectionTable(option, limitVelocity, dictionary)