TrioCFD 1.9.8
TrioCFD documentation
Loading...
Searching...
No Matches
Source_Transport_K_Omega_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_Omega_VEF_Face_included
17#define Source_Transport_K_Omega_VEF_Face_included
18
19#include <Source_Transport_K_Omega_VEF_Face_base.h>
20#include <TRUST_Ref.h>
21
23
24/*! @brief class Source_Transport_K_Eps_VEF_Face Cette classe represente le terme source qui figure dans l'equation
25 *
26 * de transport du couple (k,eps) dans le cas ou les equations de Navier-Stokes
27 * ne sont pas couplees a la thermique ou a l'equation de convection-diffusion d'une concentration.
28 *
29 */
31{
32 Declare_instanciable_sans_constructeur(Source_Transport_K_Omega_VEF_Face);
33public:
35 DoubleTab& ajouter(DoubleTab&) const override;
36 void contribuer_a_avec(const DoubleTab&, Matrice_Morse&) const override ;
37
38 void discretiser() override;
39 void compute_cross_diffusion(DoubleTab& gradKgradOmega) const override;
40 void compute_blending_F1(DoubleTab& gradKgradOmega) const override;
41 double blender(double const val1, double const val2, int const face) const;
42
43 void creer_champ(const Motcle&) override;
44 void get_noms_champs_postraitables(Noms& nom,Option opt=NONE) const override;
45
46protected:
47 void associer_pb(const Probleme_base& pb) override;
49 void fill_resu_k_omega(const DoubleVect& , const DoubleTrav& , const DoubleTab&, DoubleTab& ) const override;
50
51private:
52
53 const DoubleTab& get_visc_turb() const override;
54 const DoubleTab& get_cisaillement_paroi() const override;
55 const DoubleTab& get_K_pour_production() const override;
56 const Nom get_type_paroi() const override;
57};
58
59#endif /* Source_Transport_K_Omega_VEF_Face_included */
Classe Matrice_Morse Represente une matrice M (creuse), non necessairement carree.
Une chaine de caractere (Nom) en majuscules.
Definition Motcle.h:26
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_Omega_VEF_Face(double cte1=C1__, double cte2=C2__)
void associer_pb(const Probleme_base &pb) override
void compute_cross_diffusion(DoubleTab &gradKgradOmega) 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_Omega) eqn_K_Omega
void compute_blending_F1(DoubleTab &gradKgradOmega) const override
double blender(double const val1, double const val2, int const face) const
void fill_resu_k_omega(const DoubleVect &, const DoubleTrav &, const DoubleTab &, DoubleTab &) const override
void get_noms_champs_postraitables(Noms &nom, Option opt=NONE) const override
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_Omega Cette classe represente l'equation de transport de l'energie cinetique
static constexpr double C2__
static constexpr double C1__