35 namespace pairPotentials
59 azizChenCoeffs_(
azizChen.subDict(typeName +
"Coeffs")),
60 epsilon_(azizChenCoeffs_.
get<scalar>(
"epsilon")),
61 rm_(azizChenCoeffs_.
get<scalar>(
"rm")),
62 A_(azizChenCoeffs_.
get<scalar>(
"A")),
63 alpha_(azizChenCoeffs_.
get<scalar>(
"alpha")),
64 C6_(azizChenCoeffs_.
get<scalar>(
"C6")),
65 C8_(azizChenCoeffs_.
get<scalar>(
"C8")),
66 C10_(azizChenCoeffs_.
get<scalar>(
"C10")),
67 D_(azizChenCoeffs_.
get<scalar>(
"D")),
68 gamma_(azizChenCoeffs_.
get<scalar>(
"gamma"))
105 azizChenCoeffs_ =
azizChen.subDict(typeName +
"Coeffs");
107 azizChenCoeffs_.
readEntry(
"epsilon", epsilon_);
110 azizChenCoeffs_.
readEntry(
"alpha", alpha_);
115 azizChenCoeffs_.
readEntry(
"gamma", gamma_);
List< ReturnType > get(const UPtrList< T > &list, const AccessOp &aop)
List of values generated by applying the access operation to each list item.
azizChen(const word &name, const dictionary &pairPotentialProperties)
Construct from components.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
virtual bool read(const dictionary &pairPotentialProperties)=0
Read pairPotential dictionary.
Macros for easy insertion into run-time selection tables.
bool readEntry(const word &keyword, T &val, enum keyType::option matchOpt=keyType::REGEX, IOobjectOption::readOption readOpt=IOobjectOption::MUST_READ) const
Find entry and assign to T val. FatalIOError if it is found and the number of tokens is incorrect...
scalar unscaledEnergy(const scalar r) const
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for expressions::valueTypeCode::INVALID.
dimensionedScalar exp(const dimensionedScalar &ds)
A class for handling words, derived from Foam::string.
bool read(const dictionary &pairPotentialProperties)
Read dictionary.
volVectorField F(fluid.F())
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
defineTypeNameAndDebug(azizChen, 0)
addToRunTimeSelectionTable(pairPotential, azizChen, dictionary)