129 scalar advectionTime_;
148 bool writeIsoFacesToFile_;
174 bool porosityEnabled_;
202 void extendMarkedCells(
bitSet& markedCell)
const;
204 void setProcessorPatches();
207 void timeIntegratedFlux();
211 void setDownwindFaces
218 template <
class SpType,
class SuType >
226 template <
class SpType,
class SuType >
229 const bitSet& nextToInterface,
246 bool isASurfaceCell(
const label celli)
const
250 surfCellTol_ < alpha1In_[celli]
251 && alpha1In_[celli] < 1 - surfCellTol_
256 void clearIsoFaceData()
270 template<
typename Type>
278 template<
typename Type>
294 bool returnSyncedFaces=
false
299 void checkIfOnProcPatch(
const label facei);
302 void applyBruteForceBounding();
329 template <
class SpType,
class SuType >
330 void advect(
const SpType&
Sp,
const SuType&
Su);
399 return advectionTime_;
const volScalarField & alpha1
A 1D vector of objects of type <T> that resizes itself as necessary to accept the new objects.
void clear() noexcept
Clear the addressed list, i.e. set the size to zero.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
dimensionedScalar deltaT() const
Return time step.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
A bitSet stores bits (elements with only two states) in packed internal format and supports a variety...
Calculates the face fluxes.
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 Time & time() const
Return the top-level database.
An implementation of the isoAdvector geometric Volume-of-Fluid method advancing the provided volume f...
TypeName("isoAdvection")
Runtime type information.
reconstructionSchemes & surf() noexcept
Return reconstructionSchemes.
void writeIsoFaces(const DynamicList< List< point > > &isoFacePts) const
Write isoface points to .obj file.
const volScalarField & alpha() const noexcept
Return alpha field.
scalar advectionTime() const noexcept
time spend in the advection step
tmp< surfaceScalarField > getRhoPhi(const volScalarField &rho1, const volScalarField &rho2)
Return mass flux.
const dictionary & dict() const noexcept
Return the controls dictionary.
const surfaceScalarField & alphaPhi() const noexcept
reference to alphaPhi
tmp< surfaceScalarField > getRhoPhi(const dimensionedScalar rho1, const dimensionedScalar rho2) const
Return mass flux.
virtual ~isoAdvection()=default
Destructor.
void writeSurfaceCells() const
Return cellSet of surface cells.
void advect(const SpType &Sp, const SuType &Su)
Advect the free surface. Updates alpha field, taking into account.
Original code supplied by Henning Scheufler, DLR (2019)
A class for managing temporary objects.
Macro definitions for declaring ClassName(), NamespaceName(), etc.
static tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > interpolate(const GeometricField< Type, fvPatchField, volMesh > &tvf, const surfaceScalarField &faceFlux, Istream &schemeData)
Interpolate field onto faces using scheme given by Istream.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.