53 if (dict.found(
"value"))
102 !faceCellSubset_.valid()
107 faceCellSubset_->setCellSubset(
patch().faceCells());
113 faceCellSubset_->subMesh().tetBasePtIs();
116 return faceCellSubset_();
169 const label fs = is + meshs.
boundary()[patchis].patch().start();
const fvBoundaryMesh & boundaryMesh() const
Return boundaryMesh reference.
bool changing() const
Is mesh changing (topology changing and/or moving)
A wrapper around a list of wave models. Superimposes the modelled values of elevation and velocity...
#define forAll(list, i)
Loop across all elements in list.
virtual tmp< vectorField > UGas(const scalar t, const vectorField &p) const
Get the gas velocity at a given time and global positions.
waveVelocityFvPatchVectorField(const fvPatch &, const DimensionedField< vector, volMesh > &)
Construct from patch and internal field.
const fvMeshSubset & faceCellSubset() const
Access the face-cell subset.
label index() const
Return the index of this patch in the fvBoundaryMesh.
A list of keyword definitions, which are a keyword followed by any number of values (e...
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
bool updated() const
Return true if the boundary condition has already been updated.
tmp< vectorField > Un(const scalar t) const
Return the current modelled velocity field in the neighbour.
T & ref() const
Return non-const reference or generate a fatal error.
void size(const label)
Override size to be inconsistent with allocated storage.
tmp< vectorField > U(const scalar t) const
Return the current modelled velocity field on the patch faces.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
virtual tmp< vectorField > ULiquid(const scalar t, const vectorField &p) const
Get the liquid velocity at a given time and global positions.
volVectorField vectorField(fieldObject, mesh)
const Time & time() const
Return the top-level database.
Macros for easy insertion into run-time selection tables.
const labelList & faceMap() const
Return face map.
virtual void operator==(const fvPatchField< Type > &)
scalar userTimeValue() const
Return current user time value.
virtual const pointField & points() const
Return raw points.
const labelList & patchMap() const
Return patch map.
const fvMesh & subMesh() const
Return reference to subset mesh.
virtual tmp< scalarField > height(const scalar t, const vectorField &p) const
Get the height above the waves at a given time and global positions.
const fvMesh & mesh() const
Return the mesh reference.
const polyPatch & patch() const
Return the polyPatch.
Foam::fvPatchFieldMapper.
This boundary condition provides a waveVelocity condition. This sets the velocity to that specified b...
const vectorField & cellCentres() const
const fvPatch & patch() const
Return patch.
static const waveSuperposition & New(const objectRegistry &db)
Return a reference to the wave model on the given database,.
const Time & time() const
Return time.
tmp< Field< Type > > levelSetAverage(const fvMesh &mesh, const scalarField &levelC, const scalarField &levelP, const Field< Type > &positiveC, const Field< Type > &positiveP, const Field< Type > &negativeC, const Field< Type > &negativeP)
Calculate the average value of two fields, one on each side of a level set.
Post-processing mesh subset tool. Given the original mesh and the list of selected cells...
label findIndex(const ListType &, typename ListType::const_reference, const label start=0)
Find first occurrence of given element and return index,.
label timeIndex() const
Return current time index.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
Mesh data needed to do the Finite Volume discretisation.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
const objectRegistry & db() const
Return local objectRegistry.
ListType subset(const UList< T > &select, const T &value, const ListType &)
Extract elements of List when select is a certain value.
Field< vector > vectorField
Specialisation of Field<T> for vector.
A class for managing temporary objects.
makePatchTypeField(fvPatchScalarField, atmBoundaryLayerInletEpsilonFvPatchScalarField)
label size() const
Return the number of elements in the UList.
label whichFace(const label l) const
Return label of face in patch from global face label.
const fvBoundaryMesh & boundary() const
Return reference to boundary mesh.