Commit c8ff51b8 authored by Henry Weller's avatar Henry Weller
Browse files

fireFoam: New additional controls switch "solvePyrolysisRegion"

provides optional control for solving the pyrolysis region.

Patch contributed by Karl Meredith, FMGlobal.
parent 0a01f706
......@@ -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)
{
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment