Go to the documentation of this file.
55 #ifndef isoAdvection_H
56 #define isoAdvection_H
109 scalar advectionTime_;
134 bool gradAlphaBasedNormal_;
138 bool writeIsoFacesToFile_;
196 void timeIntegratedFlux();
200 void setCellVertexValues
208 void normaliseAndSmooth
215 void setDownwindFaces
242 bool isASurfaceCell(
const label celli)
const
246 surfCellTol_ < alpha1In_[celli]
247 && alpha1In_[celli] < 1 - surfCellTol_
252 void clearIsoFaceData()
268 checkBounding_ =
false;
269 cellIsBounded_ =
false;
277 template<
typename Type>
285 template<
typename Type>
305 void checkIfOnProcPatch(
const label facei);
377 return advectionTime_;
virtual ~isoAdvection()=default
Destructor.
bool topoChanging() const
Is mesh topology changing.
TypeName("isoAdvection")
Runtime type information.
void writeSurfaceCells() const
Return cellSet of surface cells.
A bitSet stores bits (elements with only two states) in packed internal format and supports a variety...
dimensionedScalar deltaT() const
Return time step.
A class for managing temporary objects.
Calculates the new VOF (alpha) field after time step dt given the initial VOF field and a velocity fi...
void applyBruteForceBounding()
Apply the bounding based on user inputs.
const volScalarField & alpha1
tmp< surfaceScalarField > getRhoPhi(const dimensionedScalar rho1, const dimensionedScalar rho2) const
Return mass flux.
void resize(const label nElem, const unsigned int val=0u)
Reset addressable list size, does not shrink the allocated size.
void writeIsoFaces(const DynamicList< List< point >> &isoFacePts) const
Write isoface points to .obj file.
Class for cutting a cell, celli, of an fvMesh, mesh_, at its intersection with an isosurface defined ...
scalar advectionTime() const
label nCells() const
Number of mesh cells.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Generic templated field type.
Macro definitions for declaring ClassName(), NamespaceName(), etc.
void clear()
Clear the addressed list, i.e. set the size to zero.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Mesh data needed to do the Finite Volume discretisation.
const dictionary & dict() const
Return the controls dictionary.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
Class for cutting a face, faceI, of an fvMesh, mesh_, at its intersection with an isosurface defined ...
label nPoints() const
Number of mesh points.
const volScalarField & alpha() const
Return alpha field.
const Time & time() const
Return the top-level database.
void advect()
Advect the free surface. Updates alpha field, taking into account.
void writeBoundedCells() const
Return cellSet of bounded cells.