TrioCFD 1.9.8
TrioCFD documentation
Loading...
Searching...
No Matches
Champ_front_contact_rayo_transp_VEF.h
1/****************************************************************************
2* Copyright (c) 2026, 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 Champ_front_contact_rayo_transp_VEF_included
17#define Champ_front_contact_rayo_transp_VEF_included
18
19#include <Modele_rayo_transp.h>
20#include <Champ_front_contact_VEF.h>
21
23{
24 Declare_instanciable(Champ_front_contact_rayo_transp_VEF);
25public:
26
27 Champ_front_base& affecter_(const Champ_front_base& ch) override;
28 int initialiser(double temps, const Champ_Inc_base& inco) override;
29 void calculer_temperature_bord(double temps);
30 void mettre_a_jour(double temps) override;
31 void mettre_a_jour_flux_radiatif(); // Le fait calculer par le modele et le stocke
32 void calcul_grads_locaux(double temps) override;
33 void modifie_gradients_pour_rayonnement(DoubleVect& gradient_num_transf, DoubleVect& gradient_num_transf_autre_pb);
34 void calculer_coeffs_echange(double temps) override;
35
36 inline Champ_Inc_base& inconnue1() { return l_inconnue1.valeur(); }
37 inline const Champ_Inc_base& inconnue1() const { return l_inconnue1.valeur(); }
38
39 inline Champ_Inc_base& inconnue2() { return l_inconnue2.valeur(); }
40 inline const Champ_Inc_base& inconnue2() const { return l_inconnue2.valeur(); }
41
42 inline Nom& nom_prob1() { return nom_pb1; }
43 inline const Nom& nom_prob1() const { return nom_pb1; }
44 inline Nom& nom_prob2() { return nom_pb2; }
45 inline const Nom& nom_prob2() const { return nom_pb2; }
46
47 inline void associer_modele_rayo(const Modele_rayo_transp& mod) { le_modele_rayo_ = mod; }
48
49private:
50 DoubleVect flux_radiatif_;
51 OBS_PTR(Modele_rayo_transp) le_modele_rayo_;
52 inline const Modele_rayo_transp& modele_rayo() const { return le_modele_rayo_; }
53};
54
55#endif /* Champ_front_contact_rayo_transp_VEF_included */
Classe Champ_Inc_base.
classe Champ_front_base Classe de base pour la hierarchie des champs aux frontieres.
classe Champ_front_contact_VEF Permet le couplage scalaire (temperature ou concentration) entre probl...
void modifie_gradients_pour_rayonnement(DoubleVect &gradient_num_transf, DoubleVect &gradient_num_transf_autre_pb)
Champ_front_base & affecter_(const Champ_front_base &ch) override
void mettre_a_jour(double temps) override
NE FAIT RIEN, a surcharger.
void associer_modele_rayo(const Modele_rayo_transp &mod)
int initialiser(double temps, const Champ_Inc_base &inco) override
Initialisation en debut de calcul.
void calculer_coeffs_echange(double temps) override
NE FAIT RIEN, a surcharger Cette methode peut calculer et stocker des donnees utiles a la.
class Nom Une chaine de caractere pour nommer les objets de TRUST
Definition Nom.h:31