Go to the documentation of this file.
60 variablesSet::variablesSet
68 useSolverNameForFields_
101 const word& baseName,
102 const word& solverName,
103 const bool useSolverNameForFields
115 useSolverNameForFields
123 word phiName(baseName);
124 if (useSolverNameForFields)
126 phiName += solverName;
152 const word& baseName,
153 const word& solverName,
154 const bool useSolverNameForFields
165 useSolverNameForFields
175 const word& fieldName,
191 fixedValueFvPatchVectorField::typeName
bool useSolverNameForFields() const
Append solver name to fields?
void reset(T *p=nullptr) noexcept
Delete managed object and set to new given pointer.
Defines the attributes of an object for which implicit objectRegistry management is supported,...
const word & solverName() const
Return solver name.
A class for handling words, derived from Foam::string.
A class for managing temporary objects.
tmp< surfaceScalarField > allocateFluxField(const fvMesh &mesh, const volVectorField &velocity, const word &baseName, const word &solverName, const bool useSolverNameForFields)
static constexpr const zero Zero
Global zero (0)
static word timeName(const scalar t, const int precision=precision_)
static void setFluxField(autoPtr< surfaceScalarField > &fieldPtr, const fvMesh &mesh, const volVectorField &velocity, const word &baseName, const word &solverName, const bool useSolverNameForFields)
Set flux field.
Dimension set for the base types.
dimensioned< vector > dimensionedVector
Dimensioned vector obtained from generic dimensioned type.
virtual autoPtr< variablesSet > clone() const
Clone the variablesSet.
Base class for creating a set of variables.
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
virtual void transfer(variablesSet &vars)
Transfer the fields of another variablesSet to this.
T * ptr() noexcept
Same as release().
word dictName() const
The local dictionary name (final part of scoped name)
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.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Mesh data needed to do the Finite Volume discretisation.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > linearInterpolate(const GeometricField< Type, fvPatchField, volMesh > &vf)
static tmp< T > New(Args &&... args)
Construct tmp of T with forwarding arguments.
const Time & time() const
Return the top-level database.
T getOrDefault(const word &keyword, const T &deflt, enum keyType::option matchOpt=keyType::REGEX) const
bool useSolverNameForFields_
Append the solver name to the variables names?
defineTypeNameAndDebug(combustionModel, 0)
const surfaceVectorField & Sf() const
Return cell face area vectors.