60 variablesSet::variablesSet
68 useSolverNameForFields_
70 dict.getOrDefault<bool>(
"useSolverNameForFields", false)
101 const word& baseName,
102 const word& solverName,
103 const bool useSolverNameForFields
123 word phiName(baseName);
131 mesh.time().timeName(),
152 const word& baseName,
153 const word& solverName,
154 const bool useSolverNameForFields
157 autoPtr<surfaceScalarField> fieldPtr(
nullptr);
175 const word& fieldName,
184 mesh.time().timeName(),
191 fixedValueFvPatchVectorField::typeName
A list of keyword definitions, which are a keyword followed by a number of values (eg...
tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > linearInterpolate(const GeometricField< Type, fvPatchField, volMesh > &vf)
virtual void transfer(variablesSet &vars)
Transfer the fields of another variablesSet to this.
const word dictName("faMeshDefinition")
dimensioned< vector > dimensionedVector
Dimensioned vector obtained from generic dimensioned type.
Ignore writing from objectRegistry::writeObject()
GeometricField< vector, fvPatchField, volMesh > volVectorField
void reset(T *p=nullptr) noexcept
Delete managed object and set to new given pointer.
Dimension set for the base types, which can be used to implement rigorous dimension checking for alge...
bool useSolverNameForFields() const
Append solver name to fields?
A class for handling words, derived from Foam::string.
bool useSolverNameForFields_
Append the solver name to the variables names?
Reading is optional [identical to LAZY_READ].
static tmp< T > New(Args &&... args)
Construct tmp with forwarding arguments.
const word & solverName() const
Return solver name.
tmp< surfaceScalarField > allocateFluxField(const fvMesh &mesh, const volVectorField &velocity, const word &baseName, const word &solverName, const bool useSolverNameForFields)
defineTypeNameAndDebug(combustionModel, 0)
T * ptr() noexcept
Same as release().
Base class for creating a set of variables.
static void setFluxField(autoPtr< surfaceScalarField > &fieldPtr, const fvMesh &mesh, const volVectorField &velocity, const word &baseName, const word &solverName, const bool useSolverNameForFields)
Set flux field.
Mesh data needed to do the Finite Volume discretisation.
Automatically write from objectRegistry::writeObject()
virtual autoPtr< variablesSet > clone() const
Clone the variablesSet.
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
A class for managing temporary objects.
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
Defines the attributes of an object for which implicit objectRegistry management is supported...
static tmp< volVectorField > autoCreateMeshMovementField(const fvMesh &mesh, const word &name, const dimensionSet &dims)
Auto create variable for mesh movement.
word solverName_
Solver name owning the variables set.
static constexpr const zero Zero
Global zero (0)