33 namespace pairPotentials
57 azizChenCoeffs_(azizChen.
subDict(typeName +
"Coeffs")),
58 epsilon_(azizChenCoeffs_.template lookup<scalar>(
"epsilon")),
59 rm_(azizChenCoeffs_.template lookup<scalar>(
"rm")),
60 A_(azizChenCoeffs_.template lookup<scalar>(
"A")),
61 alpha_(azizChenCoeffs_.template lookup<scalar>(
"alpha")),
62 C6_(azizChenCoeffs_.template lookup<scalar>(
"C6")),
63 C8_(azizChenCoeffs_.template lookup<scalar>(
"C8")),
64 C10_(azizChenCoeffs_.template lookup<scalar>(
"C10")),
65 D_(azizChenCoeffs_.template lookup<scalar>(
"D")),
66 gamma_(azizChenCoeffs_.template lookup<scalar>(
"gamma"))
82 F =
exp(-
pow(((D_ / x) - 1.0),2));
103 azizChenCoeffs_ = azizChen.
subDict(typeName +
"Coeffs");
105 azizChenCoeffs_.
lookup(
"epsilon") >> epsilon_;
106 azizChenCoeffs_.
lookup(
"rm") >> rm_;
107 azizChenCoeffs_.
lookup(
"A") >> A_;
108 azizChenCoeffs_.
lookup(
"alpha") >> alpha_;
109 azizChenCoeffs_.
lookup(
"C6") >> C6_;
110 azizChenCoeffs_.
lookup(
"C8") >> C8_;
111 azizChenCoeffs_.
lookup(
"C10") >> C10_;
112 azizChenCoeffs_.
lookup(
"D") >> D_;
113 azizChenCoeffs_.
lookup(
"gamma") >> gamma_;
azizChen(const word &name, const dictionary &pairPotentialProperties)
Construct from components.
const dimensionedScalar F
Faraday constant: default SI units: [C/mol].
A list of keyword definitions, which are a keyword followed by any number of values (e...
virtual bool read(const dictionary &pairPotentialProperties)=0
Read pairPotential dictionary.
Macros for easy insertion into run-time selection tables.
const dictionary & subDict(const word &) const
Find and return a sub-dictionary.
scalar unscaledEnergy(const scalar r) const
dimensionedScalar exp(const dimensionedScalar &ds)
A class for handling words, derived from string.
bool read(const dictionary &pairPotentialProperties)
Read dictionary.
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
defineTypeNameAndDebug(azizChen, 0)
addToRunTimeSelectionTable(pairPotential, azizChen, dictionary)
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.