https://mooseframework.inl.gov
Loading...
Searching...
No Matches
GapHeatTransfer.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 "IntegratedBC.h"
13#include "GapConductance.h"
14
15class PenetrationInfo;
16
21{
22public:
24
26
27 virtual void initialSetup() override;
28 void computeJacobian() override;
29
30 void computeOffDiagJacobian(unsigned int jvar) override;
31
32protected:
33 virtual Real computeQpResidual() override;
34 virtual Real computeQpJacobian() override;
35
40
44 Real computeSecondaryQpOffDiagJacobian(unsigned int jvar);
45
46 virtual Real computeQpOffDiagJacobian(unsigned jvar) override;
47
48 virtual Real gapLength() const;
49 virtual Real dgapLength(Real normalComponent) const;
50 virtual Real computeSecondaryFluxContribution(Real grad_t);
51 virtual void computeGapValues();
52
54
55 const bool _quadrature;
56
57 NumericVector<Number> * _secondary_flux;
58
61
62 const Real _min_gap;
63 const unsigned int _min_gap_order;
64 const Real _max_gap;
65
68 Real _radius;
69 Real _r1;
70 Real _r2;
71
77
79
80 std::vector<unsigned int> _disp_vars;
81
84
86 const bool _warnings;
87
88 Point & _p1;
89 Point & _p2;
90
93
95 const std::vector<std::vector<Real>> * _secondary_side_phi;
96
99 const Elem * _secondary_side;
100
102 unsigned int _secondary_j;
103};
Generic gap heat transfer model, with h_gap = h_conduction + h_contact + h_radiation.
const PenetrationInfo * _pinfo
The current PenetratationInfo.
unsigned int _secondary_j
The secondary side shape index.
virtual Real computeQpOffDiagJacobian(unsigned jvar) override
Real _edge_multiplier
This is a factor that is used to gradually taper down the conductance if the contact point is off the...
virtual Real computeQpJacobian() override
virtual Real computeQpResidual() override
Real computeSecondaryQpOffDiagJacobian(unsigned int jvar)
compute the displacement Jacobian contributions from the secondary side degrees of freedom
const MaterialProperty< Real > & _gap_conductance_dT
const unsigned int _min_gap_order
void computeOffDiagJacobian(unsigned int jvar) override
const bool _quadrature
static InputParameters validParams()
virtual Real gapLength() const
const VariableValue & _gap_distance_value
virtual Real computeSecondaryFluxContribution(Real grad_t)
const Elem * _secondary_side
The secondary side element (this really is a side element, e.g.
Real computeSecondaryQpJacobian()
compute the Jacobian contributions from the secondary side degrees of freedom
GapConductance::GAP_GEOMETRY & _gap_geometry_type
const std::vector< std::vector< Real > > * _secondary_side_phi
The phi values on the secondary side.
PenetrationLocator * _penetration_locator
const bool _warnings
virtual void computeGapValues()
NumericVector< Number > * _secondary_flux
void computeJacobian() override
const Real _min_gap
virtual Real dgapLength(Real normalComponent) const
const MaterialProperty< Real > & _gap_conductance
std::vector< unsigned int > _disp_vars
virtual void initialSetup() override
const Real _max_gap
const VariableValue & _gap_temp_value
const InputParameters & parameters() const
VariableValueTempl< false > VariableValue