TrioCFD 1.9.8
TrioCFD documentation
Loading...
Searching...
No Matches
Transport_Fluctuation_Temperature_W_Bas_Re.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_Bas_Re_included
19#define Transport_Fluctuation_Temperature_W_Bas_Re_included
20
21#include <Fluide_Incompressible.h>
22#include <Transport_Fluctuation_Temperature_W.h>
23#include <TRUST_Ref.h>
24
26
27class Motcle;
28
30{
31
33
34public :
35
36 void set_param(Param& titi) const override;
37 int lire_motcle_non_standard(const Motcle&, Entree&) override;
39 inline const Milieu_base& milieu() const override;
40 inline Milieu_base& milieu() override;
43 const Operateur& operateur(int) const override;
44 Operateur& operateur(int) override;
45 // int a_pour_Champ_Inc(const Motcle&, OBS_PTR(Champ_base)& ) const;
46
47protected :
49};
50
51
52// Fonctions inline:
53
54
56{
57 if(!le_fluide)
58 {
59 Cerr << "Il semble que vous n'ayez pas associe "
60 << "Transport_Fluctuation_Temperature_W_Bas_Re avec un fluide" << finl;
62 }
63 return le_fluide.valeur();
64}
65
67{
68 if(!le_fluide)
69 {
70 Cerr << "Il semble que vous n'ayez pas associe "
71 << "Transport_Fluctuation_Temperature_W_Bas_Re avec un fluide" << finl;
73 }
74 return le_fluide.valeur();
75}
76
77
78
80{
81 assert(mon_modele_Fluctu_Temp);
82 return mon_modele_Fluctu_Temp.valeur();
83}
84
86{
87
88 assert(mon_modele_Fluctu_Temp);
89 return mon_modele_Fluctu_Temp.valeur();
90}
91
92
93#endif
94
95
Class defining operators and methods for all reading operation in an input flow (file,...
Definition Entree.h:42
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
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
static void exit(int exit_code=-1)
Routine de sortie de TRUST dans une region Kokkos.
Definition Process.cpp:455
OBS_PTR(Modele_turbulence_scal_Fluctuation_Temperature_W_Bas_Re) mon_modele_Fluctu_Temp
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_modele_turbulence(const Modele_turbulence_scal_Fluctuation_Temperature_W_Bas_Re &)
Modele_turbulence_scal_Fluctuation_Temperature_W_Bas_Re & modele_turbulence()
const Operateur & operateur(int) const override
surcharge de la methode d'Equation_base.