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