TrioCFD 1.9.9_beta
TrioCFD documentation
Loading...
Searching...
No Matches
Transport_Flux_Chaleur_Turbulente.h
1/****************************************************************************
2* Copyright (c) 2019, CEA
3* All rights reserved.
4*
5* Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
6* 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
7* 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
8* 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
9*
10* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
11* IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
12* OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
13*
14*****************************************************************************/
15
16#ifndef Transport_Flux_Chaleur_Turbulente_included
17#define Transport_Flux_Chaleur_Turbulente_included
18
19#include <Convection_Diffusion_std.h>
20#include <Op_Diff_Flux_Chaleur_Turb_Base.h>
21#include <TRUST_Ref.h>
22
23class Fluide_base;
25class Motcle;
26
28{
29
30 Declare_instanciable_sans_constructeur(Transport_Flux_Chaleur_Turbulente);
31
32public :
33
35 void set_param(Param& titi) const override;
36 int lire_motcle_non_standard(const Motcle&, Entree&) override;
37 inline void associer_vitesse(const Champ_Inc_base& );
38 void associer_milieu_base(const Milieu_base& ) override;
40 void discretiser() override;
41 void completer() override;
42 const Milieu_base& milieu() const override;
43 Milieu_base& milieu() override;
46 int nombre_d_operateurs() const override;
47 const Operateur& operateur(int) const override;
48 Operateur& operateur(int) override;
50 const Champ_Inc_base& inconnue() const override;
51 Champ_Inc_base& inconnue() override;
52
53 /////////////////////////////////////////////////////
54 const Motcle& domaine_application() const override;
56
57protected :
58
59 OWN_PTR(Champ_Inc_base) le_Flux_Chaleur_Turbulente;
62
64 OBS_PTR(Champ_Inc_base) la_vitesse_transportante;
66
67
68};
69
70/*! @brief renvoie le champ inconnue.
71 *
72 */
74{
75 return le_Flux_Chaleur_Turbulente;
76}
77
78/*! @brief renvoie le champ inconnue.
79 *
80 */
82{
83 return le_Flux_Chaleur_Turbulente;
84}
85
87{
88 assert(mon_modele_fluctu);
89 return mon_modele_fluctu.valeur();
90}
91
93{
94 assert(mon_modele_fluctu);
95 return mon_modele_fluctu.valeur();
96}
97
99{
100 la_vitesse_transportante = vit;
101}
102
103#endif
104
105
Class Champ_Inc_base.
Convection_Diffusion_std This class is the base for equations modelling the transport.
Base class for an incompressible fluid and its properties:
Definition Fluide_base.h:36
Milieu_base This class is the base of the (physical) medium hierarchy.
Definition Milieu_base.h:50
A character string (Nom) in uppercase.
Definition Motcle.h:26
friend class Entree
Definition Objet_U.h:71
Operateur_Conv Generic class of the hierarchy of operators representing a convection term.
class Operateur Generic class of the operator hierarchy.
Definition Operateur.h:39
Helper class to factorize the readOn method of Objet_U classes.
Definition Param.h:112
const Motcle & domaine_application() const override
Returns "indeterminate" Navier_Stokes_standard for example overrides this method.
OBS_PTR(Champ_Inc_base) la_vitesse_transportante
void associer_modele_turbulence(const Modele_turbulence_scal_Fluctuation_Temperature &)
OBS_PTR(Fluide_base) le_fluide
void discretiser() override
Discretizes the equation.
void associer_milieu_base(const Milieu_base &) override
int nombre_d_operateurs() const override
surcharge de la methode d'Equation_base.
OWN_PTR(Champ_Inc_base) le_Flux_Chaleur_Turbulente
OBS_PTR(Modele_turbulence_scal_Fluctuation_Temperature) mon_modele_fluctu
int lire_motcle_non_standard(const Motcle &, Entree &) override
Reads non-simple-type parameters of an Objet_U from an input stream.
const Modele_turbulence_scal_Fluctuation_Temperature & modele_turbulence() const
void completer() override
Completes the construction (initialization) of objects associated with the equation.
const Champ_Inc_base & inconnue() const override
renvoie le champ inconnue.
const Champ_Inc_base & vitesse_transportante()
const Operateur & operateur(int) const override
surcharge de la methode d'Equation_base.