TRUST 1.9.8
HPC thermohydraulic platform
Loading...
Searching...
No Matches
Frontiere_ouverte_rho_u_impose.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 Frontiere_ouverte_rho_u_impose_included
17#define Frontiere_ouverte_rho_u_impose_included
18
19#include <Dirichlet_entree_fluide_leaves.h>
20#include <TRUST_Ref.h>
21
23
24/*! @brief Frontiere ouverte sur laquelle on impose le flux massique rho.
25 *
26 * U et non la vitesse U. La vitesse est calculee par division par rho(n+1) trouve dans le fluide au moment de l'appel a val_imp.
27 *
28 * @sa Dirichlet_entree_fluide
29 */
31{
32 Declare_instanciable(Frontiere_ouverte_rho_u_impose);
33public :
34 void completer() override;
35 int compatible_avec_eqn(const Equation_base&) const override;
36 double val_imp_au_temps(double temps, int i) const override;
37 double val_imp_au_temps(double temps, int i, int j) const override;
38 const DoubleTab& tab_val_imp(double temps=DMAXFLOAT) const override;
39
40protected :
42};
43
44#endif /* Frontiere_ouverte_rho_u_impose_included */
classe Entree_fluide_vitesse_imposee_libre Cas particulier de la classe Entree_fluide_vitesse_imposee...
classe Equation_base Le role d'une equation est le calcul d'un ou plusieurs champs....
classe Fluide_Dilatable_base Cette classe represente un d'un fluide dilatable,
Frontiere ouverte sur laquelle on impose le flux massique rho.
void completer() override
NE FAIT RIEN A surcharger dans les classes derivees.
OBS_PTR(Fluide_Dilatable_base) le_fluide
const DoubleTab & tab_val_imp(double temps=DMAXFLOAT) const override
double val_imp_au_temps(double temps, int i) const override
Renvoie la valeur imposee sur la i-eme composante du champ a la frontiere au temps precise.
int compatible_avec_eqn(const Equation_base &) const override