48 fixedValuePointPatchVectorField(
p, iF),
50 localPoints0Ptr_(
nullptr)
64 localPoints0Ptr_(nullptr)
66 if (!
dict.found(
"value"))
69 fixedValuePointPatchVectorField::operator==
81 const solidBodyMotionDisplacementPointPatchVectorField& ptf,
83 const DimensionedField<vector, pointMesh>& iF,
84 const pointPatchFieldMapper& mapper
87 fixedValuePointPatchVectorField(ptf,
p, iF, mapper),
88 SBMFPtr_(ptf.SBMFPtr_().clone()),
89 localPoints0Ptr_(nullptr)
93 fixedValuePointPatchVectorField::operator==
107 fixedValuePointPatchVectorField(ptf),
108 SBMFPtr_(ptf.SBMFPtr_().clone()),
109 localPoints0Ptr_(nullptr)
120 fixedValuePointPatchVectorField(ptf, iF),
121 SBMFPtr_(ptf.SBMFPtr_().clone()),
122 localPoints0Ptr_(nullptr)
126 fixedValuePointPatchVectorField::operator==
139 if (!localPoints0Ptr_)
146 this->db().time().constant(),
158 return *localPoints0Ptr_;
170 fixedValuePointPatchVectorField::operator==
176 fixedValuePointPatchVectorField::updateCoeffs();
186 os.writeEntry(solidBodyMotionFunction::typeName, SBMFPtr_->type());
189 SBMFPtr_->writeData(
os);
198 solidBodyMotionDisplacementPointPatchVectorField
const pointField & localPoints0() const
Ostream & indent(Ostream &os)
Indent stream.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
void transformPoints(vectorField &, const septernion &, const vectorField &)
Transform given vectorField of coordinates with the given septernion.
static word meshSubDir
Return the mesh sub-directory name (usually "polyMesh")
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tf1, const word &name, const dimensionSet &dimensions, const bool initCopy=false)
Global function forwards to reuseTmpDimensionedField::New.
Ignore writing from objectRegistry::writeObject()
virtual void write(Ostream &) const
Write.
Macros for easy insertion into run-time selection tables.
vectorField pointField
pointField is a vectorField.
Base class for defining solid-body motions.
virtual void write(Ostream &) const
Write.
A class for handling words, derived from Foam::string.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
OBJstream os(runTime.globalPath()/outputName)
pointPatchField< vector > pointPatchVectorField
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
pointField points0(pointIOField(IOobject("points", mesh.time().constant(), polyMesh::meshSubDir, mesh, IOobject::MUST_READ, IOobject::NO_WRITE, IOobject::NO_REGISTER)))
Basic pointPatch represents a set of points from the mesh.
A simple container of IOobject preferences. Can also be used for general handling of read/no-read/rea...
Enables the specification of a fixed value boundary condition using the solid body motion functions...
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
solidBodyMotionDisplacementPointPatchVectorField(const pointPatch &, const DimensionedField< vector, pointMesh > &)
Construct from patch and internal field.
const std::string patch
OpenFOAM patch number as a std::string.
makePointPatchTypeField(pointPatchVectorField, solidBodyMotionDisplacementPointPatchVectorField)
Defines the attributes of an object for which implicit objectRegistry management is supported...
A primitive field of type <T> with automated input and output.
Do not request registration (bool: false)