111 #ifndef waveVelocityFvPatchVectorField_H 112 #define waveVelocityFvPatchVectorField_H 128 class waveVelocityFvPatchVectorField
130 public directionMixedFvPatchVectorField
141 const Switch inletOutlet_;
144 const waveSuperposition waves_;
147 mutable autoPtr<fvMeshSubset> faceCellSubset_;
150 mutable label faceCellSubsetTimeIndex_;
165 const DimensionedField<vector, volMesh>&
172 const DimensionedField<vector, volMesh>&,
181 const DimensionedField<vector, volMesh>&,
182 const fvPatchFieldMapper&
A wrapper around a list of wave models. Superimposes the modelled values of elevation and velocity...
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
waveVelocityFvPatchVectorField(const fvPatch &, const DimensionedField< vector, volMesh > &)
Construct from patch and internal field.
const fvMeshSubset & faceCellSubset() const
Access the face-cell subset.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
virtual void write(Ostream &) const
Write.
virtual tmp< fvPatchVectorField > clone() const
Construct and return a clone.
const word & pName() const
Access the name of the pressure field.
A class for handling words, derived from string.
TypeName("waveVelocity")
Runtime type information.
This boundary condition provides a waveVelocity condition. This sets the velocity to that specified b...
An Ostream is an abstract base class for all output systems (streams, files, token lists...
Post-processing mesh subset tool. Given the original mesh and the list of selected cells...
tmp< vectorField > Un() const
Return the current modelled velocity field in the neighbour cell.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
const waveSuperposition & waves() const
Access the wave models.
A class for managing temporary objects.
tmp< vectorField > U() const
Return the current modelled velocity field on the patch faces.