All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Namespaces | Functions
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< DimensionedField< Type, volMesh > > levelSetAverage (const fvMesh &mesh, const scalarField &levelC, const scalarField &levelP, const DimensionedField< Type, volMesh > &positiveC, const DimensionedField< Type, pointMesh > &positiveP, const DimensionedField< Type, volMesh > &negativeC, const DimensionedField< Type, pointMesh > &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...
 
tmp< DimensionedField< scalar, volMesh > > levelSetFraction (const fvMesh &mesh, const scalarField &levelC, const scalarField &levelP, const bool above)
 Calculate the volume-fraction that a level set occupies. This gives the the. More...
 
tmp< scalarFieldlevelSetFraction (const fvPatch &patch, const scalarField &levelF, const scalarField &levelP, const bool above)
 As the above oveload, but on the faces of a patch. 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.