https://mooseframework.inl.gov
Loading...
Searching...
No Matches
ADGeneralizedPlaneStrain.h
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#pragma once
11
12#include "ADKernelScalarBase.h"
14
15class Function;
16
22{
23public:
25
27
28protected:
29 void initialSetup() override;
30 ADReal computeQpResidual() override;
32
33private:
35 const std::string _base_name;
36
39
42
45
47 const Real _pressure_factor;
48
51};
DualNumber< Real, DNDerivativeType, true > ADReal
Assembles the contributions of the area integral performed over the elements to the residual for the ...
static InputParameters validParams()
ADReal computeScalarQpResidual() override
const Real _pressure_factor
Factor applied to the out-of-plane pressure.
const ADMaterialProperty< RankTwoTensor > & _stress
The stress tensor.
unsigned int _out_of_plane_direction
Direction of the out-of-plane strain scalar variable.
const std::string _base_name
Base name of the material system.
const MaterialProperty< Real > & _out_of_plane_pressure_material
Material property defining the applied out-of-plane pressure.
const Function *const _out_of_plane_pressure_function
Function defining the applied out-of-plane pressure.
const InputParameters & parameters() const