61 omega_(
dict.
get<scalar>(
"omega")),
64 if (!
dict.found(
"value"))
74 const waveDisplacementPointPatchVectorField& ptf,
76 const DimensionedField<vector, pointMesh>& iF,
77 const pointPatchFieldMapper& mapper
80 fixedValuePointPatchField<
vector>(ptf,
p, iF, mapper),
81 amplitude_(ptf.amplitude_),
83 waveNumber_(ptf.waveNumber_)
95 amplitude_(ptf.amplitude_),
97 waveNumber_(ptf.waveNumber_)
110 const polyMesh&
mesh = this->internalField().mesh()();
130 this->writeValueEntry(
os);
141 waveDisplacementPointPatchVectorField
List< ReturnType > get(const UPtrList< T > &list, const AccessOp &aop)
List of values generated by applying the access operation to each list item.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
A FixedValue boundary condition for pointField.
waveDisplacementPointPatchVectorField(const pointPatch &, const DimensionedField< vector, pointMesh > &)
Construct from patch and internal field.
Foam::waveDisplacementPointPatchVectorField.
virtual void write(Ostream &os) const
Write.
Ostream & writeEntry(const keyType &key, const T &value)
Write a keyword/value entry.
const Time & time() const
Return the top-level database.
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.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
friend Ostream & operator(Ostream &, const Field< vector > &)
dimensionedScalar cos(const dimensionedScalar &ds)
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
virtual void write(Ostream &) const
Write.
A Vector of values with scalar precision, where scalar is float/double depending on the compilation f...
OBJstream os(runTime.globalPath()/outputName)
pointPatchField< vector > pointPatchVectorField
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...
const std::string patch
OpenFOAM patch number as a std::string.
makePointPatchTypeField(pointPatchVectorField, solidBodyMotionDisplacementPointPatchVectorField)
static constexpr const zero Zero
Global zero (0)