46template <
class Double,
class FlowIndices,
int nDim,
size_t nVar = 1>
48 :
public CUpwScalarBase<Double, CScalarFlux_Heat<Double, FlowIndices, nDim, nVar>, FlowIndices, nDim, nVar> {
58 flow(config.GetFluidProblem()),
59 prandtlTurb(config.GetPrandtl_Turb()),
60 constDiffusivity(config.GetThermalDiffusivity()) {}
65 template <
class VariableType>
78 D(0) = 0.5 * (k_i / cp_i + muT_i / prandtlTurb + k_j / cp_j + muT_j / prandtlTurb);
80 D(0) = constDiffusivity;
A templated matrix/vector-like object.
Definition C2DContainer.hpp:374
Main class for defining the problem; basically this class reads the configuration file,...
Definition CConfig.hpp:64
su2double GetPrimitive(unsigned long iPoint, unsigned long iVar) const final
Get a primitive variable.
Definition CFlowVariable.hpp:95
Convection and diffusion of temperature, non-conservative, with a diagonal (single-equation) diffusio...
Definition heat_edge_flux.hpp:48
typename Base::Int Int
Definition heat_edge_flux.hpp:54
static constexpr bool DiagonalDiffusion
Definition heat_edge_flux.hpp:51
CScalarFlux_Heat(const CConfig &config)
Definition heat_edge_flux.hpp:56
static constexpr bool Conservative
Definition heat_edge_flux.hpp:50
CPair< Vector< Double, nVar > > coefficients(const FlowIndices &idx, Int iPoint, const EdgeSide< VariableType > &side_i, Int jPoint, const EdgeSide< VariableType > &side_j, const CPair< Double > &) const
Thermal diffusivity, an i/j average, identical for both edge sides (TSL Jacobian).
Definition heat_edge_flux.hpp:66
Upwind convection and diffusion of a transported scalar, accumulated into one residual,...
Definition scalar_edge_flux.hpp:316
typename CLaneTraits< Double_ >::Int Int
Definition scalar_edge_flux.hpp:319
Double_ Double
Definition scalar_edge_flux.hpp:318
const FlowIndices idx
Definition scalar_edge_flux.hpp:338
#define FORCEINLINE
Definition code_config.hpp:44
passivedouble su2double
Definition code_config.hpp:181
Double gatherVariables(Int iPoint, const Container &vars, size_t iVar=0)
Gather a single variable, from column iVar (0 by default) of row iPoint of a 2D container,...
Definition util.hpp:277
Model-agnostic convection and diffusion of a transported scalar, shared by every scalar solver (turbu...
Simple pair type for i/j variables.
Definition util.hpp:130
Locates the data of one endpoint of an edge.
Definition scalar_edge_flux.hpp:42
const CFlowVariable * flowNodes
Flow variables, null for solid heat transfer.
Definition scalar_edge_flux.hpp:44