moltres
Loading...
Searching...
No Matches
TransientFissionHeatSource.h
Go to the documentation of this file.
1#pragma once
2
3#include "Kernel.h"
5
12{
13public:
14 TransientFissionHeatSource(const InputParameters & parameters);
15
16 static InputParameters validParams();
17
18protected:
19 virtual Real computeQpResidual() override;
20 virtual Real computeQpJacobian() override;
21 virtual Real computeQpOffDiagJacobian(unsigned int jvar) override;
22
23 // Material properties
24 const MaterialProperty<std::vector<Real>> & _fissxs;
25 const MaterialProperty<std::vector<Real>> & _d_fissxs_d_temp;
26 const MaterialProperty<std::vector<Real>> & _fisse;
27 const MaterialProperty<std::vector<Real>> & _d_fisse_d_temp;
28
29 unsigned int _num_groups;
30 std::vector<const VariableValue *> _group_fluxes;
31 std::vector<unsigned int> _flux_ids;
34 unsigned int _num_heat_groups;
35 std::vector<Real> _decay_heat_frac;
36 std::vector<Real> _decay_heat_const;
37 std::vector<const VariableValue *> _heat_concs;
38 std::vector<unsigned int> _heat_ids;
39};
Definition ScalarTransportBase.h:13
Definition TransientFissionHeatSource.h:12
const MaterialProperty< std::vector< Real > > & _d_fisse_d_temp
Definition TransientFissionHeatSource.h:27
std::vector< Real > _decay_heat_frac
Definition TransientFissionHeatSource.h:35
std::vector< unsigned int > _flux_ids
Definition TransientFissionHeatSource.h:31
virtual Real computeQpResidual() override
Definition TransientFissionHeatSource.C:63
static InputParameters validParams()
Definition TransientFissionHeatSource.C:6
const MaterialProperty< std::vector< Real > > & _fissxs
Definition TransientFissionHeatSource.h:24
std::vector< unsigned int > _heat_ids
Definition TransientFissionHeatSource.h:38
std::vector< Real > _decay_heat_const
Definition TransientFissionHeatSource.h:36
const MaterialProperty< std::vector< Real > > & _fisse
Definition TransientFissionHeatSource.h:26
const MaterialProperty< std::vector< Real > > & _d_fissxs_d_temp
Definition TransientFissionHeatSource.h:25
bool _account_decay_heat
Definition TransientFissionHeatSource.h:33
std::vector< const VariableValue * > _group_fluxes
Definition TransientFissionHeatSource.h:30
unsigned int _num_heat_groups
Definition TransientFissionHeatSource.h:34
virtual Real computeQpOffDiagJacobian(unsigned int jvar) override
Definition TransientFissionHeatSource.C:112
std::vector< const VariableValue * > _heat_concs
Definition TransientFissionHeatSource.h:37
virtual Real computeQpJacobian() override
Definition TransientFissionHeatSource.C:87
unsigned int _num_groups
Definition TransientFissionHeatSource.h:29
Real _nt_scale
Definition TransientFissionHeatSource.h:32