TrioCFD 1.9.9_beta
TrioCFD documentation
Loading...
Searching...
No Matches
LoiParoiHybride.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 LoiParoiHybride_included
17#define LoiParoiHybride_included
18
19#include <Turbulence_paroi_base.h>
20#include <TRUSTTabs_forward.h>
21#include <TRUST_Vector.h>
22#include <TRUST_Deriv.h>
23#include <Noms.h>
24
27
28/*! @brief LoiParoiHybride Classe Turbulence_paroi_base
29 *
30 * Cette loi de paroi permet de choisir des lois de parois differentes par conditions aux limites.
31 *
32 */
34{
35
36public :
37
38
41 int init_lois_paroi() ;
42
43 // Simple appel aux calculer_hyd des differentes lois de parois
44 int calculer_hyd(DoubleTab& ) ;
45
46 //Appel des calculer_hyd des differentes lois de parois et remplissage du tableau de Cisaillement
47 int calculer_hyd(DoubleTab& tab1, const Domaine_dis_base& , const Domaine_Cl_dis_base& , DoubleTab& );
48
49 // Simple appel aux calculer_hyd des differentes lois de parois
50 int calculer_hyd(DoubleTab& , DoubleTab& ) ;
51 //Appel des calculer_hyd des differentes lois de parois et remplissage du tableau de Cisaillement
52 int calculer_hyd(DoubleTab& , DoubleTab&, const Domaine_dis_base& , const Domaine_Cl_dis_base& , DoubleTab& ) ;
53
54 // Imprimer_u_star de la loi de paroi Hybride n'est pas encore OK.
55 //void imprimer_ustar(Sortie& ) const ;
56
57 // Simple appel aux calculer_hyd des differentes lois de parois en mode bicephale
58 int calculer_hyd_BiK(DoubleTab& , DoubleTab&) ;
59
60 //Appel des calculer_hyd des differentes lois de parois et remplissage du tableau de Cisaillement en mode bicephale
61 int calculer_hyd_BiK(DoubleTab& , DoubleTab& , Domaine_dis_base const& , Domaine_Cl_dis_base const& , DoubleTab& );
62
63private:
64 VECT(OWN_PTR(Turbulence_paroi_base)) vect_lp;
65 IntVect lp_bord; // indice dans le vecteur precedent de la loi de paroi correspondant a chaque bord
66};
67
68
69#endif
class Domaine_Cl_dis_base Domaine_Cl_dis_base objects represent discretized boundary conditions
class Domaine_dis_base This class is the base of the hierarchy of discretized domains.
Class defining operators and methods for all reading operation in an input flow (file,...
Definition Entree.h:42
LoiParoiHybride Classe Turbulence_paroi_base.
int calculer_hyd_BiK(DoubleTab &, DoubleTab &)
int calculer_hyd(DoubleTab &)
Entree & lire(Entree &, const Noms &, const Modele_turbulence_hyd_base &)
void associer(const Domaine_dis_base &, const Domaine_Cl_dis_base &)
Base class for the turbulence model hierarchy for Navier-Stokes equations.
An array of character strings (VECT(Nom)).
Definition Noms.h:26
Base class for the hierarchy of wall-law models computing turbulent quantities near walls....