Documentation 6b54b78464
Loading...
Searching...
No Matches
CConductivityModel.hpp
Go to the documentation of this file.
1/*!
2 * \file CConductivityModel.hpp
3 * \brief Defines an interface class for thermal conductivity models.
4 * \author S. Vitale, M. Pini, G. Gori, A. Guardone, P. Colonna, T. Economon
5 * \version 8.5.0 "Harrier"
6 *
7 * SU2 Project Website: https://su2code.github.io
8 *
9 * The SU2 Project is maintained by the SU2 Foundation
10 * (http://su2foundation.org)
11 *
12 * Copyright 2012-2026, SU2 Contributors (cf. AUTHORS.md)
13 *
14 * SU2 is free software; you can redistribute it and/or
15 * modify it under the terms of the GNU Lesser General Public
16 * License as published by the Free Software Foundation; either
17 * version 2.1 of the License, or (at your option) any later version.
18 *
19 * SU2 is distributed in the hope that it will be useful,
20 * but WITHOUT ANY WARRANTY; without even the implied warranty of
21 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
22 * Lesser General Public License for more details.
23 *
24 * You should have received a copy of the GNU Lesser General Public
25 * License along with SU2. If not, see <http://www.gnu.org/licenses/>.
26 */
27
28#pragma once
29
30#include "../../../Common/include/basic_types/datatype_structure.hpp"
31
32using namespace std;
33
34/*!
35 * \class CConductivityModel
36 * \brief Interface class for defining the thermal conductivity model.
37 * \author S. Vitale, M. Pini
38 */
40 public:
41 CConductivityModel() = default;
43 void operator=(const CConductivityModel&) = delete;
45
46 /*!
47 * \brief return conductivity value.
48 */
49 inline su2double GetConductivity() const { return kt_; }
50
51 /*!
52 * \brief return conductivity partial derivative value.
53 */
54 inline su2double Getdktdrho_T() const { return dktdrho_t_; }
55
56 /*!
57 * \brief return conductivity partial derivative value.
58 */
59 inline su2double GetdktdT_rho() const { return dktdt_rho_; }
60
61 /*!
62 * \brief Set thermal conductivity.
63 */
64 virtual void SetConductivity(su2double t, su2double rho, su2double mu_lam, su2double mu_turb, su2double cp,
65 su2double dmudrho_t, su2double dmudt_rho) = 0;
66
67 protected:
68 su2double kt_{0.0}; /*!< \brief Thermal conductivity. */
69 su2double dktdrho_t_{0.0}; /*!< \brief DktDrho_T. */
70 su2double dktdt_rho_{0.0}; /*!< \brief DktDT_rho. */
71};
Interface class for defining the thermal conductivity model.
Definition CConductivityModel.hpp:39
su2double dktdrho_t_
DktDrho_T.
Definition CConductivityModel.hpp:69
su2double Getdktdrho_T() const
return conductivity partial derivative value.
Definition CConductivityModel.hpp:54
su2double dktdt_rho_
DktDT_rho.
Definition CConductivityModel.hpp:70
su2double kt_
Thermal conductivity.
Definition CConductivityModel.hpp:68
CConductivityModel(const CConductivityModel &)=delete
void operator=(const CConductivityModel &)=delete
CConductivityModel()=default
su2double GetConductivity() const
return conductivity value.
Definition CConductivityModel.hpp:49
virtual ~CConductivityModel()
Definition CConductivityModel.hpp:44
virtual void SetConductivity(su2double t, su2double rho, su2double mu_lam, su2double mu_turb, su2double cp, su2double dmudrho_t, su2double dmudt_rho)=0
Set thermal conductivity.
su2double GetdktdT_rho() const
return conductivity partial derivative value.
Definition CConductivityModel.hpp:59
passivedouble su2double
Definition code_config.hpp:181