fvCorrectPhi.H File Reference

Flux correction functions to ensure continuity. More...

Include dependency graph for fvCorrectPhi.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.
 
 Foam::fv
 Namespace for finite-volume.
 

Functions

void correctUphiBCs (volVectorField &U, surfaceScalarField &phi, const bool evaluateUBCs)
 If the mesh is moving correct the velocity BCs on the moving walls to. More...
 
void correctUphiBCs (const volScalarField &rho, volVectorField &U, surfaceScalarField &phi, const bool evaluateUBCs)
 If the mesh is moving correct the velocity BCs on the moving walls to. More...
 
void correctPhi (surfaceScalarField &phi, const volVectorField &U, const volScalarField &p, const autoPtr< volScalarField > &rAU, const autoPtr< volScalarField > &divU, const pressureReference &pressureReference, nonOrthogonalSolutionControl &pcorrControl)
 
void correctPhi (surfaceScalarField &phi, const volScalarField &p, const volScalarField &psi, const autoPtr< volScalarField > &rAU, const volScalarField &divRhoU, nonOrthogonalSolutionControl &pcorrControl)
 

Detailed Description

Flux correction functions to ensure continuity.

Original source file fvCorrectPhi.H

Function Foam::fv::correctPhi

Required during start-up, restart, mesh-motion etc. when non-conservative fluxes may adversely affect the prediction-part of the solution algorithm (the part before the first pressure solution which would ensure continuity). This is particularly important for VoF and other multi-phase solver in which non-conservative fluxes cause unboundedness of the phase-fraction.

Source files

Definition in file fvCorrectPhi.H.