mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
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:
@ -58,6 +58,7 @@ fluxRequired
|
||||
{
|
||||
default no;
|
||||
p;
|
||||
Phi;
|
||||
}
|
||||
|
||||
wallDist
|
||||
|
||||
@ -68,6 +68,11 @@ solvers
|
||||
relTol 0;
|
||||
}
|
||||
|
||||
Phi
|
||||
{
|
||||
$p;
|
||||
}
|
||||
|
||||
"(Yi|O2|N2|H2O)"
|
||||
{
|
||||
solver PBiCG;
|
||||
@ -88,7 +93,7 @@ solvers
|
||||
|
||||
potentialFlow
|
||||
{
|
||||
// used for potentialFoam initialisation
|
||||
// Used for potentialFoam initialisation
|
||||
nNonOrthogonalCorrectors 5;
|
||||
}
|
||||
|
||||
|
||||
@ -59,6 +59,7 @@ fluxRequired
|
||||
{
|
||||
default no;
|
||||
p;
|
||||
Phi;
|
||||
}
|
||||
|
||||
wallDist
|
||||
|
||||
@ -37,6 +37,11 @@ solvers
|
||||
maxIter 50;
|
||||
};
|
||||
|
||||
Phi
|
||||
{
|
||||
$p;
|
||||
}
|
||||
|
||||
"(U|Yi|h|k|omega)"
|
||||
{
|
||||
solver smoothSolver;
|
||||
|
||||
Reference in New Issue
Block a user