45 dynamicMeshCoeffs_(dynamicMeshDict().optionalSubDict(typeName +
"Coeffs")),
46 amplitude_(dynamicMeshCoeffs_.
lookup<scalar>(
"amplitude")),
47 frequency_(dynamicMeshCoeffs_.
lookup<scalar>(
"frequency")),
48 refPlaneX_(dynamicMeshCoeffs_.
lookup<scalar>(
"refPlaneX")),
61 velocityMotionCorrection_(*this, dynamicMeshDict())
63 Info<<
"Performing a dynamic mesh calculation: " <<
endl 64 <<
"amplitude: " << amplitude_
65 <<
" frequency: " << frequency_
66 <<
" refPlaneX: " << refPlaneX_ <<
endl;
80 scalar scalingFunction =
87 Info<<
"Mesh scaling. Time = " <<
time().
value() <<
" scaling: " 88 << scalingFunction <<
endl;
102 )*amplitude_*scalingFunction
108 velocityMotionCorrection_.
update();
Ostream & endl(Ostream &os)
Add newline and flush stream.
bool movePoints()
Do what is necessary if the mesh has moved.
const Time & time() const
Return the top-level database.
void replace(const direction, const UList< cmptType > &)
Replace a component field of the field.
Macros for easy insertion into run-time selection tables.
virtual bool update()
Update the mesh for both mesh motion and topology change.
~dynamicInkJetFvMesh()
Destructor.
stressControl lookup("compactNormalStress") >> compactNormalStress
dimensionedScalar cos(const dimensionedScalar &ds)
const Type & value() const
Return const reference to value.
const scalar twoPi(2 *pi)
tmp< Field< cmptType > > component(const direction) const
Return a component field of the field.
dynamicInkJetFvMesh(const IOobject &io)
Construct from IOobject.
dimensionedScalar pos0(const dimensionedScalar &ds)
addToRunTimeSelectionTable(ensightPart, ensightPartCells, istream)
defineTypeNameAndDebug(combustionModel, 0)
Abstract base class for geometry and/or topology changing fvMesh.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...