https://mooseframework.inl.gov
Loading...
Searching...
No Matches
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{
16public:
18
20
21protected:
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};
DualNumber< Real, DNDerivativeType, true > ADReal
virtual ADReal computeQpResidual(Moose::MortarType mortar_type) override
Computes the residual for the LM equation, lambda = (k/l)*(T^(1) - PT^(2)).
std::vector< const ADVariableValue * > _disp_primary
const VariableValue & _stress_neighbor_old
Old stress variable (possibly nodally recovered property) on primary surface.
const Real _k
Thermal conductivity of the gap medium (e.g. air).
std::vector< const ADVariableValue * > _disp_secondary
const VariableValue & _stress_old
Old stress variable (possibly nodally recovered property) on secondary surface.
const Real _min_gap
Minimum gap distance allowed.
const std::vector< std::string > _disp_name
Displacement variables.
const InputParameters & parameters() const
VariableValueTempl< false > VariableValue