TRUST 1.9.8
HPC thermohydraulic platform
Loading...
Searching...
No Matches
Dirichlet_entree_fluide_leaves.cpp
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#include <Dirichlet_entree_fluide_leaves.h>
17
18Implemente_base(Dirichlet_entree_fluide, "Dirichlet_entree_fluide", Dirichlet);
19Sortie& Dirichlet_entree_fluide::printOn(Sortie& s) const { return s << que_suis_je() << finl; }
21
22/* ========================================================================================= */
23
24Implemente_instanciable(Entree_fluide_Flux_Chaleur_Turbulente_imposee, "Frontiere_ouverte_Flux_Chaleur_Turbulente_imposee", Dirichlet_entree_fluide);
27{
28 if (app_domains.size() == 0) app_domains = { Motcle("Thermique"), Motcle("indetermine") };
30}
31
32/* ========================================================================================= */
33
34Implemente_instanciable(Entree_fluide_vitesse_imposee, "Frontiere_ouverte_vitesse_imposee", Dirichlet_entree_fluide);
35// XD frontiere_ouverte_vitesse_imposee dirichlet frontiere_ouverte_vitesse_imposee INHERITS_BRACE Class for
36// XD_CONT velocity-inlet boundary condition. The imposed velocity field at the inlet is vectorial and the imposed
37// XD_CONT velocity values are expressed in m.s-1.
38// XD attr ch front_field_base ch REQ Boundary field type.
39
40Sortie& Entree_fluide_vitesse_imposee::printOn(Sortie& s) const { return s << que_suis_je() << finl; }
42{
43 if (app_domains.size() == 0) app_domains = { Motcle("Hydraulique"), Motcle("indetermine") };
45}
46
47/* ========================================================================================= */
48
49Implemente_instanciable(Entree_fluide_vitesse_imposee_libre, "Frontiere_ouverte_vitesse_imposee_sortie", Entree_fluide_vitesse_imposee);
50// XD frontiere_ouverte_vitesse_imposee_sortie frontiere_ouverte_vitesse_imposee frontiere_ouverte_vitesse_imposee_sortie INHERITS_BRACE Sub-class for velocity boundary condition. The imposed velocity field at the open boundary is vectorial and the imposed velocity values are expressed in m.s-1.
51
54{
56}
57
58/* ========================================================================================= */
59
60Implemente_instanciable(Entree_fluide_alpha_impose, "Frontiere_ouverte_alpha_impose", Dirichlet_entree_fluide);
61// XD frontiere_ouverte_alpha_impose dirichlet frontiere_ouverte_alpha_impose INHERITS_BRACE Imposed alpha condition at
62// XD_CONT the open boundary.
63// XD attr ch front_field_base ch REQ Boundary field type.
64Sortie& Entree_fluide_alpha_impose::printOn(Sortie& s) const { return s << que_suis_je() << finl; }
66{
67 if (app_domains.size() == 0) app_domains = { Motcle("Fraction_volumique"), Motcle("indetermine") };
69}
70
71/* ========================================================================================= */
72
73Implemente_instanciable(Entree_fluide_Fluctu_Temperature_imposee, "Frontiere_ouverte_Fluctu_Temperature_imposee", Dirichlet_entree_fluide);
76{
77 if (app_domains.size() == 0) app_domains = { Motcle("Thermique"), Motcle("indetermine") };
79}
80
81/* ========================================================================================= */
82
83Implemente_instanciable(Entree_fluide_fraction_massique_imposee, "Frontiere_ouverte_fraction_massique_imposee", Dirichlet_entree_fluide);
84// XD frontiere_ouverte_fraction_massique_imposee condlim_base frontiere_ouverte_fraction_massique_imposee INHERITS_BRACE not_set
85// XD attr ch front_field_base ch REQ Boundary field type.
86
89{
90 if (app_domains.size() == 0) app_domains = { Motcle("Fraction_massique"), Motcle("indetermine") };
92}
93
94/* ========================================================================================= */
95
96Implemente_instanciable(Entree_fluide_temperature_imposee, "Frontiere_ouverte_temperature_imposee|Frontiere_ouverte_enthalpie_imposee", Dirichlet_entree_fluide);
97// XD frontiere_ouverte_temperature_imposee dirichlet frontiere_ouverte_temperature_imposee INHERITS_BRACE Imposed
98// XD_CONT temperature condition at the open boundary called bord (edge) (in the case of fluid inlet). This condition
99// XD_CONT must be associated with an imposed inlet velocity condition. The imposed temperature value is expressed in oC
100// XD_CONT or K.
101// XD attr ch front_field_base ch REQ Boundary field type.
102
103Sortie& Entree_fluide_temperature_imposee::printOn(Sortie& s) const { return s << que_suis_je() << finl; }
105{
106 if (app_domains.size() == 0) app_domains = { Motcle("Thermique"), Motcle("indetermine") };
108}
109
110/* ========================================================================================= */
111
112Implemente_instanciable(Entree_fluide_V2_impose, "Frontiere_ouverte_V2_impose", Dirichlet_entree_fluide);
113Sortie& Entree_fluide_V2_impose::printOn(Sortie& s) const { return s << que_suis_je() << finl; }
115{
116 if (app_domains.size() == 0) app_domains = { Motcle("Transport_V2"), Motcle("indetermine") };
118}
std::vector< Motcle > app_domains
classe Dirichlet_entree_fluide Cette classe represente une condition aux limite imposant une grandeur
classe Dirichlet Cette classe est la classe de base de la hierarchie des conditions aux limites de ty...
Definition Dirichlet.h:31
classe Entree_fluide_concentration_imposee Cas particulier de la classe Dirichlet_entree_fluide
classe Entree_fluide_V2_impose Cas particulier de la classe Dirichlet_entree_fluide pour les fluctuat...
classe Entree_fluide_temperature_imposee Cas particulier de la classe Dirichlet_entree_fluide pour la...
classe Entree_fluide_vitesse_imposee_libre Cas particulier de la classe Entree_fluide_vitesse_imposee...
classe Entree_fluide_vitesse_imposee Cas particulier de la classe Dirichlet_entree_fluide
Class defining operators and methods for all reading operation in an input flow (file,...
Definition Entree.h:42
const Nom & que_suis_je() const
renvoie la chaine identifiant la classe.
Definition Objet_U.cpp:104
virtual Entree & readOn(Entree &)
Lecture d'un Objet_U sur un flot d'entree Methode a surcharger.
Definition Objet_U.cpp:293
virtual Sortie & printOn(Sortie &) const
Ecriture de l'objet sur un flot de sortie Methode a surcharger.
Definition Objet_U.cpp:282
Classe de base des flux de sortie.
Definition Sortie.h:52