37 #ifndef reconstructionSchemes_H 38 #define reconstructionSchemes_H 215 return reconstructionSchemesCoeffs_;
221 return reconstructionSchemesCoeffs_;
225 virtual void reconstruct(
bool forceUpdate =
true) = 0;
Original code supplied by Henning Scheufler, DLR (2019)
Pair< label > timeIndexAndIter_
Store timeindex/iteration to avoid multiple reconstruction.
const labelList & meshCells() const
For every face, the original cell in mesh.
static autoPtr< reconstructionSchemes > New(volScalarField &alpha1, const surfaceScalarField &phi, const volVectorField &U, const dictionary &dict)
Return a reference to the selected phaseChange model.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
volVectorField centre_
Interface centres.
const DynamicField< label > & interfaceLabels() const noexcept
List of cells with an interface.
GeometricField< vector, fvPatchField, volMesh > volVectorField
boolList interfaceCell_
Is interface cell?
IOdictionary is derived from dictionary and IOobject to give the dictionary automatic IO functionalit...
reconstructionSchemes(const reconstructionSchemes &)=delete
No copy construct.
fileName::Type type(const fileName &name, const bool followLink=true)
Return the file type: DIRECTORY or FILE, normally following symbolic links.
const volVectorField & normal() const noexcept
const-Reference to interface normals
volVectorField normal_
Interface area normals.
A class for handling words, derived from Foam::string.
MeshedSurface< face > meshedSurface
interface surface()
Generated interface surface points/faces.
volScalarField & alpha1_
Reference to the VoF Field.
interface(const pointField &pointLst, const faceList &faceLst, const labelList &meshCells)
virtual ~reconstructionSchemes()=default
Destructor.
Basic run-time type information using word as the type's name. Used to enhance the standard RTTI to c...
List< surfZone > surfZoneList
List of surfZone.
bool alreadyReconstructed(bool forceUpdate=true) const
Is the interface already up-to-date?
DynamicField< label > interfaceLabels_
List of cell labels that have an interface.
const surfaceScalarField & phi_
Reference to the face fluxes.
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
Macros to ease declaration of run-time selection tables.
declareRunTimeSelectionTable(autoPtr, reconstructionSchemes, components,(volScalarField &alpha1, const surfaceScalarField &phi, const volVectorField &U, const dictionary &dict),(alpha1, phi, U, dict))
virtual void mapAlphaField() const
Map VoF Field in case of refinement.
virtual void reconstruct(bool forceUpdate=true)=0
Reconstruct the interface.
dictionary & modelDict() noexcept
Access to the model dictionary.
const boolList & interfaceCell() const noexcept
Does the cell contain interface.
const volVectorField & U_
Reference to the velocity field.
TypeName("reconstructionSchemes")
Runtime type information.
const volVectorField & centre() const noexcept
const-Reference to interface centres
void operator=(const reconstructionSchemes &)=delete
No copy assignment.
const volScalarField & alpha1