Go to the documentation of this file.
82 p0_ =
p.localPoints();
143 refCast<const angularOscillatingVelocityPointPatchVectorField>(ptf);
147 p0_.rmap(aOVptf.
p0_, addr);
170 + p0Rel*(
cos(angle) - 1)
171 + (axisHat ^ p0Rel*
sin(angle))
172 + (axisHat & p0Rel)*(1 -
cos(angle))*axisHat
197 p0_.writeEntry(
"p0", os);
198 writeEntry(
"value", os);
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
Foam::angularOscillatingVelocityPointPatchVectorField.
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.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
Mesh consisting of general polyhedral cells.
const pointPatch & patch() const
Return patch.
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.
scalar deltaTValue() const
Return time step value.
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.
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.
angularOscillatingVelocityPointPatchVectorField(const pointPatch &, const DimensionedField< vector, pointMesh > &)
Construct from patch and internal field.
Ostream & writeKeyword(const keyType &)
Write the keyword followed by an appropriate indentation.
virtual void autoMap(const pointPatchFieldMapper &)
Map (and resize as needed) from self given a mapping object.
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,...
virtual void rmap(const pointPatchField< vector > &, const labelList &)
Reverse map the given pointPatchField onto this pointPatchField.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
dimensionedScalar cos(const dimensionedScalar &ds)