TrioCFD 1.9.8
TrioCFD documentation
Loading...
Searching...
No Matches
Paroi_ODVM_scal_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#ifndef Paroi_ODVM_scal_VDF_included
17#define Paroi_ODVM_scal_VDF_included
18
19#include <Paroi_scal_hyd_base_VDF.h>
20
21#include <TRUST_Vector.h>
22#include <Eq_ODVM.h>
23#include <TRUSTTabs_forward.h>
24#include <Milieu_base.h>
25#include <TRUST_Ref.h>
26
27
28
30class Champ_Fonc_base;
31
32/*! @brief CLASS: Paroi_ODVM_scal_VDF
33 *
34 * .SECTION voir aussi
35 * Turbulence_paroi_base
36 *
37 */
39{
40 Declare_instanciable_sans_constructeur(Paroi_ODVM_scal_VDF);
41
42public:
43 int calculer_scal(Champ_Fonc_base& ) override;
44 int init_lois_paroi() override;
45 double get_Tf0(int num_face) const
46 {
47 return Tf0(num_face);
48 };
49 const DoubleVect& get_Tf0() const
50 {
51 return Tf0;
52 };
53
54protected:
58
59 VECT(Eq_ODVM) eq_odvm ;
60
61
62private:
63 DoubleVect Tmean; // Mean filtered temperature.
64 DoubleVect Trms; // Mean RMS temperature fluctuations.
65 DoubleVect Tpm; // Mean of temperature fluctuations to check.
66 DoubleVect Tf0;
67 DoubleVect qb_mean;
68
69 DoubleVect Tm_rms;
70 DoubleVect Tm_mean;
71 DoubleVect Tp_rms;
72
73 DoubleVect tab_u_star;
74
75};
76
77
78#endif
classe Champ_Fonc_base Classe de base des champs qui sont fonction d'une grandeur calculee
classe Convection_Diffusion_std Cette classe est la base des equations modelisant le transport
Classe Eq_ODVM Classe resolvant l'equation de temperature moyenne, l'equation de.
Definition Eq_ODVM.h:33
CLASS: Paroi_ODVM_scal_VDF.
int calculer_scal(Champ_Fonc_base &) override
VECT(Eq_ODVM) eq_odvm
const DoubleVect & get_Tf0() const
double get_Tf0(int num_face) const