TrioCFD 1.9.8
TrioCFD documentation
Loading...
Searching...
No Matches
ParoiVDF_TBLE.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 ParoiVDF_TBLE_included
17#define ParoiVDF_TBLE_included
18
19#include <Paroi_hyd_base_VDF.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#include <Paroi_log_QDM.h>
26
27
28class Champ_Fonc_base;
29class Param;
30
31/*! @brief CLASS: ParoiVDF_TBLE
32 *
33 * .SECTION voir aussi
34 * Turbulence_paroi_base
35 *
36 */
38{
39 Declare_instanciable(ParoiVDF_TBLE);
40public:
41
42 void set_param(Param& param) const override;
43 int lire_motcle_non_standard(const Motcle&, Entree&) override;
44 int init_lois_paroi() override;
45 int calculer_hyd(DoubleTab& ) override;
46 int calculer_hyd_BiK(DoubleTab& , DoubleTab& ) override;
47 int calculer_hyd(DoubleTab& , DoubleTab&) override;
48 int calculer_hyd(DoubleTab& tab1,int isKeps,DoubleTab& tab2);
49
50 void imprimer_ustar(Sortie&) const override;
51
52 //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
53 int sauvegarder(Sortie&) const override ;
54 int reprendre(Entree& ) override ;
55 const Probleme_base& getPbBase() const override ;
56
57private:
58
59 bool alpha_cv = false;
60
61 int calculer_stats();
62 void calculer_convection(int num_face, int face1, int face2, int face3, int face4, int elem,
63 int ndeb, int nfin, int ori, double gradient_de_pression0, double ts0, double gradient_de_pression1, double ts1);
64
65 IntVect corresp; //Correspondance compteur-num_face parietale
66
67};
68
69///////////////////////////////////////////////////////////
70//
71// Fonctions inline de la classe ParoiVDF_TBLE
72//
73///////////////////////////////////////////////////////////
74
75#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
CLASS: ParoiVDF_TBLE.
void set_param(Param &param) const override
int reprendre(Entree &) override
Reprise d'un Objet_U sur un flot d'entree Methode a surcharger.
int calculer_hyd_BiK(DoubleTab &, DoubleTab &) override
void imprimer_ustar(Sortie &) 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.
int init_lois_paroi() override
int sauvegarder(Sortie &) const override
Sauvegarde d'un Objet_U sur un flot de sortie Methode a surcharger.
int calculer_hyd(DoubleTab &) override
const Probleme_base & getPbBase() const override
Paroi_log_QDM()=default
classe Probleme_base C'est un Probleme_U qui n'est pas un couplage.