https://mooseframework.inl.gov
Loading...
Searching...
No Matches
SCMMixingChenTodreas.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#include "TriSubChannelMesh.h"
14
21{
22public:
24
26
27 Real computeMixingParameter(const unsigned int i_gap, const unsigned int iz) const override;
28
29 Real computeSweepFlowMixingParameter(const unsigned int i_gap,
30 const unsigned int iz) const override;
31
32 void computeBulkMixingParameters() const override;
33
34 void computeBlockMixingParameters(const unsigned int first_node,
35 const unsigned int last_node) const override;
36
37protected:
40 Real computePacioMixingParameter(const Real Xi, const Real Xj, const Real perimeter_ratio) const;
41
44
47
50
54
57 mutable Real _beta_1986;
58
61 mutable Real _beta_sweep;
62
65 mutable std::vector<Real> _beta_pacio_center_edge;
66 mutable std::vector<Real> _beta_pacio_edge_corner;
67};
const InputParameters & parameters() const
Class that calculates turbulent mixing and sweep-flow coefficients for wire-wrapped triangular lattic...
std::vector< Real > _beta_pacio_center_edge
Pacio mixing parameter of the center-edge and edge-corner gaps per axial level, from the flow split o...
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(...
void computeBulkMixingParameters() const override
Precomputes the mixing coefficients that depend only on the bulk flow.
const MooseEnum & _mixing_model
Chen-Todreas mixing-model parameterization.
Real _beta_1986
Cheng-Todreas (1986) mixing parameter of the gaps next to a center subchannel, which depends only on ...
Real computeSweepFlowMixingParameter(const unsigned int i_gap, const unsigned int iz) const override
Computes the wire-wrap sweep-flow coefficient for peripheral gaps.
std::vector< Real > _beta_pacio_edge_corner
Real _beta_sweep
Cheng-Todreas (1986) sweep-flow coefficient of the peripheral gaps, which depends only on the geometr...
static InputParameters validParams()
bool _is_tri_lattice
Keep track of the lattice type.
void computeBlockMixingParameters(const unsigned int first_node, const unsigned int last_node) const override
Precomputes the mixing coefficients that depend on the flow solution of the axial levels first_node t...
const TriSubChannelMesh *const _tri_sch_mesh
Pointer to the triangular lattice mesh.
Real computePacioMixingParameter(const Real Xi, const Real Xj, const Real perimeter_ratio) const
Pacio mixing parameter of a gap between subchannels with flow splits Xi and Xj, including the ratio o...
Base class for turbulent mixing closures used in SCM.
Provide a simple RAII interface for linear lagrange solution variables.
Mesh class for triangular, edge and corner subchannels for hexagonal lattice fuel assemblies.