https://mooseframework.inl.gov
Loading...
Searching...
No Matches
ADHSHeatFluxBC.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
10#include "ADHSHeatFluxBC.h"
11#include "Function.h"
12
13registerMooseObject("ThermalHydraulicsApp", ADHSHeatFluxBC);
14
17{
19
20 params.addParam<FunctionName>("scale", 1.0, "Function by which to scale the boundary condition");
21
22 params.addClassDescription("Applies a specified heat flux to the side of a plate heat structure");
23
24 return params;
25}
26
28 : ADFunctionNeumannBC(parameters), _scale_fn(getFunction("scale"))
29{
30}
31
registerMooseObject("ThermalHydraulicsApp", ADHSHeatFluxBC)
DualNumber< Real, DNDerivativeType, true > ADReal
static InputParameters validParams()
virtual ADReal computeQpResidual() override
Applies a specified heat flux to the side of a plate heat structure.
virtual ADReal computeQpResidual() override
const Function & _scale_fn
Function by which to scale the boundary condition.
static InputParameters validParams()
ADHSHeatFluxBC(const InputParameters &parameters)
virtual Real value(Real t, const Point &p) const
void addParam(const std::string &name, const std::initializer_list< typename T::value_type > &value, const std::string &doc_string)
void addClassDescription(const std::string &doc_string)
unsigned int _qp
const MooseArray< Point > & _q_point