https://mooseframework.inl.gov
GapConductanceStatefulConstraint.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 "ADMortarConstraint.h"
13 
15 {
16 public:
18 
20 
21 protected:
25  virtual ADReal computeQpResidual(Moose::MortarType mortar_type) override;
26 
28  const Real _k;
29 
31  const Real _min_gap;
32 
34  const std::vector<std::string> _disp_name;
35  const unsigned int _n_disp;
36  std::vector<const ADVariableValue *> _disp_secondary;
37  std::vector<const ADVariableValue *> _disp_primary;
39 
44 };
virtual ADReal computeQpResidual(Moose::MortarType mortar_type) override
Computes the residual for the LM equation, lambda = (k/l)*(T^(1) - PT^(2)).
const std::vector< std::string > _disp_name
Displacement variables.
const Real _k
Thermal conductivity of the gap medium (e.g. air).
const VariableValue & _stress_old
Old stress variable (possibly nodally recovered property) on secondary surface.
DualNumber< Real, DNDerivativeType, true > ADReal
std::vector< const ADVariableValue * > _disp_primary
const VariableValue & _stress_neighbor_old
Old stress variable (possibly nodally recovered property) on primary surface.
OutputTools< Real >::VariableValue VariableValue
const Real _min_gap
Minimum gap distance allowed.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
std::vector< const ADVariableValue * > _disp_secondary
const InputParameters & parameters() const
GapConductanceStatefulConstraint(const InputParameters &parameters)