35 tmp<volVectorField::Internal> tForce
61 const label cello = own[facei];
62 const label celln = nbr[facei];
66 contactCells[cello] =
true;
70 contactCells[celln] =
true;
85 if (
p.coupled() && !wallAndSurfacePatches.found(
patchi))
87 tmp<scalarField> tdeltan = deltaBf[
patchi].patchNeighbourField();
92 const label celli =
p.faceCells()[facei];
96 contactCells[celli] =
true;
108 isA<filmContactAngleFvPatchScalarField>
114 const filmContactAngleFvPatchScalarField& contactAngle
116 refCast<const filmContactAngleFvPatchScalarField>
124 gradDelta.boundaryField()[
patchi]
125 /(
mag(gradDelta.boundaryField()[
patchi]) + rootVSmall)
137 const label celli =
p.faceCells()[facei];
139 if (contactCells[celli])
145 const face&
f(
p.patch()[facei]);
157 n*
sigma[celli]*(1 - cosTheta[facei])*clen/V[celli];
#define forAll(list, i)
Loop across all elements in list.
static tmp< DimensionedField< Type, GeoMesh > > New(const word &name, const Mesh &mesh, const dimensionSet &, const Field< Type > &)
Return a temporary field constructed from name, mesh,.
GeometricBoundaryField< Type, PatchField, GeoMesh > Boundary
Type of the boundary field.
const Boundary & boundaryField() const
Return const-reference to the boundary field.
void size(const label)
Override size to be inconsistent with allocated storage.
const Type & value() const
Return const reference to value.
const DimensionedField< scalar, volMesh > & V() const
Return cell volumes.
const labelUList & owner() const
Internal face owner.
const fvBoundaryMesh & boundary() const
Return reference to boundary mesh.
const labelUList & neighbour() const
Internal face neighbour.
virtual const pointField & points() const
Return raw points.
const fvMesh & mesh
Region mesh.
volScalarField & p
The thermodynamic pressure field.
const volVectorField & U
Reference to the film velocity field.
tmp< volScalarField > sigma() const
Return the film surface tension coefficient field.
const volScalarField & delta
Film thickness.
label surfacePatchID
Film surface patch ID.
dimensionedScalar deltaWet
Film thickness below which the surface is considered dry.
labelList wallPatchIDs
List of film wall patch IDs.
A class for managing temporary objects.
Calculate the gradient of the given field.
const dimensionedScalar sigma
Stefan-Boltzmann constant: default SI units: [W/m^2/K^4].
tmp< VolField< typename outerProduct< vector, Type >::type > > grad(const SurfaceField< Type > &ssf)
VolField< vector > volVectorField
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
vectorField pointField
pointField is a vectorField.
List< bool > boolList
Bool container classes.
const dimensionSet dimForce
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
Vector< scalar > vector
A scalar version of the templated Vector.
const dimensionSet dimVolume
VolField< scalar > volScalarField
dimensioned< scalar > mag(const dimensioned< Type > &)
word typedName(Name name)
Return the name of the object within the given type.
dimensioned< vector > dimensionedVector
Dimensioned vector obtained from generic dimensioned type.
Field< vector > vectorField
Specialisation of Field<T> for vector.
HashSet< label, Hash< label > > labelHashSet
A HashSet with label keys.
UList< label > labelUList