TrioCFD 1.9.9_beta
TrioCFD documentation
Loading...
Searching...
No Matches
Transport_Fluctuation_Temperature.h
1/****************************************************************************
2* Copyright (c) 2019, 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
18#ifndef Transport_Fluctuation_Temperature_included
19#define Transport_Fluctuation_Temperature_included
20
21#include <Convection_Diffusion_std.h>
22#include <Op_Diff_Fluctu_Temp_Base.h>
23#include <TRUST_Ref.h>
24
25class Fluide_base;
27
28class Motcle;
29
31{
32
33 Declare_instanciable_sans_constructeur(Transport_Fluctuation_Temperature);
34
35
36public :
37
38 void set_param(Param& titi) const override;
39 int lire_motcle_non_standard(const Motcle&, Entree&) override;
41 void associer_milieu_base(const Milieu_base& ) override;
43 void discretiser() override;
44 void completer() override;
45 const Milieu_base& milieu() const override;
46 Milieu_base& milieu() override;
49 int nombre_d_operateurs() const override;
50 const Operateur& operateur(int) const override;
51 Operateur& operateur(int) override;
53 const Champ_Inc_base& inconnue() const override;
54 Champ_Inc_base& inconnue() override;
55
56
57 /////////////////////////////////////////////////////
58 const Motcle& domaine_application() const override;
60
61protected :
62
63 OWN_PTR(Champ_Inc_base) le_champ_Fluctu_Temperature;
65
68
69
70};
71
72
73/*! @brief renvoie le champ inconnue.
74 *
75 */
77{
78 return le_champ_Fluctu_Temperature;
79}
80
81/*! @brief renvoie le champ inconnue.
82 *
83 */
85{
86 return le_champ_Fluctu_Temperature;
87}
88
90{
91 assert(mon_modele_Fluctu_Temp);
92 return mon_modele_Fluctu_Temp.valeur();
93}
94
96{
97 assert(mon_modele_Fluctu_Temp);
98 return mon_modele_Fluctu_Temp.valeur();
99}
100
101#endif
102
103
Class Champ_Inc_base.
Convection_Diffusion_std This class is the base for equations modelling the transport.
Base class for an incompressible fluid and its properties:
Definition Fluide_base.h:36
Milieu_base This class is the base of the (physical) medium hierarchy.
Definition Milieu_base.h:50
A character string (Nom) in uppercase.
Definition Motcle.h:26
friend class Entree
Definition Objet_U.h:71
class Operateur Generic class of the operator hierarchy.
Definition Operateur.h:39
Helper class to factorize the readOn method of Objet_U classes.
Definition Param.h:112
void discretiser() override
Discretizes the equation.
void associer_modele_turbulence(const Modele_turbulence_scal_Fluctuation_Temperature &)
void associer_milieu_base(const Milieu_base &) override
association entre Transport_Fluctuation_Temperature et Milieu_base.
OWN_PTR(Champ_Inc_base) le_champ_Fluctu_Temperature
OBS_PTR(Fluide_base) le_fluide
const Operateur & operateur(int) const override
surcharge de la methode d'Equation_base.
OBS_PTR(Modele_turbulence_scal_Fluctuation_Temperature) mon_modele_Fluctu_Temp
const Modele_turbulence_scal_Fluctuation_Temperature & modele_turbulence() const
int nombre_d_operateurs() const override
surcharge de la methode d'Equation_base.
const Champ_Inc_base & inconnue() const override
renvoie le champ inconnue.
int lire_motcle_non_standard(const Motcle &, Entree &) override
Reads non-simple-type parameters of an Objet_U from an input stream.
void completer() override
Completes the construction (initialization) of objects associated with the equation.
const Champ_Inc_base & vitesse_transportante()
const Motcle & domaine_application() const override
Returns "indeterminate" Navier_Stokes_standard for example overrides this method.