https://mooseframework.inl.gov
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 
12 registerMooseObject("HeatTransferApp", ADHeatConduction);
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 
33 {
35 }
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)
static InputParameters validParams()
registerMooseObject("HeatTransferApp", ADHeatConduction)
static InputParameters validParams()
const ADMaterialProperty< Real > & _thermal_conductivity
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
virtual ADRealVectorValue precomputeQpResidual() override
virtual ADRealVectorValue precomputeQpResidual() override
unsigned int _qp
ADHeatConduction(const InputParameters &parameters)