plasmaReactingFoam read permittivity electron mobility and electric potential field
This commit is contained in:
parent
67c6ff5c64
commit
de9e5bba8d
1 changed files with 39 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue