39 surfaceInterpolationScheme<scalar>::addMeshFluxConstructorToTable<MPLIC>
65 const label facei = cFaces[i];
66 const scalar phiSigni =
sign(phi[facei]);
70 (own[facei] == celli && phiSigni == 1)
71 || (own[facei] != celli && phiSigni == -1)
74 alphaf[facei] = cellAlphaf[i];
75 correctedFaces[facei] =
true;
86 const bool unweighted,
147 if (alpha[celli] < (1 - tol) && alpha[celli] > tol)
161 if (cutCell.matchAlpha(cellInfo))
182 forAll(correctedFaces, facei)
184 if (correctedFaces[facei])
186 initAlphaf[facei] = alphaf[facei];
251 return surfaceAlpha(vf, phi_, spicedTvff,
true, 1
e-6);
dimensionedScalar sign(const dimensionedScalar &ds)
static word group(const word &name)
Return group (extension part of name)
tmp< GeometricField< Type, pointPatchField, pointMesh > > interpolate(const GeometricField< Type, fvPatchField, volMesh > &) const
Interpolate volField using inverse distance weighting.
#define forAll(list, i)
Loop across all elements in list.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
const Boundary & boundaryField() const
Return const-reference to the boundary field.
Cell-face mesh analysis engine.
bool interpolate(const vector &p1, const vector &p2, const vector &o, vector &n, scalar l)
T & ref() const
Return non-const reference or generate a fatal error.
static tmp< GeometricField< scalar, fvsPatchField, surfaceMesh > > New(const word &name, const Internal &, const PtrList< fvsPatchField< scalar >> &)
Return a temporary field constructed from name,.
void setCellAlphaf(const label celli, const scalarField &phi, scalarField &alphaf, boolList &correctedFaces, const DynamicList< scalar > &cellAlphaf, const fvMesh &mesh) const
Set alphaPhi for the faces of the given cell.
const cellList & cells() const
static word timeName(const scalar, const int precision=precision_)
Return time name of given scalar time.
const dimensionSet dimless
Holds information regarding type of cell. Used in inside/outside determination in cellClassification...
const Time & time() const
Return the top-level database.
Provides local cell addressing for geometry and data for MPLIC class.
const Type & lookupObject(const word &name) const
Lookup and return the object of the given Type.
tmp< surfaceScalarField > surfaceAlpha(const volScalarField &alpha, const surfaceScalarField &phi, scalarField &spicedTvff, const bool unweighted, const scalar tol, const bool isMPLIC=true) const
Return alpha interpolation.
Class performs geometric matching of volume fraction and calculates surface interpolation of volume f...
virtual tmp< surfaceScalarField > interpolate(const GeometricField< scalar, fvPatchField, volMesh > &vf) const
Return the face-interpolate of the given cell field.
surfaceInterpolationScheme< scalar >::addMeshFluxConstructorToTable< MPLIC > addMPLICScalarMeshFluxConstructorToTable_
static word groupName(Name name, const word &group)
virtual const labelList & faceOwner() const
Return face owner.
const Mesh & mesh() const
Return mesh.
defineTypeNameAndDebug(combustionModel, 0)
static volPointInterpolation & New(fvMesh &mesh)
Boundary & boundaryFieldRef()
Return a reference to the boundary field.
Upwind differencing scheme class.
Mesh data needed to do the Finite Volume discretisation.
tmp< Field< Type > > splice() const
Splice the sliced field and return the complete field.
const doubleScalar e
Elementary charge.
A class for managing temporary objects.
static const word & calculatedType()
Return the type of the calculated for of fvsPatchField.
Specialisation of GeometricField which holds slices of given complete fields in a form that they act ...
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
const fvBoundaryMesh & boundary() const
Return reference to boundary mesh.