Documentation a537f1bdf2
Loading...
Searching...
No Matches
CConjugateHeatInterface.hpp
Go to the documentation of this file.
1/*!
2 * \file CConjugateHeatInterface.hpp
3 * \brief Declaration and inlines of the class to transfer temperature and heatflux
4 * density for conjugate heat interfaces between structure and fluid zones.
5 * \author O. Burghardt
6 * \version 8.5.0 "Harrier"
7 *
8 * SU2 Project Website: https://su2code.github.io
9 *
10 * The SU2 Project is maintained by the SU2 Foundation
11 * (http://su2foundation.org)
12 *
13 * Copyright 2012-2026, SU2 Contributors (cf. AUTHORS.md)
14 *
15 * SU2 is free software; you can redistribute it and/or
16 * modify it under the terms of the GNU Lesser General Public
17 * License as published by the Free Software Foundation; either
18 * version 2.1 of the License, or (at your option) any later version.
19 *
20 * SU2 is distributed in the hope that it will be useful,
21 * but WITHOUT ANY WARRANTY; without even the implied warranty of
22 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
23 * Lesser General Public License for more details.
24 *
25 * You should have received a copy of the GNU Lesser General Public
26 * License along with SU2. If not, see <http://www.gnu.org/licenses/>.
27 */
28
29#pragma once
30
31#include "../CInterface.hpp"
32
33/*!
34 * \brief Fluid-heat interface (and v.v.).
35 * \ingroup Interfaces
36 */
38 su2double ContactResistance = 0; /*!<\brief Contact resistance value of the current inerface. */
39public:
40 /*!
41 * \brief Constructor of the class.
42 */
44
45 /*!
46 * \overload
47 * \param[in] val_nVar - Number of variables that need to be transferred.
48 */
49 CConjugateHeatInterface(unsigned short val_nVar, unsigned short val_nConst);
50
51 /*!
52 * \brief Retrieve the variable that will be sent from donor mesh to target mesh.
53 * \param[in] donor_solution - Solution from the donor mesh.
54 * \param[in] donor_geometry - Geometry of the donor mesh.
55 * \param[in] donor_config - Definition of the problem at the donor mesh.
56 * \param[in] Marker_Donor - Index of the donor marker.
57 * \param[in] Vertex_Donor - Index of the donor vertex.
58 * \param[in] Point_Donor - Index of the donor point.
59 */
60 void GetDonor_Variable(CSolver *donor_solution, CGeometry *donor_geometry, const CConfig *donor_config,
61 unsigned long Marker_Donor, unsigned long Vertex_Donor, unsigned long Point_Donor) override;
62
63 /*!
64 * \brief Set the variable that has been received from the target mesh into the target mesh.
65 * \param[in] target_solution - Solution from the target mesh.
66 * \param[in] target_geometry - Geometry of the target mesh.
67 * \param[in] target_config - Definition of the problem at the target mesh.
68 * \param[in] Marker_Target - Index of the target marker.
69 * \param[in] Vertex_Target - Index of the target vertex.
70 * \param[in] Point_Target - Index of the target point.
71 */
72 void SetTarget_Variable(CSolver *target_solution, CGeometry *target_geometry, const CConfig *target_config,
73 unsigned long Marker_Target, unsigned long Vertex_Target, unsigned long Point_Target) override;
74
75 /*!
76 * \brief Set the contact resistance value for the solid-to-solid heat transfer interface.
77 * \param[in] val_contact_resistance - Contact resistance value in m^2/W
78 */
79 void SetContactResistance(su2double val_contact_resistance) override { ContactResistance = val_contact_resistance; }
80};
Main class for defining the problem; basically this class reads the configuration file,...
Definition CConfig.hpp:64
Fluid-heat interface (and v.v.).
Definition CConjugateHeatInterface.hpp:37
void GetDonor_Variable(CSolver *donor_solution, CGeometry *donor_geometry, const CConfig *donor_config, unsigned long Marker_Donor, unsigned long Vertex_Donor, unsigned long Point_Donor) override
Retrieve the variable that will be sent from donor mesh to target mesh.
Definition CConjugateHeatInterface.cpp:39
void SetTarget_Variable(CSolver *target_solution, CGeometry *target_geometry, const CConfig *target_config, unsigned long Marker_Target, unsigned long Vertex_Target, unsigned long Point_Target) override
Set the variable that has been received from the target mesh into the target mesh.
Definition CConjugateHeatInterface.cpp:151
CConjugateHeatInterface(void)
Constructor of the class.
void SetContactResistance(su2double val_contact_resistance) override
Set the contact resistance value for the solid-to-solid heat transfer interface.
Definition CConjugateHeatInterface.hpp:79
Parent class for defining the geometry of the problem (complete geometry, multigrid agglomerated geom...
Definition CGeometry.hpp:75
Main class for defining the physical transfer of information.
Definition CInterface.hpp:60
Definition CSolver.hpp:71
passivedouble su2double
Definition code_config.hpp:181