49 const word& modelType,
55 radialCoeffs_(coeffs_.
lookup(
"coeffs"))
57 Info<<
" - creating radial actuation disk zone: " <<
name_ <<
endl;
75 addRadialActuationDiskAxialInertialResistance
100 addRadialActuationDiskAxialInertialResistance
116 coeffs_.readEntry(
"coeffs", radialCoeffs_);
Macros for easy insertion into run-time selection tables.
#define addToRunTimeSelectionTable(baseType, thisType, argNames)
Add to construction table with typeName as the key.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
A special matrix type and solver, designed for finite volume solutions of scalar equations....
const GeometricField< Type, fvPatchField, volMesh > & psi(const label i=0) const
Return psi.
Field< Type > & source() noexcept
Mesh data needed to do the Finite Volume discretisation.
const DimensionedField< scalar, volMesh > & V() const
Return cell volumes.
actuationDiskSource()=delete
No default construct.
virtual bool read(const dictionary &dict)
Read dictionary.
labelList cells_
Set of cells to apply source to.
scalar V_
Sum of cell volumes.
Base abstract class for handling finite volume options (i.e. fvOption).
const word & name() const noexcept
Return const access to the source name.
const fvMesh & mesh_
Reference to the mesh database.
dictionary coeffs_
Dictionary containing source coefficients.
const fvMesh & mesh() const noexcept
Return const access to the mesh database.
const word name_
Source name.
Applies sources on velocity field (i.e. U) within a specified region to enable actuator disk models w...
radialActuationDiskSource(const word &name, const word &modelType, const dictionary &dict, const fvMesh &mesh)
Construct from components.
virtual bool read(const dictionary &dict)
Read source dictionary.
virtual void addSup(fvMatrix< vector > &eqn, const label fieldi)
Add explicit contribution to momentum equation.
A class representing the concept of a GeometricField of 1 used to avoid unnecessary manipulations for...
Lookup type of boundary radiation properties.
A class for handling words, derived from Foam::string.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
Namespace for finite-volume.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
messageStream Info
Information stream (stdout output on master, null elsewhere).
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
Ostream & endl(Ostream &os)
Add newline and flush stream.
Field< vector > vectorField
Specialisation of Field<T> for vector.
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for expressions::valueTypeCode::INVALID.