https://mooseframework.inl.gov
Loading...
Searching...
No Matches
SCMQuadPowerIC.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 <Eigen/Dense>
14
20{
21public:
22 SCMQuadPowerIC(const InputParameters & params);
23 Real value(const Point & p) override;
24 virtual void initialSetup() override;
25
26protected:
30 unsigned int _numberoflines;
32 std::string _filename;
34 Eigen::MatrixXd _power_dis;
37 Eigen::MatrixXd _ref_qprime;
39 Eigen::MatrixXd _ref_power;
41 Eigen::MatrixXd _pin_power_correction;
43 Eigen::MatrixXd _estimate_power;
44
45public:
47};
const Real p
Real PostprocessorValue
An abstract class for ICs for quadrilateral subchannels.
Sets the axial heat rate for each pin according to a radial power distribution and a user defined axi...
Eigen::MatrixXd _pin_power_correction
The correction that will be applied to the estimated calculation [unitless].
const Function & _axial_heat_rate
unsigned int _numberoflines
The number of lines associated with the radial power profile .txt file.
Real value(const Point &p) override
Eigen::MatrixXd _power_dis
Matrix that holds the relative pin power.
virtual void initialSetup() override
Eigen::MatrixXd _ref_power
Actual pin power [W].
static InputParameters validParams()
const PostprocessorValue & _power
The total power of the assembly.
Eigen::MatrixXd _estimate_power
Matrix which will hold the total estimated power of each pin [W].
std::string _filename
The name of the radial power profile file.
Eigen::MatrixXd _ref_qprime
Average linear heat rate over the whole pin [W/m].