levelSet.H File Reference
Include dependency graph for levelSet.H:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 Foam
 Namespace for OpenFOAM.
 

Functions

template<class Type >
tmp< Field< Type > > levelSetAverage (const fvMesh &mesh, const scalarField &levelC, const scalarField &levelP, const Field< Type > &positiveC, const Field< Type > &positiveP, const Field< Type > &negativeC, const Field< Type > &negativeP)
 Calculate the average value of two fields, one on each side of a level set. More...
 
template<class Type >
tmp< Field< Type > > levelSetAverage (const fvPatch &patch, const scalarField &levelF, const scalarField &levelP, const Field< Type > &positiveF, const Field< Type > &positiveP, const Field< Type > &negativeF, const Field< Type > &negativeP)
 As the above overload, but on the faces of a patch. More...
 
template<class Type >
tmp< VolField< Type > > levelSetAverage (const volScalarField &levelC, const pointScalarField &levelP, const VolField< Type > &positiveC, const PointField< Type > &positiveP, const VolField< Type > &negativeC, const PointField< Type > &negativeP)
 As the above overload, but both in cells and on patch faces. More...
 
tmp< scalarFieldlevelSetFraction (const fvMesh &mesh, const scalarField &levelC, const scalarField &levelP, const bool above)
 Calculate the volume-fraction that a level set occupies. This gives the. More...
 
tmp< scalarFieldlevelSetFraction (const fvPatch &patch, const scalarField &levelF, const scalarField &levelP, const bool above)
 As the above overload, but on the faces of a patch. More...
 
tmp< volScalarField > levelSetFraction (const volScalarField &levelC, const pointScalarField &levelP, const bool above)
 As the above overload, but both in cells and on patch faces. More...
 

Detailed Description

Original source file levelSet.H

Description: Functions to create an averaged field from a discontinuous field defined by a level-set.

SourceFiles: levelSet.C levelSetTemplates.C

Definition in file levelSet.H.