https://mooseframework.inl.gov
Loading...
Searching...
No Matches
HeatSource.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 "HeatSource.h"
11
12registerMooseObject("HeatTransferApp", HeatSource);
13
16{
18
19 // Override defaults and documentation, weak form is identical to BodyForce in MOOSE
20 params.addParam<Real>("value", 1.0, "Value of heat source. Multiplied by function if present.");
21 params.addParam<FunctionName>("function", "1", "Function describing the volumetric heat source");
22 return params;
23}
24
25HeatSource::HeatSource(const InputParameters & parameters) : BodyForce(parameters) {}
registerMooseObject("HeatTransferApp", HeatSource)
static InputParameters validParams()
static InputParameters validParams()
Definition HeatSource.C:15
HeatSource(const InputParameters &parameters)
Definition HeatSource.C:25
void addParam(const std::string &name, const std::initializer_list< typename T::value_type > &value, const std::string &doc_string)