https://mooseframework.inl.gov
Loading...
Searching...
No Matches
OneDEnergyWallHeatFlux.C
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
11
13
16{
18 params.addRequiredParam<MaterialPropertyName>("q_wall", "Wall heat flux material property");
19 params.addRequiredCoupledVar("P_hf", "heat flux perimeter");
20 params.addClassDescription("Adds a heat flux along the local heated perimeter");
21 return params;
22}
23
25 : Kernel(parameters), _q_wall(getMaterialProperty<Real>("q_wall")), _P_hf(coupledValue("P_hf"))
26{
27}
28
29Real
34
35Real
40
41Real
43{
44 return 0.;
45}
registerMooseObject("ThermalHydraulicsApp", OneDEnergyWallHeatFlux)
void addRequiredCoupledVar(const std::string &name, const std::string &doc_string)
void addRequiredParam(const std::string &name, const std::string &doc_string)
void addClassDescription(const std::string &doc_string)
unsigned int _qp
unsigned int _i
const VariableTestValue & _test
static InputParameters validParams()
virtual Real computeQpOffDiagJacobian(unsigned int jvar)
const MaterialProperty< Real > & _q_wall
Heat flux.
static InputParameters validParams()
const VariableValue & _P_hf
Heat flux perimeter.
OneDEnergyWallHeatFlux(const InputParameters &parameters)