64 omega_(
dict.get<scalar>(
"omega"))
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
Macros for easy insertion into run-time selection tables.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
const Mesh & mesh() const noexcept
Return const reference to mesh.
void operator=(const Field< Type > &)
Copy assignment.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
bool get(const label i) const
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
const Type & value() const noexcept
Return const reference to value.
A FixedValue boundary condition for pointField.
fixedValuePointPatchField(const pointPatch &, const DimensionedField< vector, pointMesh > &)
Foam::oscillatingDisplacementPointPatchVectorField.
oscillatingDisplacementPointPatchVectorField(const pointPatch &, const DimensionedField< vector, pointMesh > &)
Construct from patch and internal field.
virtual void write(Ostream &) const
Write.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
bool updated() const noexcept
True if the boundary condition has already been updated.
Foam::pointPatchFieldMapper.
virtual void write(Ostream &os) const
Write.
const DimensionedField< vector, pointMesh > & internalField() const noexcept
Basic pointPatch represents a set of points from the mesh.
Mesh consisting of general polyhedral cells.
Lookup type of boundary radiation properties.
void writeValueEntry(Ostream &os) const
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
OBJstream os(runTime.globalPath()/outputName)
dimensionedScalar sin(const dimensionedScalar &ds)
pointPatchField< vector > pointPatchVectorField
static constexpr const zero Zero
Global zero (0).
#define makePointPatchTypeField(PatchTypeField, typePatchTypeField)
Define a concrete pointPatchField type and add to run-time tables Example, (pointPatchScalarField,...