TrioCFD 1.9.8
TrioCFD documentation
Loading...
Searching...
No Matches
Paroi_Cisaillement_Imp_VEF.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
17#ifndef Paroi_Cisaillement_Imp_VEF_included
18#define Paroi_Cisaillement_Imp_VEF_included
19
20#include <Paroi_hyd_base_VEF.h>
21#include <distances_VEF.h>
22#include <Paroi_UTAU_IMP_Impl.h>
23
24
25class Champ_Fonc_base;
26
27/*! @brief Ne pas utiliser cette classe.
28 *
29 * Utiliser plutot des conditions de symetrie et une perte de cherge volumique :
30 *
31 * Loi de parois qui calcule le frottement a la paroi a partir
32 * d'une expression analytique donnee, fonction de la vitesse
33 * en premiere maille.
34 *
35 * Suppose que la vitesse dans cette maille est la vitesse moyenne
36 * de l'ecoulement, cad que le canal ne fait qu'une maille d'epaisseur.
37 *
38 * A utiliser avec un modele de turbulence negligeable, i.e. qui renvoie
39 * une viscosite turbulente nulle (par ex. Smagorinsky, avec Cs=0)
40 * CLASS: Paroi_Cisaillement_Imp_VEF
41 *
42 * .SECTION voir aussi
43 * Turbulence_paroi_base
44 *
45 */
47{
48
49 Declare_instanciable(Paroi_Cisaillement_Imp_VEF);
50
51public:
52
53 int init_lois_paroi() override;
54 int calculer_hyd(DoubleTab& ) override;
55 int calculer_hyd_BiK(DoubleTab& , DoubleTab& ) override;
56 int calculer_hyd(DoubleTab& , DoubleTab& ) override;
57
58
59private:
60
61 int calculer_hyd_commun();
62
63};
64
65///////////////////////////////////////////////////////////
66//
67// Fonctions inline de la classe Paroi_Cisaillement_Imp_VEF
68//
69///////////////////////////////////////////////////////////
70
71
72#endif
classe Champ_Fonc_base Classe de base des champs qui sont fonction d'une grandeur calculee
Ne pas utiliser cette classe.
int calculer_hyd_BiK(DoubleTab &, DoubleTab &) override
int calculer_hyd(DoubleTab &) override
CLASS: Paroi_UTAU_IMP_Impl.
CLASS: Paroi_hyd_base_VEF Classe de base des lois de paroi hydraulique en VEF.