83 #ifndef Foam_waveMakerPointPatchVectorField_H 84 #define Foam_waveMakerPointPatchVectorField_H 98 class waveMakerPointPatchVectorField
100 public fixedValuePointPatchField<vector>
103 typedef fixedValuePointPatchField<vector> parent_bctype;
121 static const Enum<motionTypes> motionTypeNames;
135 scalar initialDepth_;
198 scalar firstTime = 0;
207 virtual scalar waveLength(
const scalar
h,
const scalar
T);
210 virtual scalar timeCoeff(
const scalar t)
const;
213 virtual void initialiseGeometry();
A list of keyword definitions, which are a keyword followed by a number of values (eg...
virtual void write(Ostream &) const
Write.
Foam::pointPatchFieldMapper.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
virtual autoPtr< pointPatchField< vector > > clone() const
No clone without an internal field reference.
friend Ostream & operator(Ostream &, const pointPatchField< vector > &)
Point motion boundary condition to generate waves based on either piston or flap motions.
static autoPtr< pointPatchField< Type > > Clone(const DerivedPatchField &pf, Args &&... args)
Clone a patch field, optionally with internal field reference etc.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
A Vector of values with scalar precision, where scalar is float/double depending on the compilation f...
waveMakerPointPatchVectorField(const pointPatch &, const DimensionedField< vector, pointMesh > &)
Construct from patch and internal field.
const dimensionedScalar h
Planck constant.
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...
tmp< Field< vector > > T() const
Return the field transpose (only defined for second rank tensors)
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
TypeName("waveMaker")
Runtime type information.