TRUST 1.9.8
HPC thermohydraulic platform
Loading...
Searching...
No Matches
Traitement_particulier_NS_Brech_VEF.h
1/****************************************************************************
2* Copyright (c) 2024, 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 Traitement_particulier_NS_Brech_VEF_included
17#define Traitement_particulier_NS_Brech_VEF_included
18
19#include <Traitement_particulier_NS_VEF.h>
20#include <Champ_Fonc_P1NC.h>
21#include <Domaine_Cl_VEF.h>
22#include <Domaine_VEF.h>
23#include <TRUST_Ref.h>
24
25class Champ_Inc_base;
26
27/*! @brief classe Traitement_particulier_Brech_VEF Cette classe permet de faire les traitements particuliers
28 *
29 * pour le calcul des flux pour le cas Brech :
30 *
31 *
32 * @sa Navier_Stokes_Turbulent, Traitement_particulier_base, Traitement_particulier_VEF
33 */
35{
36 Declare_instanciable_sans_constructeur(Traitement_particulier_NS_Brech_VEF);
37
38public :
39
41 inline void post_traitement_particulier() override ;
42 Entree& lire(Entree& ) override;
43
44protected :
47
48private:
49 void calculer_terme_production_K(const Domaine_VEF& ,const Domaine_Cl_VEF& ,
50 DoubleVect& ,
51 const DoubleTab& ) const;
52
53 void calculer_terme_destruction_K(const Domaine_VEF& , const Domaine_Cl_VEF& , DoubleVect& ,
54 const DoubleTab& ,
55 const DoubleVect& , const DoubleVect& ) const;
56
57
58 void post_traitement_particulier_calcul_flux() ;
59 void post_traitement_particulier_Richardson() ;
60 void post_traitement_particulier_calcul_pression() ;
61 DoubleTab R_loc ;
62 DoubleTab C_trans ;
63 DoubleVect r_int ;
64 DoubleVect r_out ;
65 DoubleVect delta_r ;
66 DoubleVect delta_teta ;
67 int c_flux= 0, nb = -1;
68 int c_Richardson = 0;
69 int c_pression= 0;
70
71};
72
73
74#endif
classe Champ_Fonc_P1NC
Classe Champ_Inc_base.
class Domaine_VEF
Definition Domaine_VEF.h:54
friend class Entree
Definition Objet_U.h:76
classe Traitement_particulier_VEF Cette classe permet de ne faire aucyun traitement particulier