TrioCFD 1.9.8
TrioCFD documentation
Loading...
Searching...
No Matches
Transport_K_Eps_Realisable.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_Realisable_included
21#define Transport_K_Eps_Realisable_included
22
23#include <Modele_Fonc_Realisable_base.h>
24#include <Transport_K_Eps_base.h>
25#include <TRUST_Ref.h>
26
27class Motcle;
28
30{
31
32 Declare_instanciable(Transport_K_Eps_Realisable);
33
34public :
35
36 void set_param(Param& titi) const override;
37 int lire_motcle_non_standard(const Motcle&, Entree&) override;
38 virtual const Champ_Don_base& diffusivite_pour_transport() const;
39 virtual const Champ_base& vitesse_pour_transport() const;
40 int nombre_d_operateurs() const override;
41 const Operateur& operateur(int) const override;
42 Operateur& operateur(int) override;
43
44 void associer_milieu_base(const Milieu_base&) override;
46 inline const OWN_PTR(Modele_Fonc_Realisable_base)& modele_fonc() const;
47 inline OWN_PTR(Modele_Fonc_Realisable_base)& modele_fonc();
48// inline const Champ_Inc_base& vitesse_transportante();
49 const Motcle& domaine_application() const override;
50 void completer() override;
51
52protected:
54
55 OBS_PTR(Champ_Inc_base) inco_eqn_associee;
56 OWN_PTR(Champ_Don_base) Champ_don_nul_; // on y met 0 si on ne veut pas de nu
57
58private :
59
61
62};
63
64
65// Fonctions inline:
66
67inline const OWN_PTR(Modele_Fonc_Realisable_base)& Transport_K_Eps_Realisable::modele_fonc() const
68{
69 return mon_modele_fonc.valeur();
70}
71
72inline OWN_PTR(Modele_Fonc_Realisable_base)& Transport_K_Eps_Realisable::modele_fonc()
73{
74 return mon_modele_fonc.valeur();
75}
76
77
78#endif
79
80
classe Champ_Don_base classe de base des Champs donnes (non calcules)
Classe Champ_Inc_base.
classe Champ_base Cette classe est la base de la hierarchie des champs.
Definition Champ_base.h:43
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
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
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
void set_param(Param &titi) const override
const Motcle & domaine_application() const override
Renvoie "indetermine" Navier_Stokes_standard par exemple surcharge cette methode.
virtual const Champ_Don_base & diffusivite_pour_transport() const
void associer_milieu_base(const Milieu_base &) override
Associe un milieu physique a l'equation.
OWN_PTR(Modele_Fonc_Realisable_base) &modele_fonc()
void completer() override
Complete la construction (initialisation) des objets associes a l'equation.
virtual const Champ_base & vitesse_pour_transport() const
void associer_modele_turbulence(const Modele_turbulence_hyd_2_eq_base &) override
const OWN_PTR(Modele_Fonc_Realisable_base) &modele_fonc() const
OBS_PTR(Champ_Inc_base) inco_eqn_associee
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.
OWN_PTR(Champ_Don_base) Champ_don_nul_
const Operateur & operateur(int) const override
renvoie terme_diffusif si i=0 renvoie terme_convectif si i=1
Classe Transport_K_Eps_base Classe de base pour les equations.