TrioCFD 1.9.8
TrioCFD documentation
Loading...
Searching...
No Matches
Transport_K_Eps_Bas_Reynolds.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// .SECTION voir aussi
17// Transport_K_Eps
18//////////////////////////////////////////////////////////////////////////////
19
20#ifndef Transport_K_Eps_Bas_Reynolds_included
21#define Transport_K_Eps_Bas_Reynolds_included
22
23#include <Transport_K_Eps_non_std.h>
24#include <Modele_Fonc_Bas_Reynolds_Base.h>
25#include <TRUST_Ref.h>
26
27class Motcle;
28
30{
31
32 Declare_instanciable(Transport_K_Eps_Bas_Reynolds);
33
34public :
35
36 void associer_milieu_base(const Milieu_base&) override;
38 inline const OWN_PTR(Modele_Fonc_Bas_Reynolds_Base)& modele_fonc() const;
39 inline OWN_PTR(Modele_Fonc_Bas_Reynolds_Base)& modele_fonc();
41 const Motcle& domaine_application() const override;
42 void completer() override;
43
44private :
45
46 OBS_PTR(OWN_PTR(Modele_Fonc_Bas_Reynolds_Base)) mon_modele_fonc;
47
48};
49
50
51// Fonctions inline:
52
53inline const OWN_PTR(Modele_Fonc_Bas_Reynolds_Base)& Transport_K_Eps_Bas_Reynolds::modele_fonc() const
54{
55 return mon_modele_fonc.valeur();
56}
57
58inline OWN_PTR(Modele_Fonc_Bas_Reynolds_Base)& Transport_K_Eps_Bas_Reynolds::modele_fonc()
59{
60 return mon_modele_fonc.valeur();
61}
62
63
64#endif
65
66
Classe Champ_Inc_base.
classe Milieu_base Cette classe est la base de la hierarchie des milieux (physiques)
Definition Milieu_base.h:50
Classe Modele_turbulence_hyd_2_eq_base Classe de base des modeles de type RANS a deux equations.
Une chaine de caractere (Nom) en majuscules.
Definition Motcle.h:26
void associer_milieu_base(const Milieu_base &) override
Associe un milieu physique a l'equation.
void associer_modele_turbulence(const Modele_turbulence_hyd_2_eq_base &) override
void completer() override
Complete la construction (initialisation) des objets associes a l'equation.
const Champ_Inc_base & vitesse_transportante()
const Motcle & domaine_application() const override
Renvoie "indetermine" Navier_Stokes_standard par exemple surcharge cette methode.
const OWN_PTR(Modele_Fonc_Bas_Reynolds_Base) &modele_fonc() const
OWN_PTR(Modele_Fonc_Bas_Reynolds_Base) &modele_fonc()
Classe Transport_K_Eps_non_std Classe de base pour les equations de transport.