Documentation 6b54b78464
Loading...
Searching...
No Matches
CFluidModel.hpp
Go to the documentation of this file.
1/*!
2 * \file CFluidModel.hpp
3 * \brief Defines the main fluid model class for thermophysical properties.
4 * \author S. Vitale, G. Gori, M. Pini, 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 <cmath>
31#include <memory>
32
33#include "../../../Common/include/CConfig.hpp"
34#include "../../../Common/include/basic_types/datatype_structure.hpp"
36#include "CViscosityModel.hpp"
37#include "CDiffusivityModel.hpp"
38
39using namespace std;
40
41class CLookUpTable;
42/*!
43 * \class CFluidModel
44 * \brief Main class for defining the Thermo-Physical Model
45 * \author: S.Vitale, G.Gori, M.Pini, T. Economon
46 */
48 protected:
49 su2double StaticEnergy{0.0}; /*!< \brief Internal Energy. */
50 su2double Enthalpy{0.0}; /*!<*\brief Enthalpy. */
51 su2double Entropy{0.0}; /*!< \brief Entropy. */
52 su2double Density{0.0}; /*!< \brief Density. */
53 su2double Pressure{0.0}; /*!< \brief Pressure. */
54 su2double SoundSpeed2{0.0}; /*!< \brief SpeedSound. */
55 su2double Temperature{0.0}; /*!< \brief Temperature. */
56 su2double dPdrho_e{0.0}; /*!< \brief DpDd_e. */
57 su2double dPde_rho{0.0}; /*!< \brief DpDe_d. */
58 su2double dTdrho_e{0.0}; /*!< \brief DTDd_e. */
59 su2double dTde_rho{0.0}; /*!< \brief DTDe_d. */
60 su2double dhdrho_P{0.0}; /*!< \brief DhDrho_p. */
61 su2double dhdP_rho{0.0}; /*!< \brief DhDp_rho. */
62 su2double dsdrho_P{0.0}; /*!< \brief DsDrho_p. */
63 su2double dsdP_rho{0.0}; /*!< \brief DsDp_rho. */
64 su2double Cp{0.0}; /*!< \brief Specific Heat Capacity at constant pressure. */
65 su2double Cv{0.0}; /*!< \brief Specific Heat Capacity at constant volume. */
66 su2double Mu{0.0}; /*!< \brief Laminar viscosity. */
67 su2double Mu_Turb{0.0}; /*!< \brief Eddy viscosity provided by a turbulence model. */
68 su2double dmudrho_T{0.0}; /*!< \brief Partial derivative of viscosity w.r.t. density. */
69 su2double dmudT_rho{0.0}; /*!< \brief Partial derivative of viscosity w.r.t. temperature. */
70 su2double Kt{0.0}; /*!< \brief Thermal conductivity. */
71 su2double dktdrho_T{0.0}; /*!< \brief Partial derivative of conductivity w.r.t. density. */
72 su2double dktdT_rho{0.0}; /*!< \brief Partial derivative of conductivity w.r.t. temperature. */
73 su2double mass_diffusivity{0.0}; /*!< \brief Mass Diffusivity */
74
75 unique_ptr<CViscosityModel> LaminarViscosity; /*!< \brief Laminar Viscosity Model */
76 unique_ptr<CConductivityModel> ThermalConductivity; /*!< \brief Thermal Conductivity Model */
77 unique_ptr<CDiffusivityModel> MassDiffusivity; /*!< \brief Mass Diffusivity Model */
78
79 /*!
80 * \brief Instantiate the right type of viscosity model based on config.
81 */
82 static unique_ptr<CViscosityModel> MakeLaminarViscosityModel(const CConfig* config, unsigned short iSpecies);
83
84 /*!
85 * \brief Instantiate the right type of conductivity model based on config.
86 */
87 static unique_ptr<CConductivityModel> MakeThermalConductivityModel(const CConfig* config, unsigned short iSpecies);
88
89 /*!
90 * \brief Instantiate the right type of mass diffusivity model based on config.
91 */
92 static unique_ptr<CDiffusivityModel> MakeMassDiffusivityModel(const CConfig* config, unsigned short iSpecies);
93
94 public:
95 virtual ~CFluidModel() {}
96
97 /*!
98 * \brief Get fluid pressure.
99 */
100 su2double GetPressure() const { return Pressure; }
101
102 /*!
103 * \brief Get fluid temperature.
104 */
106
107 /*!
108 * \brief Get fluid entropy.
109 */
110 su2double GetEntropy() const { return Entropy; }
111
112 /*!
113 * \brief Get fluid internal energy.
114 */
116
117 /*!
118 * \brief Get fluid enthalpy.
119 */
120 su2double GetEnthalpy() const { return Enthalpy; }
121
122 /*!
123 * \brief Get fluid density.
124 */
125 su2double GetDensity() const { return Density; }
126
127 /*!
128 * \brief Get fluid speed of sound.
129 */
131
132 /*!
133 * \brief Get fluid speed of sound squared.
134 */
136
137 /*!
138 * \brief Get fluid specific heat at constant pressure.
139 */
140 su2double GetCp() const { return Cp; }
141
142 /*!
143 * \brief Get fluid specific heat at constant volume.
144 */
145 su2double GetCv() const { return Cv; }
146
147 /*!
148 * \brief Flamelet LUT - Get the number of transported scalars.
149 */
150 virtual inline unsigned short GetNScalars() const { return 0; }
151
152 /*!
153 * \brief Evaluate data-set for flamelet or data-driven fluid simulations.
154 * \param[in] input_scalar - data manifold query data.
155 * \param[in] lookup_type - look-up operation to be performed.
156 * \param[in] output_refs - output variables where interpolated results are stored.
157 * \param[out] Extrapolation - query data is within manifold bounds (0) or out of bounds (1).
158 */
159 virtual unsigned long EvaluateDataSet(const vector<su2double>& input_scalar, unsigned short lookup_type,
160 vector<su2double>& output_refs) {
161 return 0;
162 }
163
164 /*!
165 * \brief Get fluid dynamic viscosity.
166 */
168 LaminarViscosity->SetViscosity(Temperature, Density);
169 Mu = LaminarViscosity->GetViscosity();
170 dmudrho_T = LaminarViscosity->Getdmudrho_T();
171 dmudT_rho = LaminarViscosity->GetdmudT_rho();
172 return Mu;
173 }
174
175 /*!
176 * \brief Get fluid thermal conductivity.
177 */
180 Kt = ThermalConductivity->GetConductivity();
181 dktdrho_T = ThermalConductivity->Getdktdrho_T();
182 dktdT_rho = ThermalConductivity->GetdktdT_rho();
183 return Kt;
184 }
185
186 /*!
187 * \brief Get fluid mass diffusivity.
188 */
189 inline virtual su2double GetMassDiffusivity(int iVar) {
190 MassDiffusivity->SetDiffusivity(Density, Mu, Cp, Kt);
191 mass_diffusivity = MassDiffusivity->GetDiffusivity();
192 return mass_diffusivity;
193 }
194
195 /*!
196 * \brief Get the enthalpy diffusivity terms for all species being solved.
197 *
198 * This function computes and retrieves the enthalpy diffusion terms required in the energy equation
199 * for multicomponent flows.
200 *
201 * \param[in,out] enthalpy_diffusions - Array containing the enthalpy diffusion terms for all
202 * species to be solved. The size of \p enthalpy_diffusions must be at least (n_species_mixture - 1),
203 * corresponding to the number of species transport equations in the system.
204 */
205 virtual void GetEnthalpyDiffusivity(su2double* enthalpy_diffusions = nullptr) const {}
206
207 /*!
208 * \brief Get the gradient of enthalpy diffusivity terms for all species being solved.
209 *
210 * This function computes and retrieves the gradient of the enthalpy diffusion terms with respect to temperature.
211 * These terms are required for implicit computations when solving the energy equation for multicomponent flows.
212 *
213 * \param[in,out] grad_enthalpy_diffusions - Array containing the gradient of enthalpy diffusion terms for all
214 * species to be solved. The size of \p grad_enthalpy_diffusions must be at least (n_species_mixture - 1),
215 * corresponding to the number of species transport equations in the system.
216 */
217 virtual void GetGradEnthalpyDiffusivity(su2double* grad_enthalpy_diffusions = nullptr) const {}
218
219 /*!
220 * \brief Get fluid pressure partial derivative.
221 */
222 su2double GetdPdrho_e() const { return dPdrho_e; }
223
224 /*!
225 * \brief Get fluid pressure partial derivative.
226 */
227 su2double GetdPde_rho() const { return dPde_rho; }
228
229 /*!
230 * \brief Get fluid temperature partial derivative.
231 */
232 su2double GetdTdrho_e() const { return dTdrho_e; }
233
234 /*!
235 * \brief Get fluid temperature partial derivative.
236 */
237 su2double GetdTde_rho() const { return dTde_rho; }
238
239 /*!
240 * \brief Get fluid enthalpy partial derivative.
241 */
242 su2double Getdhdrho_P() const { return dhdrho_P; }
243
244 /*!
245 * \brief Get fluid enthalpy partial derivative.
246 */
247 su2double GetdhdP_rho() const { return dhdP_rho; }
248
249 /*!
250 * \brief Get fluid entropy partial derivative.
251 */
252 su2double Getdsdrho_P() const { return dsdrho_P; }
253
254 /*!
255 * \brief Get fluid entropy partial derivative.
256 */
257 su2double GetdsdP_rho() const { return dsdP_rho; }
258
259 /*!
260 * \brief Get fluid dynamic viscosity partial derivative.
261 */
262 su2double Getdmudrho_T() { return LaminarViscosity->Getdmudrho_T(); }
263
264 /*!
265 * \brief Get fluid dynamic viscosity partial derivative.
266 */
267 su2double GetdmudT_rho() { return LaminarViscosity->GetdmudT_rho(); }
268
269 /*!
270 * \brief Get fluid thermal conductivity partial derivative.
271 */
272 su2double Getdktdrho_T() const { return dktdrho_T; }
273
274 /*!
275 * \brief Get fluid thermal conductivity partial derivative.
276 */
277 su2double GetdktdT_rho() const { return dktdT_rho; }
278
279 /*!
280 * \brief Set specific heat Cp model.
281 */
282 virtual void SetCpModel(const CConfig* config, su2double val_Temperature_Ref) {}
283
284 /*!
285 * \brief Set viscosity model.
286 */
287 virtual void SetLaminarViscosityModel(const CConfig* config);
288
289 /*!
290 * \brief Set thermal conductivity model.
291 */
292 virtual void SetThermalConductivityModel(const CConfig* config);
293
294 /*!
295 * \brief Set mass diffusivity model.
296 */
297 virtual void SetMassDiffusivityModel(const CConfig* config);
298
299 /*!
300 * \brief virtual member that would be different for each gas model implemented
301 * \param[in] InputSpec - Input pair for FLP calls ("e, rho").
302 * \param[in] rho - first thermodynamic variable.
303 * \param[in] e - second thermodynamic variable.
304 */
305 virtual void SetTDState_rhoe(su2double rho, su2double e) {}
306
307 /*!
308 * \brief virtual member that would be different for each gas model implemented
309 * \param[in] InputSpec - Input pair for FLP calls ("PT").
310 * \param[in] th1 - first thermodynamic variable (P).
311 * \param[in] th2 - second thermodynamic variable (T).
312 */
313 virtual void SetTDState_PT(su2double P, su2double T) {}
314
315 /*!
316 * \brief virtual member that would be different for each gas model implemented
317 * \param[in] InputSpec - Input pair for FLP calls ("Pv").
318 * \param[in] th1 - first thermodynamic variable (P).
319 * \param[in] th2 - second thermodynamic variable (v).
320 */
321 virtual void SetTDState_Prho(su2double P, su2double rho) {}
322
323 /*!
324 * \brief virtual member that would be different for each gas model implemented
325 * \param[in] InputSpec - Input pair for FLP calls ("Pv").
326 * \param[in] th1 - first thermodynamic variable (P).
327 * \param[in] th2 - second thermodynamic variable (v).
328 *
329 */
330 virtual void SetEnergy_Prho(su2double P, su2double rho) {}
331
332 /*!
333 * \brief virtual member that would be different for each gas model implemented
334 * \param[in] InputSpec - Input pair for FLP calls ("hs").
335 * \param[in] th1 - first thermodynamic variable (h).
336 * \param[in] th2 - second thermodynamic variable (s).
337 *
338 */
339 virtual void SetTDState_hs(su2double h, su2double s) {}
340
341 /*!
342 * \brief virtual member that would be different for each gas model implemented
343 * \param[in] InputSpec - Input pair for FLP calls ("rhoT").
344 * \param[in] th1 - first thermodynamic variable (rho).
345 * \param[in] th2 - second thermodynamic variable (T).
346 *
347 */
348 virtual void SetTDState_rhoT(su2double rho, su2double T) {}
349
350 /*!
351 * \brief virtual member that would be different for each gas model implemented
352 * \param[in] InputSpec - Input pair for FLP calls ("Pv").
353 * \param[in] th1 - first thermodynamic variable (P).
354 * \param[in] th2 - second thermodynamic variable (s).
355 */
356 virtual void SetTDState_Ps(su2double P, su2double s) {}
357
358 /*!
359 * \brief virtual member that would be different for each gas model implemented
360 * \param[in] InputSpec - Input pair for FLP calls ("Pv").
361 * \param[in] th1 - first thermodynamic variable (P).
362 * \param[in] th2 - second thermodynamic variable (v).
363 */
365
366 /*!
367 * \brief Virtual member.
368 * \param[in] T - Temperature value at the point.
369 */
370 virtual void SetTDState_T(su2double val_Temperature, const su2double* val_scalars = nullptr) {}
371
372 /*!
373 * \brief Virtual member.
374 * \param[in] val_enthalpy - Enthalpy value at the point.
375 * \param[in] val_scalars - Scalar mass fractions.
376 */
377 virtual void SetTDState_h(su2double val_enthalpy, const su2double* val_scalars = nullptr) {}
378
379 /*!
380 * \brief Set fluid eddy viscosity provided by a turbulence model needed for computing effective thermal conductivity.
381 */
382 void SetEddyViscosity(su2double val_Mu_Turb) { Mu_Turb = val_Mu_Turb; }
383
384 /*!
385 * \brief Set the thermodynamic pressure of the incompressible fluid models.
386 */
387 void SetPressure(su2double val_pressure) { Pressure = val_pressure; }
388
389 /*!
390 * \brief Get fluid model extrapolation instance
391 * \return Query point lies outside fluid model data range.
392 */
393 virtual unsigned long GetExtrapolation() const { return 0; }
394
395 /*!
396 * \brief Get the state of the Preferential diffusion model for flamelet simulations.
397 * \return True if preferential diffusion model is active, false otherwise.
398 */
399 virtual bool GetPreferentialDiffusion() const { return false; }
400
401 /*!
402 * \brief Get number of Newton solver iterations.
403 * \return Newton solver iteration count at termination.
404 */
405 virtual unsigned long GetnIter_Newton() { return 0; }
406};
Defines an interface class for thermal conductivity models.
Interface class for defining mass diffusivity models.
Interface class for defining laminar viscosity models.
Main class for defining the problem; basically this class reads the configuration file,...
Definition CConfig.hpp:64
Main class for defining the Thermo-Physical Model.
Definition CFluidModel.hpp:47
su2double Getdktdrho_T() const
Get fluid thermal conductivity partial derivative.
Definition CFluidModel.hpp:272
su2double StaticEnergy
Internal Energy.
Definition CFluidModel.hpp:49
su2double Entropy
Entropy.
Definition CFluidModel.hpp:51
su2double dmudrho_T
Partial derivative of viscosity w.r.t. density.
Definition CFluidModel.hpp:68
su2double Mu_Turb
Eddy viscosity provided by a turbulence model.
Definition CFluidModel.hpp:67
virtual void SetTDState_rhoe(su2double rho, su2double e)
virtual member that would be different for each gas model implemented
Definition CFluidModel.hpp:305
virtual void SetCpModel(const CConfig *config, su2double val_Temperature_Ref)
Set specific heat Cp model.
Definition CFluidModel.hpp:282
su2double Cp
Specific Heat Capacity at constant pressure.
Definition CFluidModel.hpp:64
su2double GetSoundSpeed() const
Get fluid speed of sound.
Definition CFluidModel.hpp:130
su2double GetEntropy() const
Get fluid entropy.
Definition CFluidModel.hpp:110
su2double Getdhdrho_P() const
Get fluid enthalpy partial derivative.
Definition CFluidModel.hpp:242
su2double Temperature
Temperature.
Definition CFluidModel.hpp:55
su2double dmudT_rho
Partial derivative of viscosity w.r.t. temperature.
Definition CFluidModel.hpp:69
virtual void ComputeDerivativeNRBC_Prho(su2double P, su2double rho)
virtual member that would be different for each gas model implemented
Definition CFluidModel.hpp:364
su2double GetdPdrho_e() const
Get fluid pressure partial derivative.
Definition CFluidModel.hpp:222
void SetPressure(su2double val_pressure)
Set the thermodynamic pressure of the incompressible fluid models.
Definition CFluidModel.hpp:387
su2double dktdT_rho
Partial derivative of conductivity w.r.t. temperature.
Definition CFluidModel.hpp:72
virtual void SetTDState_PT(su2double P, su2double T)
virtual member that would be different for each gas model implemented
Definition CFluidModel.hpp:313
virtual su2double GetThermalConductivity()
Get fluid thermal conductivity.
Definition CFluidModel.hpp:178
su2double dPdrho_e
DpDd_e.
Definition CFluidModel.hpp:56
su2double mass_diffusivity
Mass Diffusivity.
Definition CFluidModel.hpp:73
su2double GetEnthalpy() const
Get fluid enthalpy.
Definition CFluidModel.hpp:120
su2double dPde_rho
DpDe_d.
Definition CFluidModel.hpp:57
virtual void SetLaminarViscosityModel(const CConfig *config)
Set viscosity model.
Definition CFluidModel.cpp:71
su2double Getdsdrho_P() const
Get fluid entropy partial derivative.
Definition CFluidModel.hpp:252
su2double dTdrho_e
DTDd_e.
Definition CFluidModel.hpp:58
su2double Getdmudrho_T()
Get fluid dynamic viscosity partial derivative.
Definition CFluidModel.hpp:262
su2double GetdktdT_rho() const
Get fluid thermal conductivity partial derivative.
Definition CFluidModel.hpp:277
su2double GetSoundSpeed2() const
Get fluid speed of sound squared.
Definition CFluidModel.hpp:135
su2double Cv
Specific Heat Capacity at constant volume.
Definition CFluidModel.hpp:65
virtual su2double GetMassDiffusivity(int iVar)
Get fluid mass diffusivity.
Definition CFluidModel.hpp:189
virtual void SetThermalConductivityModel(const CConfig *config)
Set thermal conductivity model.
Definition CFluidModel.cpp:124
unique_ptr< CDiffusivityModel > MassDiffusivity
Mass Diffusivity Model.
Definition CFluidModel.hpp:77
virtual unsigned short GetNScalars() const
Flamelet LUT - Get the number of transported scalars.
Definition CFluidModel.hpp:150
su2double Enthalpy
Enthalpy.
Definition CFluidModel.hpp:50
virtual void SetTDState_Prho(su2double P, su2double rho)
virtual member that would be different for each gas model implemented
Definition CFluidModel.hpp:321
virtual void GetEnthalpyDiffusivity(su2double *enthalpy_diffusions=nullptr) const
Get the enthalpy diffusivity terms for all species being solved.
Definition CFluidModel.hpp:205
su2double dTde_rho
DTDe_d.
Definition CFluidModel.hpp:59
su2double Pressure
Pressure.
Definition CFluidModel.hpp:53
static unique_ptr< CConductivityModel > MakeThermalConductivityModel(const CConfig *config, unsigned short iSpecies)
Instantiate the right type of conductivity model based on config.
Definition CFluidModel.cpp:75
static unique_ptr< CViscosityModel > MakeLaminarViscosityModel(const CConfig *config, unsigned short iSpecies)
Instantiate the right type of viscosity model based on config.
Definition CFluidModel.cpp:49
su2double GetdPde_rho() const
Get fluid pressure partial derivative.
Definition CFluidModel.hpp:227
su2double GetdTde_rho() const
Get fluid temperature partial derivative.
Definition CFluidModel.hpp:237
su2double GetCp() const
Get fluid specific heat at constant pressure.
Definition CFluidModel.hpp:140
virtual unsigned long GetExtrapolation() const
Get fluid model extrapolation instance.
Definition CFluidModel.hpp:393
su2double dsdrho_P
DsDrho_p.
Definition CFluidModel.hpp:62
static unique_ptr< CDiffusivityModel > MakeMassDiffusivityModel(const CConfig *config, unsigned short iSpecies)
Instantiate the right type of mass diffusivity model based on config.
Definition CFluidModel.cpp:128
su2double GetCv() const
Get fluid specific heat at constant volume.
Definition CFluidModel.hpp:145
virtual void SetEnergy_Prho(su2double P, su2double rho)
virtual member that would be different for each gas model implemented
Definition CFluidModel.hpp:330
unique_ptr< CViscosityModel > LaminarViscosity
Laminar Viscosity Model.
Definition CFluidModel.hpp:75
su2double GetdhdP_rho() const
Get fluid enthalpy partial derivative.
Definition CFluidModel.hpp:247
virtual void SetTDState_T(su2double val_Temperature, const su2double *val_scalars=nullptr)
Virtual member.
Definition CFluidModel.hpp:370
su2double Density
Density.
Definition CFluidModel.hpp:52
su2double GetTemperature() const
Get fluid temperature.
Definition CFluidModel.hpp:105
virtual void SetTDState_h(su2double val_enthalpy, const su2double *val_scalars=nullptr)
Virtual member.
Definition CFluidModel.hpp:377
void SetEddyViscosity(su2double val_Mu_Turb)
Set fluid eddy viscosity provided by a turbulence model needed for computing effective thermal conduc...
Definition CFluidModel.hpp:382
su2double GetdmudT_rho()
Get fluid dynamic viscosity partial derivative.
Definition CFluidModel.hpp:267
virtual bool GetPreferentialDiffusion() const
Get the state of the Preferential diffusion model for flamelet simulations.
Definition CFluidModel.hpp:399
virtual ~CFluidModel()
Definition CFluidModel.hpp:95
virtual unsigned long GetnIter_Newton()
Get number of Newton solver iterations.
Definition CFluidModel.hpp:405
virtual su2double GetLaminarViscosity()
Get fluid dynamic viscosity.
Definition CFluidModel.hpp:167
virtual void SetTDState_hs(su2double h, su2double s)
virtual member that would be different for each gas model implemented
Definition CFluidModel.hpp:339
su2double GetdTdrho_e() const
Get fluid temperature partial derivative.
Definition CFluidModel.hpp:232
virtual void SetMassDiffusivityModel(const CConfig *config)
Set mass diffusivity model.
Definition CFluidModel.cpp:153
su2double GetStaticEnergy() const
Get fluid internal energy.
Definition CFluidModel.hpp:115
su2double dhdP_rho
DhDp_rho.
Definition CFluidModel.hpp:61
su2double dktdrho_T
Partial derivative of conductivity w.r.t. density.
Definition CFluidModel.hpp:71
su2double dsdP_rho
DsDp_rho.
Definition CFluidModel.hpp:63
su2double Mu
Laminar viscosity.
Definition CFluidModel.hpp:66
virtual void GetGradEnthalpyDiffusivity(su2double *grad_enthalpy_diffusions=nullptr) const
Get the gradient of enthalpy diffusivity terms for all species being solved.
Definition CFluidModel.hpp:217
su2double GetDensity() const
Get fluid density.
Definition CFluidModel.hpp:125
virtual void SetTDState_Ps(su2double P, su2double s)
virtual member that would be different for each gas model implemented
Definition CFluidModel.hpp:356
unique_ptr< CConductivityModel > ThermalConductivity
Thermal Conductivity Model.
Definition CFluidModel.hpp:76
su2double Kt
Thermal conductivity.
Definition CFluidModel.hpp:70
su2double GetPressure() const
Get fluid pressure.
Definition CFluidModel.hpp:100
su2double dhdrho_P
DhDrho_p.
Definition CFluidModel.hpp:60
virtual void SetTDState_rhoT(su2double rho, su2double T)
virtual member that would be different for each gas model implemented
Definition CFluidModel.hpp:348
su2double SoundSpeed2
SpeedSound.
Definition CFluidModel.hpp:54
virtual unsigned long EvaluateDataSet(const vector< su2double > &input_scalar, unsigned short lookup_type, vector< su2double > &output_refs)
Evaluate data-set for flamelet or data-driven fluid simulations.
Definition CFluidModel.hpp:159
su2double GetdsdP_rho() const
Get fluid entropy partial derivative.
Definition CFluidModel.hpp:257
Look up table.
Definition CLookUpTable.hpp:43
passivedouble su2double
Definition code_config.hpp:181
FORCEINLINE ARRAY_T sqrt(const ARRAY_T &x)
Definition special_vectorization.hpp:116