TrioCFD 1.9.8
TrioCFD documentation
Loading...
Searching...
No Matches
Transport_K_ou_Eps_Realisable.h
1/****************************************************************************
2* Copyright (c) 2021 - 2022, 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_K_ou_Eps_Realisable_included
17#define Transport_K_ou_Eps_Realisable_included
18
19#include <Transport_K_ou_Eps_base.h>
20#include <Operateur_Conv.h>
21
22
23class Motcle;
24
25/*! @brief classe Transport_K_ou_Epss_Realisable Cette classe represente l'equation de transport de l'energie cinetique
26 *
27 * turbulente K et du taux de dissipation epsilon (eps) associee au modele
28 * de turbulence (k,eps) realisable.
29 * On traite en une seule equation le transport des deux
30 * grandeurs turbulentes. Il s'agit donc d'une equation vectorielle, dont
31 * le champ inconnue possede 2 composantes: K et epsilon.
32 * On instanciera un objet de cette classe uniquement si
33 * on utilise le modele (k,eps) pour traiter la turbulence en mode "bicephale"
34 *
35 * @sa Equation_base
36 */
38{
39
40 Declare_instanciable(Transport_K_ou_Eps_Realisable);
41
42public:
43 void set_param(Param& param) const override;
44 int lire_motcle_non_standard(const Motcle&, Entree&) override;
45 inline void associer_Champ_Inconnu(const Champ_Inc_base& );
47 int nombre_d_operateurs() const override;
48 const Operateur& operateur(int) const override;
49 Operateur& operateur(int) override;
50 const Motcle& domaine_application() const override;
51 DoubleTab& corriger_derivee_impl(DoubleTab& d) override;
52
53protected :
55
56
57 OBS_PTR(Champ_Inc_base) inco_eqn_associee;
58 OWN_PTR(Champ_Don_base) Champ_don_nul_; // on y met 0 si on ne veut pas de nu
59
60};
61
62
63/*! @brief Associe un champ de vitesse (transportante)a l'equation.
64 *
65 * @param (Champ_Inc_base& vit) le champ de vitesse a associer a l'equation
66 */
68{
69 inco_eqn_associee = vit;
70}
71
72#endif
73
74
classe Champ_Don_base classe de base des Champs donnes (non calcules)
Classe Champ_Inc_base.
Class defining operators and methods for all reading operation in an input flow (file,...
Definition Entree.h:42
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
classe Transport_K_ou_Epss_Realisable Cette classe represente l'equation de transport de l'energie ci...
OBS_PTR(Champ_Inc_base) inco_eqn_associee
DoubleTab & corriger_derivee_impl(DoubleTab &d) override
int nombre_d_operateurs() const override
Renvoie le nombre d'operateurs de l'equation.
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 set_param(Param &param) const override
const Operateur & operateur(int) const override
Renvoie l'operateur specifie par son index: renvoie terme_diffusif si i = 0.
OWN_PTR(Champ_Don_base) Champ_don_nul_
void associer_Champ_Inconnu(const Champ_Inc_base &)
Associe un champ de vitesse (transportante)a l'equation.
void associer_modele_turbulence(const Modele_turbulence_hyd_2_eq_base &) override
Associe un modele de turbulence K-epsilon a l'equation.
const Motcle & domaine_application() const override
Renvoie le nom du domaine d'application de l'equation.
Classe de base pour l'equation de transport des modeles k_Epsilon dans une approche ou K et Epsilon s...