61 omega_(
dict.get<scalar>(
"omega")),
81 amplitude_(ptf.amplitude_),
83 waveNumber_(ptf.waveNumber_)
95 amplitude_(ptf.amplitude_),
97 waveNumber_(ptf.waveNumber_)
110 const polyMesh&
mesh = this->internalField().mesh()();
111 const Time& t =
mesh.time();
115 Field<vector>::operator=
127 os.writeEntry(
"amplitude", amplitude_);
128 os.writeEntry(
"omega", omega_);
129 os.writeEntry(
"waveNumber", waveNumber_);
130 this->writeValueEntry(
os);
141 waveDisplacementPointPatchVectorField
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...
Generic templated field type that is much like a Foam::List except that it is expected to hold numeri...
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 > &)
const pointPatch & patch() const noexcept
Return the patch.
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.
Foam::waveDisplacementPointPatchVectorField.
virtual void write(Ostream &) const
Write.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
waveDisplacementPointPatchVectorField(const pointPatch &, const DimensionedField< vector, pointMesh > &)
Construct from patch and internal field.
OBJstream os(runTime.globalPath()/outputName)
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
pointPatchField< vector > pointPatchVectorField
static constexpr const zero Zero
Global zero (0).
dimensionedScalar cos(const dimensionedScalar &ds)
#define makePointPatchTypeField(PatchTypeField, typePatchTypeField)
Define a concrete pointPatchField type and add to run-time tables Example, (pointPatchScalarField,...