https://mooseframework.inl.gov
QuadSubChannel1PhaseProblem.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 "QuadSubChannelMesh.h"
14 
19 {
20 public:
22 
23 protected:
24  virtual void initializeSolution() override;
25  virtual Real computeFrictionFactor(FrictionStruct friction_args) override;
26  virtual Real computeAddedHeatPin(unsigned int i_ch, unsigned int iz) override;
27  virtual Real computeBeta(unsigned int i_gap, unsigned int iz) override;
28  virtual void computeh(int iblock) override;
30 
32  const Real & _beta;
36  const bool _constant_beta;
37 
38 public:
40 };
virtual Real computeAddedHeatPin(unsigned int i_ch, unsigned int iz) override
Computes added heat for channel i_ch and cell iz.
const bool _constant_beta
Flag that activates the use of constant beta.
static InputParameters validParams()
virtual void computeh(int iblock) override
Computes Enthalpy per channel for block iblock.
Creates the mesh of subchannels in a quadrilateral lattice.
const bool _default_friction_model
Flag that activates one of the two friction models (default: f=a*Re^b, non-default: Todreas-Kazimi) ...
virtual Real computeFrictionFactor(FrictionStruct friction_args) override
Returns friction factor.
virtual Real computeBeta(unsigned int i_gap, unsigned int iz) override
Computes turbulent mixing coefficient.
Quadrilateral subchannel solver.
const Real & _beta
Thermal diffusion coefficient used in turbulent crossflow.
Base class for the 1-phase steady-state/transient subchannel solver.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
QuadSubChannel1PhaseProblem(const InputParameters &params)
virtual void initializeSolution() override
Function to initialize the solution & geometry fields.