Skip to content
Snippets Groups Projects
Commit 62c62abd 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 15b36331
Branches
Tags
No related merge requests found
......@@ -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)
{
......
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