TRUST 1.9.8
HPC thermohydraulic platform
Loading...
Searching...
No Matches
Echange_contact_PolyMAC_HFV.h
1/****************************************************************************
2* Copyright (c) 2025, 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 Echange_contact_PolyMAC_HFV_included
17#define Echange_contact_PolyMAC_HFV_included
18
19#include <Op_Diff_PolyMAC_HFV_Elem.h>
20#include <Echange_externe_impose.h>
21#include <TRUSTTabs_forward.h>
22#include <MD_Vector_tools.h>
23#include <TRUST_Ref.h>
24
26class Front_VF;
27#include <Domaine_forward.h>
28
29/*! @brief classe : Echange_contact_PolyMAC_HFV Outre le champ_front representant la temperature de paroi,
30 *
31 * cette classe possede un autre champ_front avec autant de valeurs
32 * temporelles qui represente la temperature dans l'autre probleme.
33 *
34 */
36{
37 Declare_instanciable(Echange_contact_PolyMAC_HFV);
38public :
39 void init_op() const;
40 void mettre_a_jour(double temps) override { } //non utilise
41 void verifie_ch_init_nb_comp() const override { } //pas de contrainte sur les composantes de chaque cote
42
43 mutable OBS_PTR(Front_VF) fvf, o_fvf; //frontiere dans l'autre probleme
44 mutable int i_fvf = -1 , i_o_fvf = -1; //indices de frontiere de chaque cote
45 mutable OBS_PTR(Op_Diff_PolyMAC_HFV_Elem) diff, o_diff; //operateurs de diffusion de chaque cote
46 mutable int o_idx = -1; //indice de l'autre operateur dans le tableau op_ext de Op_Diff_PolyMAC_HFV_Elem (a remplir par celui-ci)
47
48 /* faces de l'autre cote de la frontiere */
49 void init_f_dist() const; //initialisation de f_dist
50 mutable IntTab f_dist; //face de l'autre cote de chaque face de la frontiere
51 mutable int f_dist_init_ = 0;
52
53 double invh_paroi = 1e30; //resistance thermique (1 / h) de la paroi
54
55protected :
56 Nom nom_autre_pb_, nom_bord_, nom_champ_; //nom du probleme distant, du bord, du champ
57};
58
59#endif /* Echange_contact_PolyMAC_HFV_included */
classe : Echange_contact_PolyMAC_HFV Outre le champ_front representant la temperature de paroi,
void verifie_ch_init_nb_comp() const override
Appel la verification du champ lu par l intermediaire de l equation pour laquelle on considere la con...
void mettre_a_jour(double temps) override
Effectue une mise a jour en temps de la condition aux limites.
Classe Echange_externe_impose: Cette classe represente le cas particulier de la classe.
class Front_VF
Definition Front_VF.h:36
class Nom Une chaine de caractere pour nommer les objets de TRUST
Definition Nom.h:31