62 amplitude_(dict.
lookup(
"amplitude")),
63 omega_(dict.
lookup<scalar>(
"omega"))
65 if (!dict.
found(
"value"))
76 p0_ = p.localPoints();
91 amplitude_(ptf.amplitude_),
105 amplitude_(ptf.amplitude_),
131 refCast<const oscillatingVelocityPointPatchVectorField>(ptf);
135 p0_.rmap(oVptf.p0_, addr);
145 refCast<const oscillatingVelocityPointPatchVectorField>(ptf);
149 p0_.reset(oVptf.p0_);
bool found(const word &, bool recursive=false, bool patternMatch=true) const
Search dictionary for given keyword.
virtual void reset(const pointPatchField< vector > &)
Reset the pointPatchField to the given pointPatchField.
A list of keyword definitions, which are a keyword followed by any number of values (e...
oscillatingVelocityPointPatchVectorField(const pointPatch &, const DimensionedField< vector, pointMesh > &)
Construct from patch and internal field.
Foam::pointPatchFieldMapper.
label size() const
Return size.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
Macros for easy insertion into run-time selection tables.
Pre-declare SubField and related Field type.
const pointPatch & patch() const
Return patch.
scalar deltaTValue() const
Return time step value.
const Type & value() const
Return const reference to value.
virtual void rmap(const pointPatchField< vector > &, const labelList &)
Reverse map the given pointPatchField onto this pointPatchField.
virtual void autoMap(const pointPatchFieldMapper &)
Map (and resize as needed) from self given a mapping object.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
dimensionedScalar sin(const dimensionedScalar &ds)
virtual void write(Ostream &) const
Write.
const Time & time() const
Return time.
void writeEntry(Ostream &os, const HashTable< T, Key, Hash > &ht)
virtual const vectorField & localPoints() const =0
Return mesh points.
const DimensionedField< vector, pointMesh > & internalField() const
Return dimensioned internal field reference.
virtual void write(Ostream &) const
Write.
Basic pointPatch represents a set of points from the mesh.
virtual void reset(const pointPatchField< Type > &)
Reset the pointPatchField to the given pointPatchField.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
bool updated() const
Return true if the boundary condition has already been updated.
makePointPatchTypeField(pointPatchVectorField, solidBodyMotionDisplacementPointPatchVectorField)
virtual void autoMap(const pointPatchFieldMapper &)
Map (and resize as needed) from self given a mapping object.
Field< vector > vectorField
Specialisation of Field<T> for vector.
Mesh consisting of general polyhedral cells.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
virtual void rmap(const pointPatchField< Type > &, const labelList &)
Reverse map the given pointPatchField onto this pointPatchField.
Foam::oscillatingVelocityPointPatchVectorField.
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.