https://mooseframework.inl.gov
LinearFVVolumetricHeatTransfer.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 
13 
22 {
23 public:
25 
31 
32  virtual Real computeMatrixContribution() override;
33  virtual Real computeRightHandSideContribution() override;
34 
35 protected:
38  const MooseLinearVariableFV<Real> & getTemperatureVariable(const std::string & vname);
46  const bool _is_solid;
47 };
const Moose::Functor< Real > & _h_solid_fluid
MOOSE functor describing the heat transfer coefficient.
const MooseLinearVariableFV< Real > & getTemperatureVariable(const std::string &vname)
Routine used to throw an error if the provided variable is not an MooseLinearVariableFV.
LinearFVVolumetricHeatTransfer(const InputParameters &params)
Class constructor.
virtual Real computeRightHandSideContribution() override
Kernel that adds contributions to the system matrix and right hand side based on heat transfer betwee...
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const MooseLinearVariableFV< Real > & _temp_solid
Reference to the linear finite volume solid temperature variable.
const MooseLinearVariableFV< Real > & _temp_fluid
Reference to the linear finite volume fluid temperature variable.
const bool _is_solid
Flag to help the kernel to decide if it is executed on a solid of a fluid.