TrioCFD 1.9.8
TrioCFD documentation
Loading...
Searching...
No Matches
Source_Transport_K_Eps_VDF_Elem.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_VDF_Elem_included
17#define Source_Transport_K_Eps_VDF_Elem_included
18
19#include <Source_Transport_VDF_Elem_base.h>
20#include <TRUST_Ref.h>
21
22class Transport_K_Eps;
23
24/*! @brief class Source_Transport_K_Eps_VDF_Elem Cette classe represente le terme source qui figure dans l'equation de transport du couple (k,eps) dans le cas ou les equations
25 *
26 * de Navier-Stokes ne sont pas couplees a la thermique ou a l'equation de convection-diffusion d'une concentration.
27 *
28 */
30{
31 Declare_instanciable_sans_constructeur(Source_Transport_K_Eps_VDF_Elem);
32public:
33 Source_Transport_K_Eps_VDF_Elem(double cte1 = C1__, double cte2 = C2__ ) : Source_Transport_VDF_Elem_base(cte1,cte2) { }
34 void ajouter_blocs(matrices_t matrices, DoubleTab& secmem, const tabs_t& semi_impl) const override;
35 void discretiser() override;
36 void get_noms_champs_postraitables(Noms& nom,Option opt=NONE) const override;
37
38
39protected:
40 OBS_PTR(Transport_K_Eps) mon_eq_transport_K_Eps;
41 OWN_PTR(Champ_Fonc_base) production_k_elem_;
42
43 void associer_pb(const Probleme_base& pb) override;
44
45
46 const DoubleTab& get_visc_turb() const override;
47 const OWN_PTR(Modele_Fonc_Bas_Reynolds_Base)& get_modele_fonc_bas_reyn() const override;
48 void calculer_terme_production(const Champ_Face_VDF&, const DoubleTab& , const DoubleTab& , DoubleVect&, const bool& deactivate_production_limiter=false,const double& cst_production_limiter=0.) const override;
49 void calcul_D_E(const DoubleTab& , const DoubleTab& , const Champ_Don_base& , DoubleTab& , DoubleTab& ) const override;
50 void calcul_F1_F2(const Champ_base& , DoubleTab& , DoubleTab& , DoubleTab& , DoubleTab& ) const override;
51 void fill_resu_bas_rey(const DoubleVect& , const DoubleTab& , const DoubleTab& , const DoubleTab& , const DoubleTab& , DoubleTab& ) const override;
52 void fill_resu(const DoubleVect& , DoubleTab& ) const override;
53};
54
55#endif /* Source_Transport_K_Eps_VDF_Elem_included */
classe Champ_Don_base classe de base des Champs donnes (non calcules)
class Champ_Face_VDF Cette classe sert a representer un champ vectoriel dont on ne calcule
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
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.
OBS_PTR(Transport_K_Eps) mon_eq_transport_K_Eps
Source_Transport_K_Eps_VDF_Elem(double cte1=C1__, double cte2=C2__)
OWN_PTR(Champ_Fonc_base) production_k_elem_
const DoubleTab & get_visc_turb() const override
void fill_resu(const DoubleVect &, DoubleTab &) const override
const OWN_PTR(Modele_Fonc_Bas_Reynolds_Base) &get_modele_fonc_bas_reyn() const override
void associer_pb(const Probleme_base &pb) override
void ajouter_blocs(matrices_t matrices, DoubleTab &secmem, const tabs_t &semi_impl) const override
void get_noms_champs_postraitables(Noms &nom, Option opt=NONE) const override
void calcul_D_E(const DoubleTab &, const DoubleTab &, const Champ_Don_base &, DoubleTab &, DoubleTab &) const override
void calcul_F1_F2(const Champ_base &, DoubleTab &, DoubleTab &, DoubleTab &, DoubleTab &) const override
void calculer_terme_production(const Champ_Face_VDF &, const DoubleTab &, const DoubleTab &, DoubleVect &, const bool &deactivate_production_limiter=false, const double &cst_production_limiter=0.) const override
void fill_resu_bas_rey(const DoubleVect &, const DoubleTab &, const DoubleTab &, const DoubleTab &, const DoubleTab &, DoubleTab &) const override
classe Transport_K_Eps Cette classe represente l'equation de transport de l'energie cinetique
static constexpr double C2__
static constexpr double C1__