https://mooseframework.inl.gov
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 
12 #include "SCMMixingClosureBase.h"
13 
14 class SubChannelMesh;
15 
21 {
22 public:
24 
26 
27  virtual Real computeMixingParameter(const unsigned int i_gap,
28  const unsigned int iz) const override;
29 
30 protected:
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 };
Class that calculates the turbulent mixing coefficient based on the Kim and Chung (2001) correllation...
Base class for turbulent mixing closures used in SCM.
const InputParameters & parameters() const
Real computeTriLatticeMixingParameter(const unsigned int i_gap, const unsigned int iz) const
int delta(unsigned int i, unsigned int j)
Delta function, which returns zero if $i j$ and unity if $i=j$.
Real computeQuadLatticeMixingParameter(const unsigned int i_gap, const unsigned int iz) const
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.
Provide a simple RAII interface for linear lagrange solution variables.
bool _is_tri_lattice
Keep track of the lattice type.
const SubChannelMesh & _sch_mesh
Pointer to the base subchannel mesh.
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(...
static InputParameters validParams()
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
Base class for subchannel meshes.
SCMMixingKimAndChung(const InputParameters &parameters)
SolutionHandle _w_perim_soln