TrioCFD 1.9.8
TrioCFD documentation
Loading...
Searching...
No Matches
Paroi_hyd_base_VDF.h
1/****************************************************************************
2* Copyright (c) 2025, 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 Paroi_hyd_base_VDF_included
17#define Paroi_hyd_base_VDF_included
18
19#include <Turbulence_paroi_base.h>
20
21#include <distances_VDF.h>
22#include <TRUST_Ref.h>
23
24class Champ_Fonc_base;
25class Domaine_Cl_VDF;
26class Domaine_VDF;
27
29{
30 Declare_base(Paroi_hyd_base_VDF);
31public:
32 void associer(const Domaine_dis_base& ,const Domaine_Cl_dis_base& ) override;
33 void init_lois_paroi_();
34
35 /**
36 * OC 09/2004 :
37 * Finalement, certaines classes du code, en VDF, demande le calcul de tab_u_star a la loi de paroi ;
38 * Or seul qques classes de loi de paroi calcule reellement le tab_u_star d'ou des pbs de compatibilites
39 * entre certaines fonctionnalites du code. Donc soit on met tab_u_star() en methode virtuelle pure
40 * (mais ca fait doublon avec cisaillement_paroi(), soit on recalcule tab_u_star a partir de cisaillement_paroi()
41 * dans les classes qui en ont besoin : c est el choix fait actuellement (cf.Paroi_ODVM_scal_VDF).
42 */
43 //virtual const DoubleVect& tab_u_star() const =0 ;
44
45 /**
46 * O.C. 09/2004:
47 * Calcule le tableau des vitesses de frottements a partir du tableau de cisaillement.
48 * Cette methode peut etre appelee si besoin par d'autres classes afin de calculer u_star
49 * ,une fois le cisaillement rempli toutefois!
50 */
51 /* Cette methode n'est pas correcte quand le calcul est QC. Voir Paroi_hyd_base_VDF.cpp
52 void calculer_u_star_avec_cisaillement(DoubleVect& tab_u_star) const ;
53 */
54protected:
55};
56
57#endif /* Paroi_hyd_base_VDF_included */
classe Champ_Fonc_base Classe de base des champs qui sont fonction d'une grandeur calculee
class Domaine_Cl_VDF
classe Domaine_Cl_dis_base Les objets Domaine_Cl_dis_base representent les conditions aux limites
class Domaine_VDF
Definition Domaine_VDF.h:64
classe Domaine_dis_base Cette classe est la base de la hierarchie des domaines discretisees.
void associer(const Domaine_dis_base &, const Domaine_Cl_dis_base &) override
Classe Turbulence_paroi_base Classe de base pour la hierarchie des classes representant les modeles.