https://mooseframework.inl.gov
Loading...
Searching...
No Matches
ADHeatConduction.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 "ADHeatConduction.h"
11
13
16{
18 params.addParam<MaterialPropertyName>("thermal_conductivity",
19 "thermal_conductivity",
20 "the name of the thermal conductivity material property");
21 params.set<bool>("use_displaced_mesh") = true;
22 return params;
23}
24
26 : ADDiffusion(parameters),
27 _thermal_conductivity(getADMaterialProperty<Real>("thermal_conductivity"))
28{
29}
30
registerMooseObject("HeatTransferApp", ADHeatConduction)
static InputParameters validParams()
virtual ADRealVectorValue precomputeQpResidual() override
const ADMaterialProperty< Real > & _thermal_conductivity
static InputParameters validParams()
ADHeatConduction(const InputParameters &parameters)
virtual ADRealVectorValue precomputeQpResidual() override
void addParam(const std::string &name, const std::initializer_list< typename T::value_type > &value, const std::string &doc_string)
T & set(const std::string &name, bool quiet_mode=false)
unsigned int _qp