https://mooseframework.inl.gov
ComputeLagrangianStrainAxisymmetricCylindrical.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 
13 
14 template <>
15 inline InputParameters
17 {
19  params.addClassDescription("Compute strain in 2D axisymmetric RZ coordinates.");
20  return params;
21 }
22 
23 template <>
24 void
26 {
27  if (getBlockCoordSystem() != Moose::COORD_RZ)
28  mooseError("This kernel should only act in 2D axisymmetric RZ coordinates.");
29 }
30 
ComputeLagrangianStrainBase< GradientOperatorAxisymmetricCylindrical > ComputeLagrangianStrainAxisymmetricCylindrical
void mooseError(Args &&... args)
virtual void initialSetup() override
Calculate strains to use the MOOSE materials with the Lagrangian kernels.
void addClassDescription(const std::string &doc_string)
static InputParameters validParams()