TrioCFD 1.9.8
TrioCFD documentation
Loading...
Searching...
No Matches
Loi_Paroi_Nu_Impose_VDF.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 Loi_Paroi_Nu_Impose_VDF_included
18#define Loi_Paroi_Nu_Impose_VDF_included
19
20#include <Paroi_std_scal_hyd_VDF.h>
21
22#include <Parser_U.h>
23
24/*! @brief classe Loi_Paroi_Nu_Impose_VDF
25 *
26 *
27 *
28 * .SECTION voir aussi
29 * Paroi_std_hyd_VDF
30 *
31 */
32/**
33 * Cette classe permet d'imposer une loi de paroi de type nombre de Nusselt imposee.
34 * La fonction de Nusselt rentree par l'utilisateur peut etre une fonction de l'espace, du nombre de Reynolds
35 * et du nombre de Prandtl.
36 * Ces nombres de Reynolds et de Prandtl sont evalues a partir des quantites en paroi (vitesse, temperature etc...). Il convient donc de tenir compte de cela dans l'entree de la correlation du Nusselt.
37 * En effet, souvent les correlations de Nusselt utilise la vitesse moyenne dans la conduite.
38 * C'est pourquoi cette loi de paroi s'appliquera souvent dans le cas ou le probleme fluide ets resolu
39 * avec une seulle maille afin que la vitesse calcule represente exactement par conservation du debit la vitesse moyenne de l'ecoulement.
40 * Syntaxe :
41 * Loi_Paroi_Nu_Impose { nusselt fontion_de_(x,y,z,Re,Pr)
42 diam_hydr valeur_diametre_hydraulique
43 }
44*/
45
46class Loi_Paroi_Nu_Impose_VDF : public Paroi_scal_hyd_base_VDF //Turbulence_paroi_scal_base , public Loi_Paroi_scal_Nu_Impose
47{
48
49 Declare_instanciable(Loi_Paroi_Nu_Impose_VDF);
50
51public:
52 int calculer_scal(Champ_Fonc_base& ) override ;
53 void imprimer_nusselt(Sortie&) const override;
54
55protected:
56
59
60};
61
62
63///////////////////////////////////////////////////////////
64//
65// Fonctions inline de la classe Loi_Paroi_Nu_Impose_VDF
66//
67///////////////////////////////////////////////////////////
68
69
70#endif
71
classe Champ_Don_base classe de base des Champs donnes (non calcules)
classe Champ_Fonc_base Classe de base des champs qui sont fonction d'une grandeur calculee
classe Loi_Paroi_Nu_Impose_VDF
int calculer_scal(Champ_Fonc_base &) override
OWN_PTR(Champ_Don_base) diam_hydr
void imprimer_nusselt(Sortie &) const override
friend class Sortie
Definition Objet_U.h:75
classe Parser_U Version de la classe Parser, derivant de Objet_U.
Definition Parser_U.h:32