Go to the documentation of this file.
44 velocityDampingConstraint,
69 const scalar magU =
mag(
U[cellI]);
80 reduce(nDamped, sumOp<label>());
94 const word& modelType,
119 dict_.writeEntry(name_,
os);
127 coeffs_.readEntry(
"UMax", UMax_);
129 if (!coeffs_.readIfPresent(
"UNames", fieldNames_))
131 fieldNames_.resize(1);
132 fieldNames_.first() = coeffs_.getOrDefault<
word>(
"U",
"U");
A class for handling words, derived from Foam::string.
Intermediate abstract class for handling cell-set options for the derived fvOptions.
void diag(pointPatchField< vector > &, const pointPatchField< tensor > &)
bool read(const char *buf, int32_t &val)
Ostream & endl(Ostream &os)
void addDamping(fvMatrix< vector > &eqn)
void reduce(const List< UPstream::commsStruct > &comms, T &Value, const BinaryOp &bop, const int tag, const label comm)
Generic templated field type.
virtual void writeData(Ostream &os) const
virtual bool read(const dictionary &dict)
virtual bool read(const dictionary &dict)
const GeometricField< Type, fvPatchField, volMesh > & psi(const label i=0) const
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
OBJstream os(runTime.globalPath()/outputName)
Macros for easy insertion into run-time selection tables.
Mesh data needed to do the Finite Volume discretisation.
dimensionedSymmTensor sqr(const dimensionedVector &dv)
virtual void constrain(fvMatrix< vector > &eqn, const label fieldi)
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
fileName::Type type(const fileName &name, const bool followLink=true)
A special matrix type and solver, designed for finite volume solutions of scalar equations....
word name(const expressions::valueTypeCode typeCode)
label nTotalCells() const noexcept
defineTypeNameAndDebug(atmAmbientTurbSource, 0)
addToRunTimeSelectionTable(option, atmAmbientTurbSource, dictionary)
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
const globalMeshData & globalData() const
dimensionedScalar cbrt(const dimensionedScalar &ds)
Generic GeometricField class.
velocityDampingConstraint(const word &name, const word &modelType, const dictionary &dict, const fvMesh &mesh)
const DimensionedField< scalar, volMesh > & V() const