https://mooseframework.inl.gov
Loading...
Searching...
No Matches
ADComputeAxisymmetric1DSmallStrain.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
14
20{
21public:
23
25
26 void initialSetup() override;
27
28protected:
30 ADReal computeStrainYY() override;
31
34 ADReal computeStrainZZ() override;
35
37 unsigned int getCurrentSubblockIndex() const;
38
41
44
47
50
52 std::vector<const ADVariableValue *> _scalar_out_of_plane_strain;
53};
DualNumber< Real, DNDerivativeType, true > ADReal
ADCompute1DSmallStrain defines a strain tensor, assuming small strains, in 1D problems,...
ADComputeAxisymmetric1DSmallStrain defines small strains in an Axisymmetric 1D problem.
std::vector< const ADVariableValue * > _scalar_out_of_plane_strain
The out-of-plane strain scalar variables.
const ADVariableValue & _out_of_plane_strain
The out-of-plane strain variable.
const SubblockIndexProvider *const _subblock_id_provider
A UserObject that carries the subblock ID for all elements.
const bool _has_out_of_plane_strain
Whether an out-of-plane strain variable is coupled.
const bool _has_scalar_out_of_plane_strain
Whether out-of-plane strain scalar variables are coupled.
unsigned int getCurrentSubblockIndex() const
Gets the subblock index for the current element.
ADReal computeStrainYY() override
Computes the strain_yy for axisymmetric problems.
ADReal computeStrainZZ() override
Computes the strain_zz for axisymmetric problems, where .
const InputParameters & parameters() const
Abstract base class for user objects that provide an index for a given element that is independent of...
VariableValueTempl< true > ADVariableValue