TrioCFD 1.9.8
TrioCFD documentation
Loading...
Searching...
No Matches
Source_Transport_K_Omega_VDF_Elem.h
1/****************************************************************************
2* Copyright (c) 2023, 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_VDF_Elem_included
17#define Source_Transport_K_Omega_VDF_Elem_included
18
19#include <Source_Transport_K_Omega_VDF_Elem_base.h>
20#include <TRUST_Ref.h>
21
23
24/*! @brief class Source_Transport_K_Omega_VDF_Elem Cette classe represente le terme source qui figure dans l'equation de transport du couple (k, omega) 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_Omega_VDF_Elem);
32
33public:
34
36 void ajouter_blocs(matrices_t matrices, DoubleTab& secmem, const tabs_t& semi_impl) const override;
37 void compute_cross_diffusion() const override;
38 void compute_blending_F1() const override;
39 double blender(double const val1, double const val2, int const elem) const;
40 void discretiser() override;
41
42 void creer_champ(const Motcle&) override;
43 void get_noms_champs_postraitables(Noms& nom,Option opt=NONE) const override;
44protected:
46 void associer_pb(const Probleme_base& pb) override;
47
48protected:
49 const DoubleTab& get_visc_turb() const override;
50 void calculer_terme_production(const Champ_Face_VDF&, const DoubleTab& , const DoubleTab& , DoubleVect&, const bool& deactivate_production_limiter, const double& cst_production_limiter) const override;
51 void fill_resu(const DoubleVect& , DoubleTab& ) const override;
52};
53
54#endif
class Champ_Face_VDF Cette classe sert a representer un champ vectoriel dont on ne calcule
Une chaine de caractere (Nom) en majuscules.
Definition Motcle.h:26
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.
void ajouter_blocs(matrices_t matrices, DoubleTab &secmem, const tabs_t &semi_impl) const override
void associer_pb(const Probleme_base &pb) override
void get_noms_champs_postraitables(Noms &nom, Option opt=NONE) const override
double blender(double const val1, double const val2, int const elem) const
void fill_resu(const DoubleVect &, DoubleTab &) const override
void calculer_terme_production(const Champ_Face_VDF &, const DoubleTab &, const DoubleTab &, DoubleVect &, const bool &deactivate_production_limiter, const double &cst_production_limiter) const override
OBS_PTR(Transport_K_Omega) eqn_K_Omega
classe Transport_K_Omega Cette classe represente l'equation de transport de l'energie cinetique