TrioCFD 1.9.9_beta
TrioCFD documentation
Loading...
Searching...
No Matches
Source_Transport_Flux_Chaleur_Turbulente_VDF_Face.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#ifndef Source_Transport_Flux_Chaleur_Turbulente_VDF_Face_included
18#define Source_Transport_Flux_Chaleur_Turbulente_VDF_Face_included
19
20
21
22/*! @brief class Source_Transport_Flux_Chaleur_Turbulente_VDF_Face
23 *
24 */
25#define c1_DEFAULT 5 // Valeurs par defaut des constantes qui interviennent
26#define c2_DEFAULT 0.5 // dans le calcul des termes sources des equations
27#define c3_DEFAULT 0.33 // de transport du flux de chaleur turbulent.
28
29#include <Transport_Fluctuation_Temperature.h>
30#include <Transport_Flux_Chaleur_Turbulente.h>
31#include <TRUSTTabs_forward.h>
32#include <TRUSTTabs_forward.h>
33#include <TRUST_Ref.h>
34
35
36
37
39class Equation_base;
42
43class Probleme_base;
44class Champ_Don_base;
45class Domaine_VDF;
46class Domaine_Cl_VDF;
47class Champ_Face_VDF;
48
49// La classe derive de Source_base et peut etre d'un terme source
51{
52 Declare_instanciable_sans_constructeur(Source_Transport_Flux_Chaleur_Turbulente_VDF_Face);
53
54public :
55 void associer_pb(const Probleme_base& ) override;
56 inline Source_Transport_Flux_Chaleur_Turbulente_VDF_Face(double cte1 = c1_DEFAULT, double cte2 = c2_DEFAULT, double cte3 = c3_DEFAULT);
57
58 DoubleTab& ajouter(DoubleTab& ) const override;
59 DoubleTab& calculer(DoubleTab& ) const override;
60 DoubleTab& calculer_gteta2(const Domaine_VDF&,DoubleTab&,const DoubleTab&,double,const DoubleVect&) const;
61 DoubleTab& calculer_gteta2(const Domaine_VDF&,DoubleTab&,const DoubleTab&, const DoubleTab&,const DoubleVect&) const;
62
63 DoubleTab& calculer_uiuj(const Domaine_VDF&, const DoubleTab&, const DoubleTab&, DoubleTab&) const;
64 DoubleTab& calculer_Grad_U(const Domaine_VDF&, const DoubleTab&, const DoubleTab&, DoubleTab&) const;
65
66 void mettre_a_jour(double temps) override { }
67
68
69protected :
70
71 double C1, C2, C3;
72 OBS_PTR(Domaine_VDF) le_dom_VDF;
73 OBS_PTR(Domaine_Cl_VDF) le_dom_Cl_VDF;
74 OBS_PTR(Equation_base) eq_hydraulique;
75 OBS_PTR(Transport_K_Eps_Bas_Reynolds) mon_eq_transport_K_Eps_Bas_Re_;
76 OBS_PTR(Transport_Fluctuation_Temperature) mon_eq_transport_Fluctu_Temp_;
78 OBS_PTR(Transport_Flux_Chaleur_Turbulente) mon_eq_transport_Flux_Chaleur_Turb_;
82 void associer_domaines(const Domaine_dis_base& ,const Domaine_Cl_dis_base& ) override;
83
84};
85
87Source_Transport_Flux_Chaleur_Turbulente_VDF_Face(double cte1, double cte2, double cte3)
88 : C1(cte1), C2(cte2), C3(cte3) {}
89
90#endif
class Champ_Don_base base class of Given Fields (not calculated)
class Champ_Face_VDF
Convection_Diffusion_Temperature Special case of Convection_Diffusion_std.
class Domaine_Cl_VDF
class Domaine_Cl_dis_base Domaine_Cl_dis_base objects represent discretized boundary conditions
class Domaine_VDF
Definition Domaine_VDF.h:61
class Domaine_dis_base This class is the base of the hierarchy of discretized domains.
class Equation_base The role of an equation is the calculation of one or more fields....
class Modele_turbulence_hyd_K_Eps_Bas_Reynolds
class Probleme_base It is a Probleme_U that is not a coupling.
Source_Transport_Flux_Chaleur_Turbulente_VDF_Face(double cte1=c1_DEFAULT, double cte2=c2_DEFAULT, double cte3=c3_DEFAULT)
OBS_PTR(Transport_Flux_Chaleur_Turbulente) mon_eq_transport_Flux_Chaleur_Turb_
void mettre_a_jour(double temps) override
DOES NOTHING - to override in derived classes.
OBS_PTR(Transport_K_Eps_Bas_Reynolds) mon_eq_transport_K_Eps_Bas_Re_
DoubleTab & calculer_gteta2(const Domaine_VDF &, DoubleTab &, const DoubleTab &, double, const DoubleVect &) const
DoubleTab & calculer_uiuj(const Domaine_VDF &, const DoubleTab &, const DoubleTab &, DoubleTab &) const
OBS_PTR(Convection_Diffusion_Temperature) eq_thermique
void associer_domaines(const Domaine_dis_base &, const Domaine_Cl_dis_base &) override
DoubleTab & calculer_Grad_U(const Domaine_VDF &, const DoubleTab &, const DoubleTab &, DoubleTab &) const
OBS_PTR(Transport_Fluctuation_Temperature) mon_eq_transport_Fluctu_Temp_
OBS_PTR(Modele_turbulence_hyd_K_Eps_Bas_Reynolds) le_modele
Source_base A Source_base object is a term appearing on the right-hand side of an.
Definition Source_base.h:42