fireFoam: New additional controls switch "solvePyrolysisRegion"
provides optional control for solving the pyrolysis region. Patch contributed by Karl Meredith, FMGlobal.
This commit is contained in:
parent
0a01f70653
commit
c8ff51b887
2 changed files with 9 additions and 1 deletions
|
|
@ -121,6 +121,11 @@ Switch solvePrimaryRegion
|
|||
additionalControlsDict.lookup("solvePrimaryRegion")
|
||||
);
|
||||
|
||||
Switch solvePyrolysisRegion
|
||||
(
|
||||
additionalControlsDict.lookupOrDefault<bool>("solvePyrolysisRegion", true)
|
||||
);
|
||||
|
||||
volScalarField dQ
|
||||
(
|
||||
IOobject
|
||||
|
|
|
|||
|
|
@ -87,7 +87,10 @@ int main(int argc, char *argv[])
|
|||
|
||||
surfaceFilm.evolve();
|
||||
|
||||
pyrolysis.evolve();
|
||||
if(solvePyrolysisRegion)
|
||||
{
|
||||
pyrolysis.evolve();
|
||||
}
|
||||
|
||||
if (solvePrimaryRegion)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue