potentialFoam: Solve for velocity potential named Phi rather than using the pressure field for this purpose

The Phi field is read if available otherwise created automatically with
boundary conditions obtained automatically from the pressure field if
available (with optional name) otherwise inferred from the velocity
field.  Phi Laplacian scheme and solver specification are required.  See
tutorials for examples.
This commit is contained in:
Henry
2015-02-14 11:03:37 +00:00
parent 1edf292c00
commit 4129560601
16 changed files with 129 additions and 98 deletions

View File

@ -48,7 +48,7 @@ snGradSchemes
fluxRequired
{
default no;
p ;
Phi ;
}

View File

@ -17,7 +17,7 @@ FoamFile
solvers
{
p
Phi
{
solver PCG;
preconditioner DIC;