Go to the documentation of this file.
57 #ifndef isoAdvection_H
58 #define isoAdvection_H
116 scalar advectionTime_;
133 bool writeIsoFacesToFile_;
183 void timeIntegratedFlux();
187 void setDownwindFaces
194 template <
class SpType,
class SuType >
202 template <
class SpType,
class SuType >
222 bool isASurfaceCell(
const label celli)
const
226 surfCellTol_ < alpha1In_[celli]
227 && alpha1In_[celli] < 1 - surfCellTol_
232 void clearIsoFaceData()
246 template<
typename Type>
254 template<
typename Type>
270 bool returnSyncedFaces=
false
275 void checkIfOnProcPatch(
const label facei);
303 template <
class SpType,
class SuType >
304 void advect(
const SpType&
Sp,
const SuType&
Su);
376 return advectionTime_;
virtual ~isoAdvection()=default
Destructor.
TypeName("isoAdvection")
Runtime type information.
void writeSurfaceCells() const
Return cellSet of surface cells.
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...
const surfaceScalarField & alphaPhi() const
reference to alphaPhi
void applyBruteForceBounding()
Apply the bounding based on user inputs.
void advect(const SpType &Sp, const SuType &Su)
Advect the free surface. Updates alpha field, taking into account.
const volScalarField & alpha1
tmp< surfaceScalarField > getRhoPhi(const dimensionedScalar rho1, const dimensionedScalar rho2) const
Return mass flux.
void writeIsoFaces(const DynamicList< List< point >> &isoFacePts) const
Write isoface points to .obj file.
scalar advectionTime() const
time spend in the advection step
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.
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.
reconstructionSchemes & surf()
Return reconstructionSchemes.
Calculates the face fluxes.
const dictionary & dict() const
Return the controls dictionary.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
const volScalarField & alpha() const
Return alpha field.
const Time & time() const
Return the top-level database.
Original code supplied by Henning Scheufler, DLR (2019)
Generic GeometricField class.