https://mooseframework.inl.gov
GapFluxModelBase.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 
14 #include "ADFunctorInterface.h"
15 
20 {
21 public:
23 
25 
29  virtual ADReal
30  computeFluxInternal(const ModularGapConductanceConstraint & mortar_constraint) const;
31 
35  virtual ADReal computeFlux() const = 0;
36 
37  virtual void finalize() final{};
38  virtual void threadJoin(const UserObject &) final{};
39 
40 protected:
41  mutable unsigned int _qp;
42  mutable ADReal _gap_width;
46 
51 };
Moose::ElemPointArg _primary_point
The primary quadrature point location.
virtual ADReal computeFluxInternal(const ModularGapConductanceConstraint &mortar_constraint) const
Cache geometry-related information from the mortar constraint.
DualNumber< Real, DNDerivativeType, true > ADReal
Base class for gap flux models used by ModularGapConductanceConstraint.
unsigned int _qp
This Constraint implements thermal contact using a "gap conductance" model in which the flux is repre...
const InputParameters & parameters() const
virtual void threadJoin(const UserObject &) final
virtual ADReal computeFlux() const =0
Compute gap physics used cache information in GapFluxModelBase.
virtual void finalize() final
GapFluxModelBase(const InputParameters &parameters)
static InputParameters validParams()
ADReal _surface_integration_factor
Moose::ElemPointArg _secondary_point
The secondary quadrature point location.