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 2edacf0ceb
commit cdadf4865d
16 changed files with 129 additions and 98 deletions

View File

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