diff --git a/applications/solvers/combustion/plasmaReactingFoam/createFields.H b/applications/solvers/combustion/plasmaReactingFoam/createFields.H index 32bdd372..0649f176 100644 --- a/applications/solvers/combustion/plasmaReactingFoam/createFields.H +++ b/applications/solvers/combustion/plasmaReactingFoam/createFields.H @@ -1,3 +1,42 @@ +Info<< "Reading physicalProperties\n" << endl; + +IOdictionary physicalProperties +( + IOobject + ( + "physicalProperties", + runTime.constant(), + mesh, + IOobject::MUST_READ_IF_MODIFIED, + IOobject::NO_WRITE + ) +); + +dimensionedScalar epsilon0 +( + physicalProperties.lookup("epsilon0") +); + +dimensionedScalar k +( + physicalProperties.lookup("k") +); + + +Info<< "Reading field Phi\n" << endl; +volScalarField Phi +( + IOobject + ( + "Phi", + runTime.timeName(), + mesh, + IOobject::MUST_READ, + IOobject::AUTO_WRITE + ), + mesh +); + Info<< "Creating reaction model\n" << endl; autoPtr reaction