64 omega_(
dict.
get<scalar>(
"omega"))
66 if (!
dict.found(
"value"))
76 const oscillatingDisplacementPointPatchVectorField& ptf,
78 const DimensionedField<vector, pointMesh>& iF,
79 const pointPatchFieldMapper& mapper
82 fixedValuePointPatchField<
vector>(ptf,
p, iF, mapper),
83 amplitude_(ptf.amplitude_),
96 amplitude_(ptf.amplitude_),
111 const Time& t =
mesh.time();
122 os.writeEntry(
"amplitude", amplitude_);
123 os.writeEntry(
"omega", omega_);
133 oscillatingDisplacementPointPatchVectorField
List< ReturnType > get(const UPtrList< T > &list, const AccessOp &aop)
List of values generated by applying the access operation to each list item.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
void writeValueEntry(Ostream &os) const
Write *this field as a "value" entry.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
virtual void write(Ostream &os) const
Write.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
Lookup type of boundary radiation properties.
Macros for easy insertion into run-time selection tables.
Foam::oscillatingDisplacementPointPatchVectorField.
bool updated() const noexcept
True if the boundary condition has already been updated.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
dimensionedScalar sin(const dimensionedScalar &ds)
A Vector of values with scalar precision, where scalar is float/double depending on the compilation f...
OBJstream os(runTime.globalPath()/outputName)
void operator=(const Field< Type > &)
Copy assignment.
pointPatchField< vector > pointPatchVectorField
oscillatingDisplacementPointPatchVectorField(const pointPatch &, const DimensionedField< vector, pointMesh > &)
Construct from patch and internal field.
Basic pointPatch represents a set of points from the mesh.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
makePointPatchTypeField(pointPatchVectorField, solidBodyMotionDisplacementPointPatchVectorField)
virtual void write(Ostream &) const
Write.
const DimensionedField< vector, pointMesh > & internalField() const noexcept
Return const-reference to the dimensioned internal field.
static constexpr const zero Zero
Global zero (0)