Line data Source code
1 : //* This file is part of the MOOSE framework 2 : //* https://mooseframework.inl.gov 3 : //* 4 : //* All rights reserved, see COPYRIGHT for full restrictions 5 : //* https://github.com/idaholab/moose/blob/master/COPYRIGHT 6 : //* 7 : //* Licensed under LGPL 2.1, please see LICENSE for details 8 : //* https://www.gnu.org/licenses/lgpl-2.1.html 9 : 10 : #pragma once 11 : 12 : #include "SCMClosureBase.h" 13 : #include "SubChannel1PhaseProblem.h" 14 : 15 : /** 16 : * Base class for turbulent mixing closures used in SCM 17 : */ 18 : class SCMMixingClosureBase : public SCMClosureBase 19 : { 20 : public: 21 : static InputParameters validParams(); 22 : 23 : SCMMixingClosureBase(const InputParameters & parameters); 24 : 25 : typedef SubChannel1PhaseProblem::FrictionStruct FrictionStruct; 26 : 27 : /// @brief Computes the turbulent mixing coefficient for the local conditions around gap(i_gap) and axial level(iz) 28 : /// @param i_gap index of the gap 29 : /// @return the mixing coefficient (beta) 30 : virtual Real computeMixingParameter(const unsigned int i_gap, const unsigned int iz) const = 0; 31 : 32 : /// @brief Computes the wire-wrap sweep-flow coefficient for peripheral gaps. 33 : /// @return the sweep-flow coefficient; defaults to zero for closures without sweep flow. 34 : virtual Real computeSweepFlowMixingParameter(const unsigned int i_gap, 35 : const unsigned int iz) const; 36 : 37 : /// Turbulent modeling parameter used in axial momentum equation 38 : const Real _CT; 39 : 40 : /** 41 : * Return the Turbulent modeling parameter 42 : */ 43 288 : virtual Real getCT() const { return _CT; } 44 : };