diff --git a/applications/solvers/rcfdemSolverRhoSteadyPimpleChem/createFields.H b/applications/solvers/rcfdemSolverRhoSteadyPimpleChem/createFields.H index 5f46cad5..c0ac42dc 100644 --- a/applications/solvers/rcfdemSolverRhoSteadyPimpleChem/createFields.H +++ b/applications/solvers/rcfdemSolverRhoSteadyPimpleChem/createFields.H @@ -24,15 +24,15 @@ Info<< "Reading thermophysical properties\n" << endl; volScalarField W(thermo.W()); #endif - bool propagateInertSpecie = true; + bool propagateInertSpecie(thermo.lookupOrDefault("propagateInertSpecie",true)); - const word inertSpecie(thermo.lookup("inertSpecie")); + const word inertSpecie(thermo.lookupOrDefault("inertSpecie","none")); const scalar inertLowerBound(thermo.lookupOrDefault("inertLowerBound",0.0)); const scalar inertUpperBound(thermo.lookupOrDefault("inertUpperBound",1.0)); - if (!composition.contains(inertSpecie)) + if (!composition.contains(inertSpecie) && inertSpecie != "none") { FatalErrorIn(args.executable()) << "Specified inert specie '" << inertSpecie << "' not found in "