TrioCFD 1.9.8
TrioCFD documentation
Loading...
Searching...
No Matches
Source_Transport_K_Eps_VEF_Face.h
1/****************************************************************************
2* Copyright (c) 2015 - 2016, 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 Source_Transport_K_Eps_VEF_Face_included
17#define Source_Transport_K_Eps_VEF_Face_included
18
19#include <Source_Transport_VEF_Face_base.h>
20#include <Modele_Fonc_Bas_Reynolds_Base.h>
21#include <TRUST_Ref.h>
22
23class Transport_K_Eps;
24
25/*! @brief class Source_Transport_K_Eps_VEF_Face Cette classe represente le terme source qui figure dans l'equation
26 *
27 * de transport du couple (k,eps) dans le cas ou les equations de Navier-Stokes
28 * ne sont pas couplees a la thermique ou a l'equation de convection-diffusion d'une concentration.
29 *
30 */
32{
33 Declare_instanciable_sans_constructeur(Source_Transport_K_Eps_VEF_Face);
34public:
35 Source_Transport_K_Eps_VEF_Face(double cte1 = C1__, double cte2 = C2__) : Source_Transport_VEF_Face_base(cte1,cte2) { }
36 DoubleTab& ajouter(DoubleTab& ) const override;
37 void contribuer_a_avec(const DoubleTab&, Matrice_Morse&) const override ;
38 void discretiser() override;
39 void get_noms_champs_postraitables(Noms& nom,Option opt=NONE) const override;
40
41
42protected:
43 void associer_pb(const Probleme_base& pb) override;
44 OBS_PTR(Transport_K_Eps) mon_eq_transport_K_Eps;
45 OWN_PTR(Champ_Fonc_base) production_k_face_;
46
47private:
48 const DoubleTab& get_visc_turb() const override;
49 const DoubleTab& get_cisaillement_paroi() const override;
50 const DoubleTab& get_K_pour_production() const override;
51 const OWN_PTR(Modele_Fonc_Bas_Reynolds_Base)& get_modele_fonc_bas_reyn() const override;
52 void calcul_tabs_bas_reyn(const DoubleTrav&, const DoubleTab&, const DoubleTab&, const Champ_Don_base&, const Champ_base&, DoubleTab&, DoubleTab&, DoubleTab&, DoubleTab&) const override;
53 const Nom get_type_paroi() const override;
54 void calcul_tenseur_reyn(const DoubleTab&, const DoubleTab&, DoubleTab&) const override;
55 void fill_resu_bas_rey(const DoubleVect&, const DoubleTrav&, const DoubleTab&, const DoubleTab&, const DoubleTab&, const DoubleTab&, DoubleTab&) const override;
56 void fill_resu(const DoubleVect& , const DoubleTrav& , DoubleTab& ) const override;
57};
58
59#endif /* Source_Transport_K_Eps_VEF_Face_included */
classe Champ_Don_base classe de base des Champs donnes (non calcules)
classe Champ_Fonc_base Classe de base des champs qui sont fonction d'une grandeur calculee
classe Champ_base Cette classe est la base de la hierarchie des champs.
Definition Champ_base.h:43
Classe Matrice_Morse Represente une matrice M (creuse), non necessairement carree.
class Nom Une chaine de caractere pour nommer les objets de TRUST
Definition Nom.h:31
Un tableau de chaine de caracteres (VECT(Nom)).
Definition Noms.h:26
classe Probleme_base C'est un Probleme_U qui n'est pas un couplage.
Source_Transport_K_Eps_VEF_Face(double cte1=C1__, double cte2=C2__)
void associer_pb(const Probleme_base &pb) override
void get_noms_champs_postraitables(Noms &nom, Option opt=NONE) const override
DoubleTab & ajouter(DoubleTab &) const override
void contribuer_a_avec(const DoubleTab &, Matrice_Morse &) const override
contribution a la matrice implicite des termes sources par defaut pas de contribution
OBS_PTR(Transport_K_Eps) mon_eq_transport_K_Eps
OWN_PTR(Champ_Fonc_base) production_k_face_
virtual const DoubleTab & get_visc_turb() const
virtual const DoubleTab & get_cisaillement_paroi() const
virtual const DoubleTab & get_K_pour_production() const
classe Transport_K_Eps Cette classe represente l'equation de transport de l'energie cinetique
static constexpr double C2__
static constexpr double C1__