TrioCFD 1.9.8
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
Classe Champ_Inc_base.
classe Convection_Diffusion_std Cette classe est la base des equations modelisant le transport
classe Fluide_base Cette classe represente un d'un fluide incompressible ainsi que
Definition Fluide_base.h:38
classe Milieu_base Cette classe est la base de la hierarchie des milieux (physiques)
Definition Milieu_base.h:50
Une chaine de caractere (Nom) en majuscules.
Definition Motcle.h:26
friend class Entree
Definition Objet_U.h:76
classe Operateur_Conv Classe generique de la hierarchie des operateurs representant un terme
classe Operateur Classe generique de la hierarchie des operateurs.
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
Renvoie "indetermine" Navier_Stokes_standard par exemple surcharge cette methode.
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
Discretise l'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
Lecture des parametres de type non simple d'un objet_U a partir d'un flot d'entree.
const Modele_turbulence_scal_Fluctuation_Temperature & modele_turbulence() const
void completer() override
Complete la construction (initialisation) des objets associes a l'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.