https://mooseframework.inl.gov
OneDHeatFluxBase.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 "Kernel.h"
13 
15 
16 class OneDHeatFluxBase : public Kernel
17 {
18 public:
20 
21  virtual void computeJacobian() override;
22  virtual void computeOffDiagJacobian(unsigned jvar) override;
23 
24 protected:
25  virtual Real computeQpOffDiagJacobianNeighbor(unsigned int jvar) = 0;
26 
31 
32 public:
34 };
OneDHeatFluxBase(const InputParameters &parameters)
static InputParameters validParams()
OutputTools< Real >::VariablePhiValue VariablePhiValue
Base class for caching heat flux between a flow channel and a heat structure.
const VariablePhiValue & _phi_neighbor
shape function values (in QPs)
virtual void computeJacobian() override
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
virtual Real computeQpOffDiagJacobianNeighbor(unsigned int jvar)=0
const InputParameters & parameters() const
const HeatFluxFromHeatStructureBaseUserObject & _q_uo
User object that computes the heat flux.
virtual void computeOffDiagJacobian(unsigned jvar) override