TrioCFD 1.9.8
TrioCFD documentation
Loading...
Searching...
No Matches
Paroi_std_hyd_EF.h
1/****************************************************************************
2* Copyright (c) 2021, 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// .NOM Paroi_std_hyd_EF :
17// .ENTETE TRUST EF Turbulence
18// .LIBRAIRIE libhydEFturb
19// .FILE Paroi_std_hyd_EF.h
20// .FILE Paroi_std_hyd_EF.cpp
21
22#ifndef Paroi_std_hyd_EF_included
23#define Paroi_std_hyd_EF_included
24
25#include <Paroi_hyd_base_EF.h>
26#include <distances_EF.h>
27#include <Paroi_log_QDM.h>
28
29
30class Champ_Fonc_base;
31
32/*! @brief CLASS: Paroi_std_hyd_EF
33 *
34 * .SECTION voir aussi
35 * Turbulence_paroi_base
36 *
37 */
39{
40
41 Declare_instanciable_sans_constructeur(Paroi_std_hyd_EF);
42
43public:
44
46 void set_param(Param& param) const override;
47 int init_lois_paroi() override;
48 int calculer_hyd(DoubleTab& ) override;
49 int calculer_hyd_BiK(DoubleTab& , DoubleTab& ) override;
50 int calculer_hyd(DoubleTab& , DoubleTab& ) override;
51
52 void imprimer_ustar(Sortie& ) const override;
53 double calculer_u_plus(const int ,const double ,const double erugu );
54
55 virtual int calculer_k_eps(double& , double& , double , double , double , double);
56
57
58protected:
59
60 DoubleVect uplus_;
61
62 DoubleVect seuil_LP;
64
67 virtual int init_lois_paroi_hydraulique();
68};
69
70
71/*! @brief cette classe permet de specifier des options a la loi de paroi standard.
72 *
73 * Elle est reservee aux experts.
74 *
75 */
77{
78 Declare_instanciable(Loi_expert_hydr_EF);
79};
80
81#endif
classe Champ_Fonc_base Classe de base des champs qui sont fonction d'une grandeur calculee
cette classe permet de specifier des options a la loi de paroi standard.
friend class Sortie
Definition Objet_U.h:75
Helper class to factorize the readOn method of Objet_U classes.
Definition Param.h:112
CLASS: Paroi_hyd_base_EF Classe de base des lois de paroi hydraulique en EF.
Paroi_log_QDM()=default
int calculer_hyd_BiK(DoubleTab &, DoubleTab &) override
void imprimer_ustar(Sortie &) const override
int calculer_hyd(DoubleTab &) override
double calculer_u_plus(const int, const double, const double erugu)
virtual int init_lois_paroi_hydraulique()
virtual int calculer_k_eps(double &, double &, double, double, double, double)
void set_param(Param &param) const override
int init_lois_paroi() override