16#include <Dirichlet_entree_fluide_leaves.h>
17#include <Champ_front_softanalytique.h>
18#include <Dirichlet_paroi_defilante.h>
19#include <Champ_Face_PolyMAC_HFV.h>
20#include <Dirichlet_paroi_fixe.h>
21#include <Discretisation_base.h>
22#include <Domaine_Cl_PolyMAC_family.h>
23#include <Champ_Face_PolyMAC_CDO.h>
24#include <Dirichlet_homogene.h>
25#include <Champ_Inc_P0_base.h>
26#include <Domaine_PolyMAC_CDO.h>
27#include <Equation_base.h>
28#include <Probleme_base.h>
29#include <Matrice_Morse.h>
30#include <Periodique.h>
48 DoubleTab& ch_tab = ch.
valeurs(temps);
57 int ndeb, nfin, num_face;
64 if (N > 1)
Process::exit(
"Periodique CLS not yet supported for multiphase pbs.");
76 for (num_face = ndeb; num_face < nfin; num_face++)
79 if (ch_tab[num_face] != ch_tab[voisine])
81 moy = 0.5 * (ch_tab[num_face] + ch_tab[voisine]);
82 ch_tab[num_face] = moy;
83 ch_tab[voisine] = moy;
95 for (num_face = ndeb; num_face < nfin; num_face++)
96 for (n = 0; n < N; n++)
97 ch_tab(num_face, n) = 0;
106 for (num_face = ndeb; num_face < nfin; num_face++)
107 for (n = 0; n < N; n++)
115 ch_tab(num_face, n) = vn;
123 for (num_face = ndeb; num_face < nfin; num_face++)
124 for (n = 0; n < N; n++)
125 ch_tab(num_face, n) = 0;
132 for (num_face = ndeb; num_face < nfin; num_face++)
133 for (n = 0; n < N; n++)
134 ch_tab(num_face, n) = 0;
141 Cerr <<
"The type of OWN_PTR(Champ_Inc_base) " << ch.
que_suis_je() <<
" is not supported in the PolyMAC_CDO family " << finl;
145 Debog::verifier(
"Domaine_Cl_PolyMAC_family::imposer_cond_lim ch_tab", ch_tab);
171 Cerr <<
" Periodicity is not implemented !!!" << finl;
: class Champ_Face_PolyMAC_HFV
: class Champ_Inc_P0_base
DoubleTab & valeurs() override
Returns the array of field values at the current time.
const Domaine_VF & domaine_vf() const
class Cond_lim_base Base class for the hierarchy of classes that represent the different boundary con...
virtual Frontiere_dis_base & frontiere_dis()
Returns the discretized boundary to which the boundary conditions apply.
static void verifier(const char *const msg, double)
Dirichlet_entree_fluide This class represents a boundary condition imposing a quantity.
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.
virtual double val_imp_au_temps(double temps, int i) const
Returns the imposed value on the i-th component of the field at the boundary at the specified time.
Domaine_VF & domaine_vf()
int nb_faces_sortie_libre() const
int initialiser(double temps) override
Initializes the BCs. Unlike the update methods, the.
void imposer_cond_lim(Champ_Inc_base &, double) override
int nb_bord_periodicite() const
class Domaine_Cl_dis_base Domaine_Cl_dis_base objects represent discretized boundary conditions
virtual int initialiser(double temps)
Initializes the BCs. Unlike the update methods, the.
int nb_cond_lim() const
Returns the number of boundary conditions.
void completer()
Calls Cond_lim_base::completer() on each boundary condition.
Conds_lim & les_conditions_limites()
Returns the array of boundary conditions.
Domaine_dis_base & domaine_dis()
Returns a reference to the discretized domain associated with the boundary conditions.
Conds_lim les_conditions_limites_
virtual const DoubleVect & face_surfaces() const
virtual double face_normales(int face, int comp) const
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,...
virtual Nature_du_champ nature_du_champ() const
int num_premiere_face() const
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 Sortie & printOn(Sortie &) const
Writes the object to an output stream. Virtual method to override.
class Periodique This class represents a periodic boundary condition.
int face_associee(int i) const
static void exit(int exit_code=-1)
Exit routine for TRUST within a Kokkos region.
Base class for output streams.
Symetrie On symmetry faces, the following properties hold:
virtual void echange_espace_virtuel(IsExchangeBlocking exchange_type=IsExchangeBlocking::DefaultBlocking, const std::string kernel_name="noname")