www.mooseframework.org
RadialDisplacementCylinderAux.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 "AuxKernel.h"
13 
15 
16 template <>
18 
24 class RadialDisplacementCylinderAux : public AuxKernel
25 {
26 public:
27  static InputParameters validParams();
28 
29  RadialDisplacementCylinderAux(const InputParameters & parameters);
30 
32 
33 protected:
35  virtual Real computeValue();
36 
38  Moose::CoordinateSystemType _coord_system;
39 
41  unsigned int _ndisp;
43  std::vector<const VariableValue *> _disp_vals;
44 
46  RealVectorValue _axis_vector;
47 
49  RealVectorValue _origin;
50 };
RadialDisplacementCylinderAux::RadialDisplacementCylinderAux
RadialDisplacementCylinderAux(const InputParameters &parameters)
Definition: RadialDisplacementCylinderAux.C:35
RadialDisplacementCylinderAux::_origin
RealVectorValue _origin
Point used to define the origin of the cylinder axis for Cartesian systems.
Definition: RadialDisplacementCylinderAux.h:49
RadialDisplacementCylinderAux::~RadialDisplacementCylinderAux
virtual ~RadialDisplacementCylinderAux()
Definition: RadialDisplacementCylinderAux.h:31
RadialDisplacementCylinderAux::validParams
static InputParameters validParams()
Definition: RadialDisplacementCylinderAux.C:18
RadialDisplacementCylinderAux
Calculates the radial displacement for cylindrical geometries.
Definition: RadialDisplacementCylinderAux.h:24
RadialDisplacementCylinderAux::_disp_vals
std::vector< const VariableValue * > _disp_vals
Coupled variable values of the displacement components.
Definition: RadialDisplacementCylinderAux.h:43
RadialDisplacementCylinderAux::_coord_system
Moose::CoordinateSystemType _coord_system
Type of coordinate system.
Definition: RadialDisplacementCylinderAux.h:38
RadialDisplacementCylinderAux::computeValue
virtual Real computeValue()
Compute the value of the radial displacement.
Definition: RadialDisplacementCylinderAux.C:91
validParams< RadialDisplacementCylinderAux >
InputParameters validParams< RadialDisplacementCylinderAux >()
RadialDisplacementCylinderAux::_axis_vector
RealVectorValue _axis_vector
Axis direction.
Definition: RadialDisplacementCylinderAux.h:46
RadialDisplacementCylinderAux::_ndisp
unsigned int _ndisp
Number of displacment components.
Definition: RadialDisplacementCylinderAux.h:41