35 Vmax_(dict.
lookup<scalar>(
"Vmax")),
36 Km_(dict.
lookup<scalar>(
"Km")),
51 inline Foam::scalar Foam::MichaelisMentenReactionRate::operator()
59 return Vmax_/(Km_ + c[s_]);
91 ddc[s_] = - Vmax_/
sqr(Km_ + c[s_]);
virtual Ostream & write(const char)=0
Write character.
A list of keyword definitions, which are a keyword followed by any number of values (e...
dimensionedSymmTensor sqr(const dimensionedVector &dv)
Michaelis-Menten reaction rate for enzymatic reactions.
void preEvaluate() const
Pre-evaluation hook.
const dimensionedScalar c
Speed of light in a vacuum.
void postEvaluate() const
Post-evaluation hook.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
void writeEntry(Ostream &os, const HashTable< T, Key, Hash > &ht)
void write(Ostream &os) const
Write to stream.
scalar ddT(const scalar p, const scalar T, const scalarField &c, const label li) const
The derivative of the rate w.r.t. temperature.
void ddc(const scalar p, const scalar T, const scalarField &c, const label li, scalarField &ddc) const
The derivative of the rate w.r.t. concentration.
A wordList with hashed indices for faster lookup by name.
MichaelisMentenReactionRate(const speciesTable &species, const dictionary &dict)
Construct from dictionary.
bool hasDdc() const
Is the rate a function of concentration?
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.