All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
JanevReactionRate Class Reference

Janev, Langer, Evans and Post reaction rate. More...

Public Member Functions

 JanevReactionRate (const scalar A, const scalar beta, const scalar Ta, const FixedList< scalar, nb_ > b)
 Construct from components. More...
 
 JanevReactionRate (const speciesTable &species, const dictionary &dict)
 Construct from dictionary. More...
 
void preEvaluate () const
 Pre-evaluation hook. More...
 
void postEvaluate () const
 Post-evaluation hook. More...
 
scalar operator() (const scalar p, const scalar T, const scalarField &c, const label li) const
 Return the rate. More...
 
scalar ddT (const scalar p, const scalar T, const scalarField &c, const label li) const
 The derivative of the rate w.r.t. temperature. More...
 
bool hasDdc () const
 Is the rate a function of concentration? More...
 
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. More...
 
void write (Ostream &os) const
 Write to stream. More...
 

Static Public Member Functions

static word type ()
 Return the type name. More...
 

Friends

Ostreamoperator<< (Ostream &, const JanevReactionRate &)
 

Detailed Description

Janev, Langer, Evans and Post reaction rate.

Source files

Definition at line 57 of file JanevReactionRate.H.

Constructor & Destructor Documentation

◆ JanevReactionRate() [1/2]

JanevReactionRate ( const scalar  A,
const scalar  beta,
const scalar  Ta,
const FixedList< scalar, nb_ >  b 
)
inline

Construct from components.

Definition at line 29 of file JanevReactionRateI.H.

◆ JanevReactionRate() [2/2]

JanevReactionRate ( const speciesTable species,
const dictionary dict 
)
inline

Construct from dictionary.

Definition at line 44 of file JanevReactionRateI.H.

Member Function Documentation

◆ type()

static word type ( )
inlinestatic

◆ preEvaluate()

void preEvaluate ( ) const
inline

Pre-evaluation hook.

Definition at line 58 of file JanevReactionRateI.H.

Referenced by JanevReactionRate::type().

Here is the caller graph for this function:

◆ postEvaluate()

void postEvaluate ( ) const
inline

Post-evaluation hook.

Definition at line 62 of file JanevReactionRateI.H.

Referenced by JanevReactionRate::type().

Here is the caller graph for this function:

◆ operator()()

Foam::scalar operator() ( const scalar  p,
const scalar  T,
const scalarField c,
const label  li 
) const
inline

Return the rate.

Definition at line 67 of file JanevReactionRateI.H.

References JanevReactionRate::ddT(), Foam::exp(), Foam::log(), Foam::mag(), n, Foam::pow(), and Foam::T().

Here is the call graph for this function:

◆ ddT()

Foam::scalar ddT ( const scalar  p,
const scalar  T,
const scalarField c,
const label  li 
) const
inline

The derivative of the rate w.r.t. temperature.

Definition at line 102 of file JanevReactionRateI.H.

References Foam::exp(), Foam::log(), Foam::mag(), n, Foam::pow(), and Foam::T().

Referenced by JanevReactionRate::operator()(), and JanevReactionRate::type().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ hasDdc()

bool hasDdc ( ) const
inline

Is the rate a function of concentration?

Definition at line 143 of file JanevReactionRateI.H.

References JanevReactionRate::ddc().

Referenced by JanevReactionRate::type().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ddc()

void ddc ( const scalar  p,
const scalar  T,
const scalarField c,
const label  li,
scalarField ddc 
) const
inline

The derivative of the rate w.r.t. concentration.

Definition at line 150 of file JanevReactionRateI.H.

Referenced by JanevReactionRate::hasDdc(), and JanevReactionRate::type().

Here is the caller graph for this function:

◆ write()

void write ( Ostream os) const
inline

Write to stream.

Definition at line 162 of file JanevReactionRateI.H.

References Foam::nl, and Foam::writeKeyword().

Referenced by JanevReactionRate::type().

Here is the call graph for this function:
Here is the caller graph for this function:

Friends And Related Function Documentation

◆ operator<<

Ostream& operator<< ( Ostream ,
const JanevReactionRate  
)
friend

The documentation for this class was generated from the following files: