TrioCFD 1.9.8
TrioCFD documentation
Loading...
Searching...
No Matches
Convection_diffusion_turbulence_multiphase.h
1/****************************************************************************
2* Copyright (c) 2021, 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 Convection_diffusion_turbulence_multiphase_included
17#define Convection_diffusion_turbulence_multiphase_included
18
19#include <Convection_Diffusion_std.h>
20#include <Operateur_Grad.h>
21#include <Fluide_base.h>
22#include <TRUST_Ref.h>
23
24/*! @brief classe Convection_diffusion_turbulence_multiphase Equation de transport des quantites turbulentes (k, omega, epsilon, tau)
25 *
26 * @sa Conv_Diffusion_std Convection_Diffusion_Temperature
27 */
29{
31
32public :
33
34 void completer() override;
35 inline const Champ_Inc_base& inconnue() const override;
36 inline Champ_Inc_base& inconnue() override;
37 void associer_milieu_base(const Milieu_base& ) override;
38 const Milieu_base& milieu() const override;
39 Milieu_base& milieu() override;
40 int impr(Sortie& os) const override;
41 const Motcle& domaine_application() const override;
42 bool positive_unkown() override {return true;};
43 inline const Operateur_Grad& operateur_gradient_inconnue() const { return Op_Grad_;}
44
45protected :
46
48 OBS_PTR(Fluide_base) le_fluide;
49 Operateur_Grad Op_Grad_; // Pour calculer le gradient en VDF
50
51};
52
53
54
55
56/*! @brief Renvoie le champ inconnue representant l'inconnue (k, omega, epsilon, tau) (version const)
57 *
58 * @return (Champ_Inc_base&) le champ inconnue representant la temperature (GP) ou l'enthalpie (GR)
59 */
61{
62 return l_inco_ch;
63}
64
65
66/*! @brief Renvoie le champ inconnue representant l'inconnue (k, omega, epsilon, tau)
67 *
68 * @return (Champ_Inc_base&) le champ inconnue representant la temperature (GP) ou l'enthalpie (GR)
69 */
74
75#endif
Classe Champ_Inc_base.
classe Convection_Diffusion_std Cette classe est la base des equations modelisant le transport
classe Convection_diffusion_turbulence_multiphase Equation de transport des quantites turbulentes (k,...
int impr(Sortie &os) const override
Impression des flux sur les bords sur un flot de sortie.
const Milieu_base & milieu() const override
Renvoie le milieu physique de l'equation.
void completer() override
Complete la construction (initialisation) des objets associes a l'equation.
void associer_milieu_base(const Milieu_base &) override
Associe un milieu physique a l'equation, le milieu est en fait caste en Fluide_base ou en Fluide_Ostw...
const Champ_Inc_base & inconnue() const override
Renvoie le champ inconnue representant l'inconnue (k, omega, epsilon, tau) (version const).
const Motcle & domaine_application() const override
Renvoie le nom du domaine d'application de l'equation.
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 Sortie
Definition Objet_U.h:75
Classe Operateur_Grad Classe generique de la hierarchie des operateurs calculant le gradient.