Go to the documentation of this file.
82 p0_ =
p.localPoints();
143 refCast<const angularOscillatingDisplacementPointPatchVectorField>(ptf);
147 p0_.rmap(aODptf.
p0_, addr);
167 p0Rel*(
cos(angle) - 1)
168 + (axisHat ^ p0Rel*
sin(angle))
169 + (axisHat & p0Rel)*(1 -
cos(angle))*axisHat
192 p0_.writeEntry(
"p0", os);
193 writeEntry(
"value", os);
Foam::angularOscillatingDisplacementPointPatchVectorField.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
dimensionedScalar sin(const dimensionedScalar &ds)
friend Ostream & operator(Ostream &, const Field< Type > &)
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.
const Type & value() const
Return const reference to value.
Basic pointPatch represents a set of points from the mesh.
dimensioned< scalar > mag(const dimensioned< Type > &)
virtual void write(Ostream &) const
Write.
Mesh consisting of general polyhedral cells.
Foam::pointPatchFieldMapper.
Field< vector > vectorField
Specialisation of Field<T> for vector.
makePointPatchTypeField(pointPatchVectorField, solidBodyMotionDisplacementPointPatchVectorField)
bool found(const word &, bool recursive=false, bool patternMatch=true) const
Search dictionary for given keyword.
Pre-declare SubField and related Field type.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
virtual void write(Ostream &) const
Write.
virtual void autoMap(const pointPatchFieldMapper &)
Map (and resize as needed) from self given a mapping object.
virtual void rmap(const pointPatchField< vector > &, const labelList &)
Reverse map the given pointPatchField onto this pointPatchField.
A list of keyword definitions, which are a keyword followed by any number of values (e....
Macros for easy insertion into run-time selection tables.
virtual void autoMap(const pointPatchFieldMapper &)
Map (and resize as needed) from self given a mapping object.
bool updated() const
Return true if the boundary condition has already been updated.
angularOscillatingDisplacementPointPatchVectorField(const pointPatch &, const DimensionedField< vector, pointMesh > &)
Construct from patch and internal field.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
bool readScalar(const char *buf, doubleScalar &s)
Read whole of buf as a scalar. Return true if succesful.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
virtual void rmap(const pointPatchField< Type > &, const labelList &)
Reverse map the given PointPatchField onto.
Ostream & writeKeyword(const keyType &)
Write the keyword followed by an appropriate indentation.
const DimensionedField< Type, pointMesh > & dimensionedInternalField() const
Return dimensioned internal field reference.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
dimensionedScalar cos(const dimensionedScalar &ds)