https://mooseframework.inl.gov
Loading...
Searching...
No Matches
SCMMixingKimAndChung.h
Go to the documentation of this file.
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
13
14class SubChannelMesh;
15
21{
22public:
24
26
27 virtual Real computeMixingParameter(const unsigned int i_gap,
28 const unsigned int iz) const override;
29
30protected:
31 Real computeTriLatticeMixingParameter(const unsigned int i_gap, const unsigned int iz) const;
32
33 Real computeQuadLatticeMixingParameter(const unsigned int i_gap, const unsigned int iz) const;
34
35 Real computeLatticeMixingParameter(const unsigned int i_gap,
36 const unsigned int iz,
37 const Real delta,
38 const Real sf) const;
39
44
51};
const InputParameters & parameters() const
Base class for turbulent mixing closures used in SCM.
Class that calculates the turbulent mixing coefficient based on the Kim and Chung (2001) correllation...
static InputParameters validParams()
bool _is_tri_lattice
Keep track of the lattice type.
Real computeLatticeMixingParameter(const unsigned int i_gap, const unsigned int iz, const Real delta, const Real sf) const
Common implementation for both tri and quad lattices.
Real computeTriLatticeMixingParameter(const unsigned int i_gap, const unsigned int iz) const
virtual Real computeMixingParameter(const unsigned int i_gap, const unsigned int iz) const override
Computes the turbulent mixing coefficient for the local conditions around gap(i_gap) and axial level(...
Real computeQuadLatticeMixingParameter(const unsigned int i_gap, const unsigned int iz) const
const SubChannelMesh & _sch_mesh
Pointer to the base subchannel mesh.
Provide a simple RAII interface for linear lagrange solution variables.
Base class for subchannel meshes.