TrioCFD 1.9.8
TrioCFD documentation
Loading...
Searching...
No Matches
Transport_Fluctuation_Temperature_W.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//////////////////////////////////////////////////////////////////////////////
17
18#ifndef Transport_Fluctuation_Temperature_W_included
19#define Transport_Fluctuation_Temperature_W_included
20
21#include <Convection_Diffusion_std.h>
22#include <Op_Diff_Fluctu_Temp_Base.h>
23#include <TRUST_Ref.h>
24
25class Fluide_base;
27class Motcle;
28
30{
31
32 Declare_instanciable_sans_constructeur(Transport_Fluctuation_Temperature_W);
33
34public :
35
37 void set_param(Param& titi) const override;
38 int lire_motcle_non_standard(const Motcle&, Entree&) override;
39 void associer_milieu_base(const Milieu_base& ) override;
41 void discretiser() override;
42 void completer() override;
43 const Milieu_base& milieu() const override;
44 Milieu_base& milieu() override;
47 int nombre_d_operateurs() const override;
48 const Operateur& operateur(int) const override;
49 Operateur& operateur(int) override;
50 const Champ_Inc_base& inconnue() const override;
51 Champ_Inc_base& inconnue() override;
52
53
54
55 const Motcle& domaine_application() const override;
57
58protected :
59
60 OWN_PTR(Champ_Inc_base) le_champ_Fluctu_Temperature;
62
65
66
67
68};
69
70/*! @brief renvoie le champ inconnue.
71 *
72 */
74{
75 return le_champ_Fluctu_Temperature;
76}
77
78/*! @brief renvoie le champ inconnue.
79 *
80 */
82{
83 return le_champ_Fluctu_Temperature;
84}
85
87{
88 assert(mon_modele_Fluctu_Temp);
89 return mon_modele_Fluctu_Temp.valeur();
90}
91
93{
94 assert(mon_modele_Fluctu_Temp);
95 return mon_modele_Fluctu_Temp.valeur();
96}
97
98#endif
99
100
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 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
OBS_PTR(Modele_turbulence_scal_Fluctuation_Temperature_W) mon_modele_Fluctu_Temp
OWN_PTR(Champ_Inc_base) le_champ_Fluctu_Temperature
const Champ_Inc_base & inconnue() const override
renvoie le champ inconnue.
OBS_PTR(Fluide_base) le_fluide
const Operateur & operateur(int) const override
surcharge de la methode d'Equation_base.
void completer() override
Complete la construction (initialisation) des objets associes a l'equation.
const Motcle & domaine_application() const override
Renvoie "indetermine" Navier_Stokes_standard par exemple surcharge cette methode.
int nombre_d_operateurs() const override
surcharge de la methode d'Equation_base.
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.
void associer_milieu_base(const Milieu_base &) override
association entre Transport_Fluctuation_Temperature_W et Milieu_base.
void associer_modele_turbulence(const Modele_turbulence_scal_Fluctuation_Temperature_W &)
void discretiser() override
Discretise l'equation.
const Modele_turbulence_scal_Fluctuation_Temperature_W & modele_turbulence() const