https://mooseframework.inl.gov
ADHeatTransferFromHeatStructure3D1PhaseUserObject.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 "ElementUserObject.h"
13 #include "MeshAlignment1D3D.h"
14 
20 {
21 public:
23 
24  virtual void initialize() override;
25  virtual void execute() override;
26  virtual void finalize() override;
27  virtual void threadJoin(const UserObject & y) override;
28 
29  const std::vector<ADReal> & getHeatedPerimeter(dof_id_type element_id) const;
30  const std::vector<ADReal> & getHeatTransferCoeff(dof_id_type element_id) const;
31  const std::vector<ADReal> & getTfluid(dof_id_type element_id) const;
32 
33 protected:
42 
44  std::map<dof_id_type, std::vector<ADReal>> _heated_perimeter;
46  std::map<dof_id_type, std::vector<ADReal>> _T_fluid;
48  std::map<dof_id_type, std::vector<ADReal>> _htc;
49 
50 public:
52 };
const std::vector< ADReal > & getHeatedPerimeter(dof_id_type element_id) const
const std::vector< double > y
std::map< dof_id_type, std::vector< ADReal > > _T_fluid
Map of the element ID to the fluid temperature at the quadrature points.
std::map< dof_id_type, std::vector< ADReal > > _htc
Map of the element ID to the wall heat transfer coefficient at the quadrature points.
const ADVariableValue & _P_hf
Coupled heated perimeter variable.
std::map< dof_id_type, std::vector< ADReal > > _heated_perimeter
Map of the element ID to the heated perimeter at the quadrature points.
const std::vector< ADReal > & getHeatTransferCoeff(dof_id_type element_id) const
const std::vector< ADReal > & getTfluid(dof_id_type element_id) const
Caching heat flux data (fluid temperature and heat transfer coefficient) between a flow channel and a...
const ADMaterialProperty< Real > & _Hw
Heat transfer coefficient.
const InputParameters & parameters() const
Builds mapping between a 1D subdomain and a 3D boundary.
uint8_t dof_id_type