www.mooseframework.org
GapConductanceConstraint.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 "ADMortarConstraint.h"
13 
50 {
51 public:
53 
55 
56 protected:
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 };
static InputParameters validParams()
const Real _k
Thermal conductivity of the gap medium (e.g. air).
const std::vector< std::string > _disp_name
Displacement variables.
This Constraint implements thermal contact using a "gap conductance" model in which the flux is repre...
GapConductanceConstraint(const InputParameters &parameters)
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
DualReal ADReal
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const InputParameters & parameters() const
std::vector< const ADVariableValue * > _disp_secondary
const Real _min_gap
Minimum gap distance allowed.