pressureControl: Added support for p_rgh
Updated buoyantPimpleFoam to use pressureControl with p_rgh support.
This commit is contained in:
@ -75,7 +75,14 @@ volScalarField p_rgh
|
||||
// Force p_rgh to be consistent with p
|
||||
p_rgh = p - rho*gh;
|
||||
|
||||
pressureControl pressureControl(p, rho, pimple.dict(), false);
|
||||
pressureControl pressureControl
|
||||
(
|
||||
p,
|
||||
p_rgh,
|
||||
rho,
|
||||
pimple.dict(),
|
||||
thermo.incompressible()
|
||||
);
|
||||
|
||||
mesh.setFluxRequired(p_rgh.name());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user