TrioCFD 1.9.8
TrioCFD documentation
Loading...
Searching...
No Matches
Echelle_temporelle_turbulente.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#ifndef Echelle_temporelle_turbulente_included
17#define Echelle_temporelle_turbulente_included
18
19#include <Convection_diffusion_turbulence_multiphase.h>
20#include <Fluide_base.h>
21#include <TRUST_Ref.h>
22
23/*! @brief classe Echelle_temporelle_turbulente Equation de transport de l'echelle temporelle turbulente (modele k-tau)
24 *
25 * @sa Conv_Diffusion_std Convection_Diffusion_Temperature Convection_diffusion_turbulence_multiphase
26 */
28{
29 Declare_instanciable_sans_constructeur(Echelle_temporelle_turbulente);
30
31public :
32
34
35 void discretiser() override;
36
37 const Champ_Don_base& diffusivite_pour_transport() const override;
38 const Champ_base& diffusivite_pour_pas_de_temps() const override;
39
40 /* champ convecte : alpha (si Pb_Multiphase) * rho * k */
41 static void calculer_tau(const Objet_U& obj, DoubleTab& val, DoubleTab& bval, tabs_t& deriv);
42 std::pair<std::string, fonc_calc_t> get_fonc_champ_conserve() const override
43 {
44 return { "tau", calculer_tau };
45 }
46};
47
48#endif
classe Champ_Don_base classe de base des Champs donnes (non calcules)
classe Champ_base Cette classe est la base de la hierarchie des champs.
Definition Champ_base.h:43
classe Convection_diffusion_turbulence_multiphase Equation de transport des quantites turbulentes (k,...
static void calculer_tau(const Objet_U &obj, DoubleTab &val, DoubleTab &bval, tabs_t &deriv)
const Champ_base & diffusivite_pour_pas_de_temps() const override
const Champ_Don_base & diffusivite_pour_transport() const override
void discretiser() override
Discretise l'equation.
std::pair< std::string, fonc_calc_t > get_fonc_champ_conserve() const override
classe Objet_U Cette classe est la classe de base des Objets de TRUST
Definition Objet_U.h:73