www.mooseframework.org
GapHeatTransfer.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 GAPHEATTRANSFER_H
8 #define GAPHEATTRANSFER_H
9 
10 #include "IntegratedBC.h"
11 #include "GapConductance.h"
12 
13 // Forward Declarations
14 class GapHeatTransfer;
15 
16 template <>
17 InputParameters validParams<GapHeatTransfer>();
18 
22 class GapHeatTransfer : public IntegratedBC
23 {
24 public:
25  GapHeatTransfer(const InputParameters & parameters);
26 
27  virtual void initialSetup() override;
28 
29 protected:
30  virtual Real computeQpResidual() override;
31  virtual Real computeQpJacobian() override;
32  virtual Real computeQpOffDiagJacobian(unsigned jvar) override;
33 
34  virtual Real gapLength() const;
35  virtual Real dgapLength(Real normalComponent) const;
36  virtual Real computeSlaveFluxContribution(Real grad_t);
37  virtual void computeGapValues();
38 
40 
41  const bool _quadrature;
42 
43  NumericVector<Number> * _slave_flux;
44 
45  const MaterialProperty<Real> & _gap_conductance;
46  const MaterialProperty<Real> & _gap_conductance_dT;
47 
48  const Real _min_gap;
49  const Real _max_gap;
50 
51  Real _gap_temp;
53  Real _radius;
54  Real _r1;
55  Real _r2;
56 
62 
63  bool _has_info;
64 
65  std::vector<unsigned int> _disp_vars;
66 
67  const VariableValue & _gap_distance_value;
68  const VariableValue & _gap_temp_value;
69 
70  PenetrationLocator * _penetration_locator;
71  const bool _warnings;
72 
73  Point & _p1;
74  Point & _p2;
75 };
76 
77 #endif // GAPHEATTRANSFER_H
GapConductance::GAP_GEOMETRY & _gap_geometry_type
virtual Real dgapLength(Real normalComponent) const
virtual void computeGapValues()
virtual Real gapLength() const
InputParameters validParams< GapHeatTransfer >()
Generic gap heat transfer model, with h_gap = h_conduction + h_contact + h_radiation.
const MaterialProperty< Real > & _gap_conductance_dT
Real _edge_multiplier
This is a factor that is used to gradually taper down the conductance if the contact point is off the...
const bool _quadrature
virtual Real computeQpJacobian() override
const MaterialProperty< Real > & _gap_conductance
const Real _min_gap
const Real _max_gap
std::vector< unsigned int > _disp_vars
const bool _warnings
PenetrationLocator * _penetration_locator
const VariableValue & _gap_temp_value
virtual Real computeSlaveFluxContribution(Real grad_t)
GapHeatTransfer(const InputParameters &parameters)
virtual Real computeQpResidual() override
const VariableValue & _gap_distance_value
virtual Real computeQpOffDiagJacobian(unsigned jvar) override
virtual void initialSetup() override
NumericVector< Number > * _slave_flux