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