52 void Foam::fv::OUForce::readCoeffs()
63 const word& modelType,
71 forceGen_(K_, mesh.time().deltaTValue(),
dict)
105 (K_/(
mag(K_) + 1.0e-6))
106 ^ forceGen_.newField(mesh().time().deltaTValue()), K_.nn()
Macros for easy insertion into run-time selection tables.
Generic GeometricField class.
DimensionedField< Type, GeoMesh > Internal
Type of the internal field from which this GeometricField is derived.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
A list of keyword definitions, which are a keyword followed by any number of values (e....
T lookupOrDefault(const word &, const T &, bool recursive=false, bool patternMatch=true) const
Find and return a T, if not found return the given default.
static tmp< complexField > reverseTransform(const tmp< complexField > &field, const labelList &nn)
A special matrix type and solver, designed for finite volume solutions of scalar equations....
Mesh data needed to do the Finite Volume discretisation.
Finite volume model abstract base class.
const dictionary & coeffs() const
Return dictionary.
virtual bool read(const dictionary &dict)
Read source dictionary.
Calculates and applies the random OU (Ornstein-Uhlenbeck) process force to the momentum equation for ...
virtual bool movePoints()
Update for mesh motion.
virtual wordList addSupFields() const
Return the list of fields for which the fvModel adds source term.
virtual void addSup(const volVectorField &field, fvMatrix< vector > &eqn) const
Add explicit contribution to incompressible momentum equation.
virtual void topoChange(const polyTopoChangeMap &)
Update topology using the given map.
virtual void distribute(const polyDistributionMap &)
Redistribute or update using the given distribution map.
virtual bool read(const dictionary &dict)
Read source dictionary.
virtual void mapMesh(const polyMeshMap &)
Update from another mesh using the given map.
virtual bool write(const bool write=true) const
Write energy spectrum.
OUForce(const word &name, const word &modelType, const fvMesh &mesh, const dictionary &dict)
Construct from explicit source name and mesh.
Class containing mesh-to-mesh mapping information after a mesh distribution where we send parts of me...
Class containing mesh-to-mesh mapping information.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
A class for handling words, derived from string.
A special matrix type and solver, designed for finite volume solutions of scalar equations.
addToRunTimeSelectionTable(fvConstraint, bound, dictionary)
defineTypeNameAndDebug(bound, 0)
void write(std::ostream &os, const bool binary, List< floatScalar > &fField)
Write floats ascii or binary.
List< word > wordList
A List of words.
word name(const bool)
Return a word representation of a bool.
const dimensionSet dimAcceleration
dimensioned< scalar > mag(const dimensioned< Type > &)
void writeEk(const volVectorField &U, const Kmesh &K)
scalarField ReImSum(const UList< complex > &cf)
This function evaluates q(k) (McComb, p61) by summing all wavevectors in a k-shell....