https://mooseframework.inl.gov
TriInterWrapperPowerIC.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 "TriInterWrapperBaseIC.h"
13 
15 
21 {
22 public:
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  std::vector<Real> _power_dis;
39 
40 private:
42  std::vector<Real> _ref_qprime;
44  std::vector<Real> _ref_power;
46  std::vector<Real> _pin_power_correction;
48  std::vector<Real> _estimate_power;
49 
50 public:
52 };
TriInterWrapperPowerIC(const InputParameters &params)
An abstract class for ICs for hexagonal fuel assemblies.
std::vector< Real > _ref_qprime
average linear heat rate over the whole pin in W/m
Real value(const Point &p) override
std::vector< Real > _ref_power
actual pin power in W
std::string _filename
pin power distribution file name
static InputParameters validParams()
unsigned int _numberoflines
number of lines
std::vector< Real > _pin_power_correction
its the correction that will be applied to the estimated calculation [unitless]
std::vector< Real > _estimate_power
its a vector which will hold the total estimated power of each pin [W]
Real _power
total power of the fuel assembly
Sets the axial heat rate for each pin according to a radial power distribution and a user defined axi...
std::vector< Real > _power_dis
pin power distribution from the input file given in "_filename"
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const Function & _axial_heat_rate
normalized axial power distribution
virtual void initialSetup() override
Mesh class for triangular, edge and corner inter_wrappers for hexagonal lattice fuel assemblies...