From b5071526b7acb4c6f18e7466973575155d2b1f76 Mon Sep 17 00:00:00 2001 From: ignis Date: Sun, 9 Oct 2016 19:59:07 +0900 Subject: [PATCH] plasmaReacingFoam remove k in physicalProperties and add constants me and pi --- .../combustion/plasmaReactingFoam/createFields.H | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/applications/solvers/combustion/plasmaReactingFoam/createFields.H b/applications/solvers/combustion/plasmaReactingFoam/createFields.H index 06cd1407..8fe9826e 100644 --- a/applications/solvers/combustion/plasmaReactingFoam/createFields.H +++ b/applications/solvers/combustion/plasmaReactingFoam/createFields.H @@ -17,11 +17,6 @@ dimensionedScalar epsilon0 physicalProperties.lookup("epsilon0") ); -dimensionedScalar k -( - physicalProperties.lookup("k") -); - CSV mueN("mueN", physicalProperties); CSV DeN("DeN", physicalProperties); CSV TeOfEn("TeOfEn", physicalProperties); @@ -56,13 +51,21 @@ thermo.validate(args.executable(), "h", "e"); volScalarField& qc = thermo.qc(); basicMultiComponentMixture& composition = thermo.composition(); +//- Electron mass (default in [kg]) +const dimensionedScalar eMass = constant::atomic::me; + //- Elementary charge (default in [C]) const dimensionedScalar eCharge = constant::electromagnetic::e; + //- Avogadro number (default in [1/mol]) const dimensionedScalar NA = constant::physicoChemical::NA; + //- Universal gas constant (default in [J/mol/K]) const dimensionedScalar R = constant::physicoChemical::R; +//- Pi +const scalar pi = constant::mathematical::pi; + PtrList& Y = composition.Y(); word inertSpecie(thermo.lookup("inertSpecie"));