16#include <Convection_Diffusion_Espece_Fluide_Dilatable_base.h>
17#include <Fluide_Dilatable_base.h>
18#include <Neumann_sortie_libre.h>
19#include <Discret_Thyd.h>
40 Conds_lim& condlims=zcl_modif_->les_conditions_limites();
41 int nb=condlims.size();
42 for (
int i=0; i<nb; i++)
46 DoubleTab& T=condlims[i]->champ_front().valeurs();
60 Cerr <<
"Massic fraction equation discretization ..." << finl;
63 1 ,nb_valeurs_temp,temps,l_inco_ch);
65 Cerr <<
"Convection_Diffusion_Espece_Fluide_Dilatable_base::discretiser() ok" << finl;
99 static Motcle domaine =
"Fraction_massique";
class Conds_lim This class represents a vector of boundary conditions.
void set_modifier_val_imp(int)
Sets the modifier_val_imp flag for all boundary conditions in the vector.
Particular case of Convection_Diffusion_std for a dilatable fluid when the transported scalar is the ...
std::vector< YAML_data > data_a_sauvegarder() const override
for PDI IO: retrieve name, type and dimensions of the data to save/restore. This has to be overrode f...
void calculer_div_u_ou_div_rhou(DoubleTab &res) const override
int sauvegarder(Sortie &) const override
Saves an Objet_U to an output stream. Virtual method to override.
int preparer_calcul() override
Everything that does not depend on other possible problems.
int reprendre(Entree &) override
Restores an Objet_U from an input stream. Virtual method to override.
void discretiser() override
Discretizes the equation.
const Motcle & domaine_application() const override
Returns the name of the equation's application domain.
void calculer_div_rho_u_impl(DoubleTab &res, const Convection_Diffusion_Fluide_Dilatable_base &eqn) const
Base class for convection-diffusion equations for a dilatable fluid.
class Discret_Thyd This class is the base class representing a discretization
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 defining operators and methods for all reading operation in an input flow (file,...
int reprendre(Entree &) override
We resume the unknown from an input stream.
virtual std::vector< YAML_data > data_a_sauvegarder() const
for PDI IO: retrieve name, type and dimensions of the data to save/restore. This has to be overrode f...
const Discretisation_base & discretisation() const
Returns the discretization associated with the equation.
virtual int preparer_calcul()
Everything that does not depend on other possible problems.
int sauvegarder(Sortie &) const override
We save the unknown, then the source terms to an output stream.
virtual Domaine_Cl_dis_base & domaine_Cl_dis()
Returns the discretized boundary condition domain associated with the equation.
Schema_Temps_base & schema_temps()
Returns the time scheme associated with the equation.
virtual void discretiser()
Discretizes the equation.
Domaine_dis_base & domaine_dis()
Returns the discretized domain associated with the equation.
A character string (Nom) in uppercase.
Neumann_sortie_libre This class represents an open boundary without imposed velocity.
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.
double temps_courant() const
Returns the current time.
virtual int nb_valeurs_temporelles() const =0
Base class for output streams.