https://mooseframework.inl.gov
Loading...
Searching...
No Matches
GapConductanceConstraint.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
50{
51public:
53
55
56protected:
60 virtual ADReal computeQpResidual(Moose::MortarType mortar_type) override;
61
63 const Real _k;
64
66 const Real _min_gap;
67
69 const std::vector<std::string> _disp_name;
70 const unsigned int _n_disp;
71 std::vector<const ADVariableValue *> _disp_secondary;
72 std::vector<const ADVariableValue *> _disp_primary;
74};
DualNumber< Real, DNDerivativeType, true > ADReal
This Constraint implements thermal contact using a "gap conductance" model in which the flux is repre...
const std::vector< std::string > _disp_name
Displacement variables.
static InputParameters validParams()
const Real _k
Thermal conductivity of the gap medium (e.g. air).
const Real _min_gap
Minimum gap distance allowed.
std::vector< const ADVariableValue * > _disp_primary
std::vector< const ADVariableValue * > _disp_secondary
virtual ADReal computeQpResidual(Moose::MortarType mortar_type) override
Computes the residual for the LM equation, lambda = (k/l)*(T^(1) - PT^(2)).
const InputParameters & parameters() const