https://mooseframework.inl.gov
Loading...
Searching...
No Matches
SCMTriPowerAux.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 "AuxKernel.h"
13#include "SubChannelMesh.h"
14
16
22{
23public:
24 SCMTriPowerAux(const InputParameters & params);
25 virtual Real computeValue() override;
26 virtual void initialSetup() override;
27 virtual void timestepSetup() override;
28
29protected:
34 unsigned int _numberoflines;
36 std::string _filename;
38 Eigen::MatrixXd _power_dis;
41 const bool _verbose;
43 Eigen::MatrixXd _shape_integral;
44
47
48public:
50};
Real PostprocessorValue
Sets the axial heat rate for each pin according to a radial power distribution and a user defined axi...
virtual void initialSetup() override
static InputParameters validParams()
const PostprocessorValue & _power
The total power of the assembly.
unsigned int _numberoflines
The number of lines associated with the radial power profile .txt file.
void computeShapeIntegral()
Compute the trapezoidal integral of the axial power shape over each pin.
virtual Real computeValue() override
std::string _filename
The name of the radial power profile file.
Eigen::MatrixXd _power_dis
matrix that holds the values of the relative pin power
const Function & _axial_heat_rate
const TriSubChannelMesh & _triMesh
const bool _verbose
Whether to print the per-pin power correction every time it is computed.
virtual void timestepSetup() override
Eigen::MatrixXd _shape_integral
Trapezoidal integral of the axial power shape over each pin on the SCM axial grid [m].
Mesh class for triangular, edge and corner subchannels for hexagonal lattice fuel assemblies.