mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: Updated porousSimpleFoam after porosity model updates
This commit is contained in:
@ -1,9 +1,9 @@
|
||||
porousZones pZones(mesh);
|
||||
IOporosityModelList pZones(mesh);
|
||||
Switch pressureImplicitPorosity(false);
|
||||
|
||||
// nUCorrectors used for pressureImplicitPorosity
|
||||
int nUCorr = 0;
|
||||
if (pZones.size())
|
||||
if (pZones.active())
|
||||
{
|
||||
// nUCorrectors for pressureImplicitPorosity
|
||||
nUCorr = simple.dict().lookupOrDefault<int>("nUCorrectors", 0);
|
||||
|
||||
@ -33,7 +33,7 @@ Description
|
||||
#include "fvCFD.H"
|
||||
#include "singlePhaseTransportModel.H"
|
||||
#include "RASModel.H"
|
||||
#include "porousZones.H"
|
||||
#include "IOporosityModelList.H"
|
||||
#include "simpleControl.H"
|
||||
#include "IObasicSourceList.H"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user