www.mooseframework.org
ComputeAxisymmetric1DSmallStrain.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://www.mooseframework.org
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 "Compute1DSmallStrain.h"
13 #include "SubblockIndexProvider.h"
14 
20 {
21 public:
23 
25 
26  void initialSetup() override;
27 
28 protected:
30  Real computeStrainYY() override;
31 
34  Real computeStrainZZ() override;
35 
37  unsigned int getCurrentSubblockIndex() const
38  {
40  };
41 
44 
47 
50 
53 
55  std::vector<const VariableValue *> _scalar_out_of_plane_strain;
56 };
Real computeStrainZZ() override
Computes the strain_zz for axisymmetric problems, where .
const bool _has_scalar_out_of_plane_strain
Whether out-of-plane strain scalar variables are coupled.
ComputeAxisymmetric1DSmallStrain(const InputParameters &parameters)
const bool _has_out_of_plane_strain
Whether an out-of-plane strain variable is coupled.
Abstract base class for user objects that provide an index for a given element that is independent of...
const SubblockIndexProvider *const _subblock_id_provider
A Userobject that carries the subblock ID for all elements.
const VariableValue & _out_of_plane_strain
The out-of-plane strain variable.
unsigned int getCurrentSubblockIndex() const
gets its subblock index for current element
Real computeStrainYY() override
Computes the strain_yy for axisymmetric problems.
std::vector< const VariableValue * > _scalar_out_of_plane_strain
The out-of-plane strain scalar variables.
OutputTools< Real >::VariableValue VariableValue
virtual unsigned int getSubblockIndex(const Elem &) const =0
The index of subblock this element is on.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const InputParameters & parameters() const
Compute1DSmallStrain defines a strain tensor, assuming small strains, in 1D problems, handling strains in other two directions.
ComputeAxisymmetric1DSmallStrain defines small strains in an Axisymmetric 1D problem.