16#include <Modele_turbulence_hyd_base.h>
17#include <Dirichlet_paroi_defilante.h>
18#include <Dirichlet_paroi_fixe.h>
19#include <Discretisation_base.h>
20#include <Domaine_Cl_dis_base.h>
21#include <Paroi_hyd_base_EF.h>
22#include <Schema_Temps_base.h>
23#include <EcrFicPartage.h>
24#include <Probleme_base.h>
25#include <Equation_base.h>
37 if (motlu ==
"u_star" && !champ_u_star_)
45 const Equation_base& equation = mon_modele_turb_hyd->equation();
54 if (champ_u_star_ && (nom == champ_u_star_->
le_nom()))
67 if (champ_u_star_ && (nom == champ_u_star_->
le_nom()))
76 if (champ_u_star_ && (nom == champ_u_star_->
le_nom()))
79 DoubleTab& valeurs = champ_u_star_->valeurs();
81 const Equation_base& my_eqn = mon_modele_turb_hyd->equation();
86 for (
int n_bord = 0; n_bord < nb_front; n_bord++)
93 int nfin = ndeb + le_bord.
nb_faces();
94 for (
int num_face = ndeb; num_face < nfin; num_face++)
96 int elem = face_voisins(num_face, 0);
118 le_dom_dis_ = ref_cast(
Domaine_VF, domaine_dis);
119 le_dom_Cl_dis_ = domaine_Cl_dis;
141 for (
int face = 0; face < size; face++)
class Champ_base This class is the base of the fields hierarchy.
class Cond_lim Generic class used to represent any class
Dirichlet_paroi_fixe Represents a fixed wall in a Navier-Stokes type equation.
class Discretisation_base This class represents a spatial discretization scheme, which
void discretiser_champ(const Motcle &directive, const Domaine_dis_base &z, const Nom &nom, const Nom &unite, int nb_comp, int nb_pas_dt, double temps, OWN_PTR(Champ_Inc_base)&champ, const Nom &sous_type=NOM_VIDE) const
class Domaine_Cl_dis_base Domaine_Cl_dis_base objects represent discretized boundary conditions
const Cond_lim & les_conditions_limites(int) const
Returns the i-th boundary condition.
void creer_tableau_faces_bord(Array_base &, RESIZE_OPTIONS opt=RESIZE_OPTIONS::COPY_INIT) const
int face_voisins(int num_face, int i) const
Returns the neighbouring element of num_face in direction i.
int nb_faces_bord() const
Returns the number of faces on which boundary conditions are applied:
class Domaine_dis_base This class is the base of the hierarchy of discretized domains.
Class defining operators and methods for all reading operation in an input flow (file,...
class Equation_base The role of an equation is the calculation of one or more fields....
virtual Domaine_Cl_dis_base & domaine_Cl_dis()
Returns the discretized boundary condition domain associated with the equation.
Probleme_base & probleme()
Returns the problem associated with the equation.
Schema_Temps_base & schema_temps()
Returns the time scheme associated with the equation.
Domaine_dis_base & domaine_dis()
Returns the discretized domain associated with the equation.
int num_premiere_face() const
A character string (Nom) in uppercase.
const Nom & le_nom() const override
Returns *this.
An array of character strings (VECT(Nom)).
const Nom & que_suis_je() const
Returns the string identifying the class.
virtual Entree & readOn(Entree &)
Reads an Objet_U from an input stream. Virtual method to override.
virtual const Nom & le_nom() const
Returns the name of the Objet_U. Virtual method to override: returns "neant" in this implementation.
virtual Sortie & printOn(Sortie &) const
Writes the object to an output stream. Virtual method to override.
CLASS: Paroi_hyd_base_EF Base class for hydraulic wall laws in the EF discretization.
int flag_face_keps_imposee_
void associer(const Domaine_dis_base &, const Domaine_Cl_dis_base &) override
DoubleTab & corriger_derivee_impl(DoubleTab &d) const override
IntVect face_keps_imposee_
void get_noms_champs_postraitables(Noms &nom, Option opt=NONE) const override
const Champ_base & get_champ(const Motcle &nom) const override
bool has_champ(const Motcle &nom, OBS_PTR(Champ_base) &ref_champ) const override
void creer_champ(const Motcle &motlu) override
const Discretisation_base & discretisation() const
Returns the discretization associated with the problem.
double temps_courant() const
Returns the current time.
Base class for output streams.
_SIZE_ dimension_tot(int) const override
virtual void echange_espace_virtuel(IsExchangeBlocking exchange_type=IsExchangeBlocking::DefaultBlocking, const std::string kernel_name="noname")
Base class for the hierarchy of wall-law models computing turbulent quantities near walls....
void get_noms_champs_postraitables(Noms &nom, Option opt=NONE) const override
DoubleTab Cisaillement_paroi_
Champs_compris champs_compris_
OBS_PTR(Modele_turbulence_hyd_base) mon_modele_turb_hyd