https://mooseframework.inl.gov
SCMTriPowerIC.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 "TriSubChannelBaseIC.h"
13 
14 class TriSubChannelMesh;
15 
21 {
22 public:
23  SCMTriPowerIC(const InputParameters & params);
24  Real value(const Point & p) override;
25 
26  virtual void initialSetup() override;
27 
28 protected:
32  unsigned int _numberoflines;
34  std::string _filename;
36  Eigen::MatrixXd _power_dis;
39  Eigen::MatrixXd _ref_qprime;
41  Eigen::MatrixXd _ref_power;
43  Eigen::MatrixXd _pin_power_correction;
45  Eigen::MatrixXd _estimate_power;
46 
47 public:
49 };
unsigned int _numberoflines
The number of lines associated with the radial power profile .txt file.
Definition: SCMTriPowerIC.h:32
Eigen::MatrixXd _ref_qprime
Average linear heat rate over the whole pin [W/m].
Definition: SCMTriPowerIC.h:39
virtual void initialSetup() override
Definition: SCMTriPowerIC.C:86
Eigen::MatrixXd _estimate_power
Matrix which will hold the total estimated power of each pin [W].
Definition: SCMTriPowerIC.h:45
An abstract class for ICs for hexagonal fuel assemblies.
Eigen::MatrixXd _pin_power_correction
The correction that will be applied to the estimated calculation [unitless].
Definition: SCMTriPowerIC.h:43
SCMTriPowerIC(const InputParameters &params)
Definition: SCMTriPowerIC.C:35
Real PostprocessorValue
const PostprocessorValue & _power
The total power of the assembly.
Definition: SCMTriPowerIC.h:30
const Function & _axial_heat_rate
Definition: SCMTriPowerIC.h:37
Real value(const Point &p) override
Mesh class for triangular, edge and corner subchannels for hexagonal lattice fuel assemblies...
Eigen::MatrixXd _power_dis
matrix that holds the values of the relative pin power
Definition: SCMTriPowerIC.h:36
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
std::string _filename
The name of the radial power profile file.
Definition: SCMTriPowerIC.h:34
static InputParameters validParams()
Definition: SCMTriPowerIC.C:18
Sets the axial heat rate for each pin according to a radial power distribution and a user defined axi...
Definition: SCMTriPowerIC.h:20
Eigen::MatrixXd _ref_power
Actual pin power [W].
Definition: SCMTriPowerIC.h:41