cosine Class Reference

Cosine wall heat flux partitioning model. More...

Inheritance diagram for cosine:
Collaboration diagram for cosine:

Public Member Functions

 TypeName ("cosine")
 Runtime type information. More...
 
 cosine (const dictionary &dict)
 Construct from a dictionary. More...
 
 cosine (const cosine &model)
 Copy construct. More...
 
virtual autoPtr< partitioningModelclone () const
 Construct and return a clone. More...
 
virtual ~cosine ()
 Destructor. More...
 
virtual tmp< scalarFieldwetFraction (const scalarField &alphaLiquid) const
 Return the wet fraction. More...
 
virtual tmp< volScalarFieldwetFraction (const volScalarField &alphaLiquid) const
 Return the wet fraction. More...
 
virtual void write (Ostream &os) const
 Write to stream. More...
 
template<class ScalarFieldType >
Foam::tmp< ScalarFieldType > calculate (const ScalarFieldType &alphaLiquid) const
 
- 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 ()
 Construct null. More...
 
 partitioningModel (const partitioningModel &)
 Copy construct. More...
 
virtual ~partitioningModel ()
 Destructor. More...
 
void operator= (const partitioningModel &)=delete
 Disallow default bitwise assignment. More...
 

Additional Inherited Members

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

Detailed Description

Cosine wall heat flux partitioning model.

Proposed threshold liquid fractions:

  • alphaLiquid1 0.1
  • alphaLiquid0 0.05
    Tentner, A., Lo, S., & Kozlov, V. (2006).
    Advances in computational fluid dynamics modeling
    of two-phase flow in boiling water reactor fuel assemblies.
    In International Conference of Nuclear Engineering,
    Miami, Florida, USA.
Source files

Definition at line 64 of file cosine.H.

Constructor & Destructor Documentation

◆ cosine() [1/2]

cosine ( const dictionary dict)

Construct from a dictionary.

Definition at line 80 of file cosine.C.

Referenced by cosine::clone().

Here is the caller graph for this function:

◆ cosine() [2/2]

cosine ( const cosine model)

Copy construct.

Definition at line 91 of file cosine.C.

◆ ~cosine()

~cosine ( )
virtual

Destructor.

Definition at line 104 of file cosine.C.

Member Function Documentation

◆ TypeName()

TypeName ( "cosine"  )

Runtime type information.

◆ clone()

virtual autoPtr<partitioningModel> clone ( ) const
inlinevirtual

Construct and return a clone.

Implements partitioningModel.

Definition at line 102 of file cosine.H.

References cosine::cosine().

Here is the call graph for this function:

◆ wetFraction() [1/2]

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

Return the wet fraction.

Implements partitioningModel.

Definition at line 111 of file cosine.C.

References Foam::fvPatchDistWave::calculate().

Here is the call graph for this function:

◆ wetFraction() [2/2]

Foam::tmp< Foam::volScalarField > wetFraction ( const volScalarField alphaLiquid) const
virtual

Return the wet fraction.

Implements partitioningModel.

Definition at line 121 of file cosine.C.

References Foam::fvPatchDistWave::calculate().

Here is the call graph for this function:

◆ write()

void write ( Ostream os) const
virtual

Write to stream.

Reimplemented from partitioningModel.

Definition at line 130 of file cosine.C.

References partitioningModel::write(), and Foam::writeEntry().

Here is the call graph for this function:

◆ calculate()

Foam::tmp<ScalarFieldType> calculate ( const ScalarFieldType &  alphaLiquid) const

Definition at line 53 of file cosine.C.

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

Here is the call graph for this function:

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