cosine Class Reference

A cosine model for wall heat flux partitioning based on Tentner et al. (2006) for boiling flows. More...

Inheritance diagram for cosine:
[legend]
Collaboration diagram for cosine:
[legend]

Public Member Functions

 TypeName ("cosine")
 Runtime type information. More...
 
 cosine (const dictionary &dict)
 Construct from a dictionary. More...
 
virtual ~cosine ()=default
 Destructor. More...
 
virtual tmp< scalarFieldfLiquid (const scalarField &alphaLiquid) const
 Calculate and return the wall heat-flux partitioning. More...
 
virtual void write (Ostream &os) const
 Write. More...
 
- Public Member Functions inherited from partitioningModel
 TypeName ("partitioningModel")
 Runtime type information. More...
 
 declareRunTimeSelectionTable (autoPtr, partitioningModel, dictionary,(const dictionary &dict),(dict))
 Declare runtime construction. More...
 
 partitioningModel ()=default
 Default construct. More...
 
virtual ~partitioningModel ()=default
 Destructor. More...
 
virtual tmp< scalarFieldfLiquid (const scalarField &alphaLiquid) const =0
 Calculate and return the wall heat-flux partitioning. More...
 
virtual void write (Ostream &os) const
 Write. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from partitioningModel
static autoPtr< partitioningModelNew (const dictionary &dict)
 Select default constructed. More...
 

Detailed Description

A cosine model for wall heat flux partitioning based on Tentner et al. (2006) for boiling flows.

Reference:

    Tentner, A., Lo, S., Ioilev, A., Samigulin, M.,
    Ustinenko, V., Melnikov, V., Kozlov, V. (2006).
    Advances in computational fluid dynamics modeling
    of two phase flow in a boiling water reactor fuel assembly.
    In: Proc. Int. Conf. Nuclear Engineering ICONE-14.
    Miami, Florida, USA, July 17–20.
Usage
Example of the model specification:
partitioningModel
{
    // Mandatory entries
    type            cosine;
    alphaLiquid1    <scalar>;
    alphaLiquid0    <scalar>;
}

where the entries mean:

Property Description Type Reqd Deflt
type Type name: cosine word yes -
alphaLiquid1

Model parameters for threshold liquid phase fraction

scalar yes -
alphaLiquid0

Model parameters for threshold liquid phase fraction

scalar yes -
Note
  • Proposed threshold liquid fractions:
  • alphaLiquid1 0.1
  • alphaLiquid0 0.05
Source files

Definition at line 121 of file cosine.H.

Constructor & Destructor Documentation

◆ cosine()

cosine ( const dictionary dict)

Construct from a dictionary.

Definition at line 54 of file cosine.C.

◆ ~cosine()

virtual ~cosine ( )
virtualdefault

Destructor.

Member Function Documentation

◆ TypeName()

TypeName ( "cosine"  )

Runtime type information.

◆ fLiquid()

Foam::tmp< Foam::scalarField > fLiquid ( const scalarField alphaLiquid) const
virtual

Calculate and return the wall heat-flux partitioning.

Implements partitioningModel.

Definition at line 66 of file cosine.C.

References Foam::cos(), Foam::neg(), Foam::constant::mathematical::pi(), and Foam::pos0().

Here is the call graph for this function:

◆ write()

void write ( Ostream os) const
virtual

Write.

Reimplemented from partitioningModel.

Definition at line 92 of file cosine.C.

References os(), and ObukhovLength::write().

Here is the call graph for this function:

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