TrioCFD 1.9.8
TrioCFD documentation
Loading...
Searching...
No Matches
ParoiVEF_TBLE.h
1/****************************************************************************
2* Copyright (c) 2019, 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 ParoiVEF_TBLE_included
17#define ParoiVEF_TBLE_included
18
19#include <Paroi_hyd_base_VEF.h>
20
21#include <TRUST_Vector.h>
22#include <Eq_couch_lim.h>
23#include <Milieu_base.h>
24#include <Paroi_TBLE_QDM.h>
25
26
27#include <Paroi_log_QDM.h>
28
29class Champ_Fonc_base;
30class Param;
31
32/*! @brief CLASS: ParoiVEF_TBLE
33 *
34 * .SECTION voir aussi
35 * Turbulence_paroi_base
36 *
37 */
39{
40 Declare_instanciable_sans_constructeur(ParoiVEF_TBLE);
41public:
42
44 void set_param(Param& param) const override;
45 int lire_motcle_non_standard(const Motcle&, Entree&) override;
46 int init_lois_paroi() override;
47 int calculer_hyd(DoubleTab& ) override;
48 int calculer_hyd_BiK(DoubleTab& , DoubleTab& ) override;
49 int calculer_hyd(DoubleTab& , DoubleTab&) override;
50 int calculer_hyd(DoubleTab& tab1,int isKeps,DoubleTab& tab2);
51
52 void imprimer_ustar(Sortie&) const override;
53
54 //OC 02/2006 :methodes de reprise/sauvegarde pour TBLE. Pour l'instant les donnees TBLE sont stockes dans des fichiers differents du .sauv => a voir si on met tout cela dans le .sauv a terme
55 int sauvegarder(Sortie&) const override ;
56 int reprendre(Entree& ) override ;
57 const Probleme_base& getPbBase() const override ;
58
59protected:
60
61
62private:
63
64 void traitement_keps(DoubleTab& tab_k_eps, int num_face, const IntTab& face_voisins,
65 const IntTab& elem_faces, int nfac, double dist, double d_plus, double d_visco, double u_star);
66 void traitement_keps_BiK(DoubleTab& tab_k, DoubleTab& tab_eps, int num_face, const IntTab& face_voisins,
67 const IntTab& elem_faces, int nfac, double dist, double d_plus, double d_visco, double u_star);
68 virtual int calculer_k_eps(double& , double& , double , double , double , double);
69
70 int calculer_stats();
71// int alpha_cv;
72 DoubleTab f_tang_moy;
73 double alpha; // pour la moyenne glissante du terme source
74
75};
76
77#endif
classe Champ_Fonc_base Classe de base des champs qui sont fonction d'une grandeur calculee
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
void set_param(Param &param) const override
int init_lois_paroi() override
void imprimer_ustar(Sortie &) const override
int sauvegarder(Sortie &) const override
Sauvegarde d'un Objet_U sur un flot de sortie Methode a surcharger.
int reprendre(Entree &) override
Reprise d'un Objet_U sur un flot d'entree Methode a surcharger.
int calculer_hyd(DoubleTab &) override
int calculer_hyd_BiK(DoubleTab &, DoubleTab &) override
const Probleme_base & getPbBase() const override
int lire_motcle_non_standard(const Motcle &, Entree &) override
Lecture des parametres de type non simple d'un objet_U a partir d'un flot d'entree.
CLASS: Paroi_hyd_base_VEF Classe de base des lois de paroi hydraulique en VEF.
Paroi_log_QDM()=default
classe Probleme_base C'est un Probleme_U qui n'est pas un couplage.