plasmaReactingFoam read permittivity electron mobility and electric potential field

This commit is contained in:
ignis 2015-11-24 14:51:09 +09:00
parent 67c6ff5c64
commit de9e5bba8d

View file

@ -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<combustionModels::psiCombustionModel> reaction