www.mooseframework.org
GapConductanceConstraint.h
Go to the documentation of this file.
1 /****************************************************************/
2 /* MOOSE - Multiphysics Object Oriented Simulation Environment */
3 /* */
4 /* All contents are licensed under LGPL V2.1 */
5 /* See LICENSE for full restrictions */
6 /****************************************************************/
7 #ifndef GAPCONDUCTANCECONSTRAINT_H
8 #define GAPCONDUCTANCECONSTRAINT_H
9 
10 #include "FaceFaceConstraint.h"
11 
13 
14 template <>
16 
52 class GapConductanceConstraint : public FaceFaceConstraint
53 {
54 public:
55  GapConductanceConstraint(const InputParameters & parameters);
56  virtual ~GapConductanceConstraint();
57 
58 protected:
62  virtual Real computeQpResidual();
63 
70  virtual Real computeQpResidualSide(Moose::ConstraintType res_type);
71 
78  virtual Real computeQpJacobian();
79 
92  virtual Real computeQpJacobianSide(Moose::ConstraintJacobianType jac_type);
93 
95  Real _k;
96 };
97 
98 #endif // GAPCONDUCTANCECONSTRAINT_H
virtual Real computeQpResidualSide(Moose::ConstraintType res_type)
Computes the "lambda * (v^(1) - Pv^(2))" residual term in the primal equation.
InputParameters validParams< GapConductanceConstraint >()
virtual Real computeQpJacobianSide(Moose::ConstraintJacobianType jac_type)
Handles Jacobian contributions for both the LM equation and the primal equation.
virtual Real computeQpResidual()
Computes the residual for the LM equation, lambda = (k/l)*(T^(1) - PT^(2)).
virtual Real computeQpJacobian()
Computes the Jacobian of the LM equation wrt lambda, i.e.
This Constraint implements thermal contact using a "gap conductance" model in which the flux is repre...
GapConductanceConstraint(const InputParameters &parameters)
Real _k
Thermal conductivity of the gap medium (e.g. air).