36 #ifndef surfactantProperties_H 37 #define surfactantProperties_H 92 bulkConc_(
"bulkConc",
dict),
93 saturatedConc_(
"saturatedConc",
dict),
94 adsorptionCoeff_(
"adsorptionCoeff",
dict),
95 desorptionCoeff_(
"desorptionCoeff",
dict),
96 bulkDiffusion_(
"bulkDiffusion",
dict),
97 diffusion_(
"diffusion",
dict),
98 T_(
"temperature",
dict),
109 soluble_(
dict.
get<
bool>(
"soluble"))
124 return saturatedConc_;
130 return adsorptionCoeff_;
136 return desorptionCoeff_;
142 return bulkDiffusion_;
166 return equilibriumConc_;
186 surfactConc.
mesh().time().timeName(),
187 surfactConc.
mesh().thisDb(),
dimensionedScalar log(const dimensionedScalar &ds)
A list of keyword definitions, which are a keyword followed by a number of values (eg...
const dimensionedScalar & desorptionCoeff() const
Return surfactant desorption coefficient.
A simple wrapper around bool so that it can be read as a word: true/false, on/off, yes/no, any/none. Also accepts 0/1 as a string and shortcuts t/f, y/n.
Switch soluble() const
Is the surfactant soluble.
Ignore writing from objectRegistry::writeObject()
T get(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
Find and return a T. FatalIOError if not found, or if the number of tokens is incorrect.
tmp< areaScalarField > dSigma(const areaScalarField &surfactConc) const
Surface tension change due to presence of surfactants.
const dimensionedScalar & saturatedConc() const
Return saturated surfactant concentration at the free-surface.
const dimensionedScalar & bulkConc() const
Return surfactant concentration in the bulk of fluid.
const dimensionedScalar & adsorptionCoeff() const
Return surfactant adsorption coefficient.
const dimensionedScalar & T() const
Return surfactant temeprature.
static tmp< T > New(Args &&... args)
Construct tmp with forwarding arguments.
const Mesh & mesh() const noexcept
Return mesh.
surfactantProperties(const dictionary &dict)
const dimensionSet dimMoles(0, 0, 0, 0, 1, 0, 0)
const dimensionedScalar & equilibriumConc() const
Return equilibrium surfactant concentration at the free-surface.
const dimensionedScalar & R() const
Return universal gas constant.
const dimensionedScalar & diffusion() const
Return diffusion coefficient of the surfactant at the free-surface.
const dimensionSet dimGasConstant
const dimensionSet dimMass(1, 0, 0, 0, 0, 0, 0)
A class for managing temporary objects.
const dimensionedScalar & bulkDiffusion() const
Return diffusion coefficient of the surfactant in the bulk of fluid.
Defines the attributes of an object for which implicit objectRegistry management is supported...