Loading...
Searching...
No Matches
cosine Class Reference

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

#include <cosine.H>

Inheritance diagram for cosine:
Collaboration diagram for cosine:

Public Member Functions

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

Additional Inherited Members

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

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 117 of file cosine.H.

Constructor & Destructor Documentation

◆ cosine()

cosine ( const dictionary & dict)

Construct from a dictionary.

Definition at line 47 of file cosine.C.

References dict, and partitioningModel::partitioningModel().

Here is the call graph for this function:

◆ ~cosine()

virtual ~cosine ( )
virtualdefault

Destructor.

References os().

Here is the call graph for this function:

Member Function Documentation

◆ TypeName()

TypeName ( "cosine" )

Runtime type information.

References dict.

◆ fLiquid()

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

Calculate and return the wall heat-flux partitioning.

Implements partitioningModel.

Definition at line 59 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 85 of file cosine.C.

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

Here is the call graph for this function:

The documentation for this class was generated from the following files:
  • src/phaseSystemModels/reactingEuler/multiphaseSystem/derivedFvPatchFields/wallBoilingSubModels/partitioningModels/cosine/cosine.H
  • src/phaseSystemModels/reactingEuler/multiphaseSystem/derivedFvPatchFields/wallBoilingSubModels/partitioningModels/cosine/cosine.C