42 int nf_tot = domaine.nb_faces_tot();
48 for (
int i = 0; i < pb_->nombre_d_equations(); i++)
49 for (
int j = 0; j < pb_->equation(i).domaine_Cl_dis().nb_cond_lim(); j++)
51 Cond_lim& cond_lim_loc = pb_->equation(i).domaine_Cl_dis().les_conditions_limites(j);
70 const IntTab& f_e = domaine.face_voisins();
72 const bool is_PolyMAC_MPFA = pb_->discretisation().is_PolyMAC_MPFA(), is_vdf = pb_->discretisation().is_vdf();
77 if ((is_vdf) || (is_PolyMAC_MPFA))
78 tab_y(f, n) = (
Faces_a_calculer_(f, 0)) ? (f_e(f, 0) >= 0 ? domaine.dist_face_elem0(f, f_e(f, 0)) : domaine.dist_face_elem1(f, f_e(f, 1))) : -1;
80 Process::exit(
que_suis_je() +
" : you cannot have a wall law with this discretization yet ! But you are welcome to add it in the code if you so choose");
88 const DoubleTab& vit = pb_->get_champ(
"vitesse").passe();
89 const DoubleTab& nu = ref_cast(
Fluide_base, pb_->milieu()).viscosite_cinematique().valeurs();
95 const IntTab& f_e = domaine.face_voisins();
96 int nf_tot = domaine.nb_faces_tot(), ne_tot = domaine.nb_elem_tot();
98 DoubleTrav y_p_e(ne_tot, 1);
99 for (
int f = 0; f < nf_tot; f++)
102 int c = (f_e(f, 0) >= 0) ? 0 : 1;
103 if (f_e(f, (c == 0) ? 1 : 0) >= 0)
104 Process::exit(
"Error in the definition of the boundary conditions for wall laws");
106 y_p_e(e, 0) = y_p(f, 0);