CorrectPhi.H File Reference

Flux correction functions to ensure continuity. More...

Include dependency graph for CorrectPhi.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 | |

template<class RAUfType > | |

void | CorrectPhi (surfaceScalarField &phi, const volVectorField &U, const volScalarField &p, const RAUfType &rAU, const autoPtr< volScalarField > &divU, const pressureReference &pressureReference, nonOrthogonalSolutionControl &pcorrControl) |

template<class RAUfType > | |

void | CorrectPhi (surfaceScalarField &phi, const volScalarField &p, const volScalarField &psi, const RAUfType &rAU, const volScalarField &divRhoU, nonOrthogonalSolutionControl &pcorrControl) |

Flux correction functions to ensure continuity.

**Original source file** CorrectPhi.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 CorrectPhi.H.