46 Foam::dynamicInkJetFvMesh::dynamicInkJetFvMesh
66 ).optionalSubDict(typeName +
"Coeffs")
68 amplitude_(dynamicMeshCoeffs_.
get<scalar>(
"amplitude")),
69 frequency_(dynamicMeshCoeffs_.
get<scalar>(
"frequency")),
70 refPlaneX_(dynamicMeshCoeffs_.
get<scalar>(
"refPlaneX")),
84 Info<<
"Performing a dynamic mesh calculation: " <<
endl 85 <<
"amplitude: " << amplitude_
86 <<
" frequency: " << frequency_
87 <<
" refPlaneX: " << refPlaneX_ <<
endl;
100 scalar scalingFunction =
107 Info<<
"Mesh scaling. Time = " << time().value() <<
" scaling: " 108 << scalingFunction <<
endl;
115 stationaryPoints_.component(vector::X)*
120 - (stationaryPoints_.component(vector::X))
122 )*amplitude_*scalingFunction
List< ReturnType > get(const UPtrList< T > &list, const AccessOp &aop)
List of values generated by applying the access operation to each list item.
cellMask correctBoundaryConditions()
Ostream & endl(Ostream &os)
Add newline and flush stream.
virtual bool movePoints()
Do what is necessary if the mesh has moved.
void replace(const direction, const UList< cmptType > &)
Replace a component field of the field.
Mesh motion specifically for the "pumping" system of an ink-jet injector.
Macros for easy insertion into run-time selection tables.
virtual bool update()
Update the mesh for both mesh motion and topology change.
~dynamicInkJetFvMesh()
Destructor.
IOdictionary is derived from dictionary and IOobject to give the dictionary automatic IO functionalit...
dimensionedScalar cos(const dimensionedScalar &ds)
constexpr scalar twoPi(2 *M_PI)
dimensionedScalar pos0(const dimensionedScalar &ds)
defineTypeNameAndDebug(combustionModel, 0)
Abstract base class for geometry and/or topology changing fvMesh.
messageStream Info
Information stream (stdout output on master, null elsewhere)
IOobject io("surfaceFilmProperties", mesh.time().constant(), mesh, IOobject::READ_IF_PRESENT, IOobject::NO_WRITE, IOobject::NO_REGISTER)
Defines the attributes of an object for which implicit objectRegistry management is supported...
addToRunTimeSelectionTable(functionObject, pointHistory, dictionary)