16#include <Verif_Cl_Turb.h>
18#include <Periodique.h>
19#include <Dirichlet_paroi_fixe.h>
20#include <Dirichlet_paroi_defilante.h>
21#include <Dirichlet_entree_fluide_leaves.h>
22#include <Entree_fluide_K_Eps_impose.h>
23#include <Entree_fluide_K_Omega_impose.h>
24#include <Neumann_paroi.h>
25#include <Neumann_paroi_flux_nul.h>
27#include <Neumann_sortie_libre.h>
29#include <Frontiere_dis_base.h>
30#include <Probleme_base.h>
31#include <Equation_base.h>
70 Cerr <<
"The two objects of OWN_PTR(Domaine_Cl_dis_base) type don't have" << finl;
71 Cerr <<
"the same number of boundary conditions." << finl;
75 for (
int num_Cl=0; num_Cl<nb_Cl; num_Cl++)
85 message_erreur_turb( la_cl_hydr, la_cl_turb, num_Cl);
89 if ( sub_type(
Symetrie,la_cl_hydr.valeur()) &&
90 ! ( sub_type(
Symetrie,la_cl_turb.valeur()) ||
93 message_erreur_turb( la_cl_hydr, la_cl_turb, num_Cl);
100 message_erreur_turb( la_cl_hydr, la_cl_turb, num_Cl);
110 message_erreur_turb( la_cl_hydr, la_cl_turb, num_Cl);
120 sub_type(
Symetrie,la_cl_turb.valeur()) ) &&
123 message_erreur_turb( la_cl_hydr, la_cl_turb, num_Cl);
139int message_erreur_turb(
const Cond_lim& la_cl_hydr,
const Cond_lim& la_cl_turb,
int& num_Cl)
141 Cerr <<
"The hydraulic and turbulent boundary conditions are not consitent on border:" << finl;
142 Cerr <<
"Boundary conditions number " << num_Cl <<
" \"" << la_cl_turb->frontiere_dis().le_nom() <<
"\" have been assigned to : " << finl;
143 Cerr << la_cl_hydr->que_suis_je() <<
" and " << la_cl_turb->que_suis_je() <<
" !! " << finl;
class Cond_lim Generic class used to represent any class
Dirichlet_paroi_defilante Imposes the wall velocity in an equation of type Navier_Stokes.
Dirichlet_paroi_fixe Represents a fixed wall in a Navier-Stokes type equation.
class Domaine_Cl_dis_base Domaine_Cl_dis_base objects represent discretized boundary conditions
int nb_cond_lim() const
Returns the number of boundary conditions.
const Cond_lim & les_conditions_limites(int) const
Returns the i-th boundary condition.
classe Entree_fluide_K_Eps_impose Cas particulier de la classe Dirichlet_entree_fluide
classe Entree_fluide_K_Omega_impose Cas particulier de la classe Dirichlet_entree_fluide
Entree_fluide_vitesse_imposee Special case of the class Dirichlet_entree_fluide.
Probleme_base & probleme()
Returns the problem associated with the equation.
const Equation_base & equation() const
Returns the reference to the equation pointed to by MorEqn::mon_equation.
Classe Neumann_paroi_flux_nul This boundary condition imposes a zero flux at the boundary.
Neumann_sortie_libre This class represents an open boundary without imposed velocity.
class Nom: a character string for naming TRUST objects.
bool contient(const Nom &nom) const
const Nom & que_suis_je() const
Returns the string identifying the class.
class Periodique This class represents a periodic boundary condition.
static void exit(int exit_code=-1)
Exit routine for TRUST within a Kokkos region.
Symetrie On symmetry faces, the following properties hold: