plasmaReactingFoam CSV->DataEntry for flexibility and add Boltzmann constant
This commit is contained in:
parent
af5007eea4
commit
aa319f188e
1 changed files with 19 additions and 3 deletions
|
|
@ -23,24 +23,37 @@ scalar EnFac (
|
|||
physicalProperties.lookupOrDefault("EnFac", 1.0e21)
|
||||
);
|
||||
|
||||
CSV<scalar> mueN("mueN", physicalProperties);
|
||||
|
||||
autoPtr< DataEntry< scalar > > pmueN (
|
||||
DataEntry<scalar>::New("mueN", physicalProperties));
|
||||
const DataEntry<scalar> &mueN(pmueN());
|
||||
|
||||
// Convert mu_e * n_g value from table into SI unit.
|
||||
scalar mueNFac (
|
||||
physicalProperties.lookupOrDefault("mueNFac", 1.0)
|
||||
);
|
||||
|
||||
CSV<scalar> DeN("DeN", physicalProperties);
|
||||
|
||||
autoPtr< DataEntry< scalar > > pDeN (
|
||||
DataEntry<scalar>::New("DeN", physicalProperties));
|
||||
const DataEntry<scalar> &DeN(pDeN());
|
||||
|
||||
// Convert D_e * n_g value from table into SI unit.
|
||||
scalar DeNFac (
|
||||
physicalProperties.lookupOrDefault("DeNFac", 1.0)
|
||||
);
|
||||
|
||||
CSV<scalar> TeOfEn("TeOfEn", physicalProperties);
|
||||
|
||||
autoPtr< DataEntry< scalar > > pTeOfEn(
|
||||
DataEntry<scalar>::New ("TeOfEn", physicalProperties));
|
||||
const DataEntry<scalar> &TeOfEn(pTeOfEn());
|
||||
|
||||
// Convert T_e value from table into SI unit.
|
||||
scalar TeFac (
|
||||
physicalProperties.lookupOrDefault("TeFac", 1.0)
|
||||
);
|
||||
|
||||
|
||||
dictionary wallElectronFlux
|
||||
(
|
||||
physicalProperties.subDict("wallElectronFlux")
|
||||
|
|
@ -114,6 +127,9 @@ const dimensionedScalar NA = constant::physicoChemical::NA;
|
|||
//- Universal gas constant (default in [J/mol/K])
|
||||
const dimensionedScalar R = constant::physicoChemical::R;
|
||||
|
||||
//- Boltzmann constant
|
||||
const dimensionedScalar kB = constant::physicoChemical::k;
|
||||
|
||||
//- Pi
|
||||
const scalar pi = constant::mathematical::pi;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue