TRUST 1.9.8
HPC thermohydraulic platform
Loading...
Searching...
No Matches
Modele_turbulence_hyd_LES_base.h
1/****************************************************************************
2* Copyright (c) 2026, 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 Modele_turbulence_hyd_LES_base_included
17#define Modele_turbulence_hyd_LES_base_included
18
19#include <Modele_turbulence_hyd_0_eq_base.h>
20
21/*! @brief Classe Modele_turbulence_hyd_LES_base Classe representant le modele de turbulence sous maille pour les
22 *
23 * equations de Navier-Stokes.
24 *
25 * @sa Modele_turbulence_hyd_0_eq_base
26 */
28{
29 Declare_base_sans_constructeur(Modele_turbulence_hyd_LES_base);
30public:
32 void set_param(Param& param) const override;
34 int preparer_calcul() override;
35 void completer() override;
37 void calculer_energie_cinetique_turb() override;
38
39 // sauter la classe mere
40 int reprendre(Entree& is) override { return Modele_turbulence_hyd_base::reprendre(is); }
41 void imprimer(Sortie& is) const override { return Modele_turbulence_hyd_base::imprimer(is); }
42
43protected:
44 DoubleVect l_;
46
47 static constexpr double CSM1 = 0.063, CSMS1 = 0.112; // Constante viscosite turbulente modele sous maille, sous maille selectif
48 static constexpr double CSM2 = 0.37; // Constante energie cinetique turbulente modele sous maille
49};
50
51#endif /* Modele_turbulence_hyd_LES_base_included */
Classe Modele_turbulence_hyd_0_eq_base Classe de base des modeles a 0 equation.
virtual void calculer_longueurs_caracteristiques()=0
int reprendre(Entree &is) override
Reprise d'un Objet_U sur un flot d'entree Methode a surcharger.
int preparer_calcul() override
Prepare le calcul.
void set_param(Param &param) const override
void imprimer(Sortie &is) const override
Effectue l'impression si cela est necessaire.
int reprendre(Entree &) override
Reprend la loi de paroi.
virtual void imprimer(Sortie &) const
Effectue l'impression si cela est necessaire.
Une chaine de caractere (Nom) en majuscules.
Definition Motcle.h:26
friend class Entree
Definition Objet_U.h:76
friend class Sortie
Definition Objet_U.h:75
Helper class to factorize the readOn method of Objet_U classes.
Definition Param.h:112