Documentation 6b54b78464
Loading...
Searching...
No Matches
CConstantPrandtlRANS.hpp
Go to the documentation of this file.
1/*!
2 * \file CConstantPrandtlRANS.hpp
3 * \brief Defines a non-constant effective thermal conductivity for RANS problems using Prandtl numbers.
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
31
32/*!
33 * \class CConstantPrandtlRANS
34 * \brief Defines a non-constant effective thermal conductivity for RANS problems using Prandtl numbers.
35 * \author T. Economon
36 */
38 public:
39 /*!
40 * \brief Constructor of the class.
41 */
42 CConstantPrandtlRANS(su2double pr_lam, su2double pr_turb) : pr_lam_(pr_lam), pr_turb_(pr_turb) {}
43
44 /*!
45 * \brief Set thermal conductivity.
46 */
48 su2double, su2double) override {
49 kt_ = cp * ((mu_lam / pr_lam_) + (mu_turb / pr_turb_));
50 }
51
52 private:
53 const su2double pr_lam_{0.0}; /*!< \brief Laminar Prandtl number. */
54 const su2double pr_turb_{0.0}; /*!< \brief Turbulent Prandtl number. */
55};
Defines an interface class for thermal conductivity models.
Interface class for defining the thermal conductivity model.
Definition CConductivityModel.hpp:39
su2double kt_
Thermal conductivity.
Definition CConductivityModel.hpp:68
Defines a non-constant effective thermal conductivity for RANS problems using Prandtl numbers.
Definition CConstantPrandtlRANS.hpp:37
CConstantPrandtlRANS(su2double pr_lam, su2double pr_turb)
Constructor of the class.
Definition CConstantPrandtlRANS.hpp:42
void SetConductivity(su2double t, su2double rho, su2double mu_lam, su2double mu_turb, su2double cp, su2double, su2double) override
Set thermal conductivity.
Definition CConstantPrandtlRANS.hpp:47
passivedouble su2double
Definition code_config.hpp:181