Pb_Multiphase#
#include <Pb_Multiphase.h>
classe Pb_Multiphase Cette classe represente un probleme de thermohydraulique multiphase de type “3*N equations” :
How to reference this class#
Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):
:ref:`Pb\_Multiphase <class-pb-multiphase>`
[Pb\_Multiphase](#class-pb-multiphase)
Detailed description#
QDM_Multiphase : equations de Navier - Stokes et de continuite pour chaque phase inconnues : v_k (vitesses par phase) champs auxiliaires : pression p, taux de presence a_k (sum a_k = 1) - Energie_Multiphase : equations de conservation de l’energie pour chaque phase inconnues : T_k (temperatures) schema de resolution typique : 1) QDM_Multiphase - > prediction des vitesses conservation de la masse-> Newton (etape “semi - implicite”) 3) Energie_Multiphase - > advection/dffusion implicite de l’energie
Inherits from#
public : Pb_Fluide_base
Inherited by#
public : Pb_Multiphase_Enthalpie
public : Pb_Multiphase_HEM
Inheritance graph#
If the image is too small, right-click and open in new tab
List of Public Methods#
List of Public Static Methods#
List of Protected Methods#
Complete Member Function Documentation#
associer_milieu_base#
void Pb_Multiphase::associer_milieu_base(const Milieu_base &) override
Associe le milieu au probleme Le milieu doit etre de type fluide incompressible.
Detailed description
Reimplements:
Referenced By
How to reference this method:
Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):
:ref:`void Pb_Multiphase::associer_milieu_base(const Milieu_base &) override <pb-multiphase-public-void-pb-multiphase-associer-milieu-base-const-milieu-base-ref-override>`
[void Pb_Multiphase::associer_milieu_base(const Milieu_base &) override](#pb-multiphase-public-void-pb-multiphase-associer-milieu-base-const-milieu-base-ref-override)
calculer_pas_de_temps#
double Pb_Multiphase::calculer_pas_de_temps() const override
Calcul la valeur du prochain pas de temps du probleme.
Detailed description
On calcule le minimum des pas de temps des equations associees au probleme.
Reimplements:
References
How to reference this method:
Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):
:ref:`double Pb_Multiphase::calculer_pas_de_temps() const override <pb-multiphase-public-double-pb-multiphase-calculer-pas-de-temps-const-override>`
[double Pb_Multiphase::calculer_pas_de_temps() const override](#pb-multiphase-public-double-pb-multiphase-calculer-pas-de-temps-const-override)
duplique#
int Pb_Multiphase::duplique() const override
Detailed description
Reimplements:
How to reference this method:
Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):
:ref:`int Pb_Multiphase::duplique() const override <pb-multiphase-public-int-pb-multiphase-duplique-const-override>`
[int Pb_Multiphase::duplique() const override](#pb-multiphase-public-int-pb-multiphase-duplique-const-override)
equation#
const Equation_base & Pb_Multiphase::equation(int) const override
Renvoie l’equation d’hydraulique de type Navier_Stokes_std si i = 0 Renvoie l’equation de la thermique de type.
Detailed description
Convection_Diffusion_Temperature si i = 1 (version const)
Reimplements:
References
Referenced By
How to reference this method:
Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):
:ref:`const Equation_base & Pb_Multiphase::equation(int) const override <pb-multiphase-public-const-equation-base-ref-pb-multiphase-equation-int-const-override>`
[const Equation_base & Pb_Multiphase::equation(int) const override](#pb-multiphase-public-const-equation-base-ref-pb-multiphase-equation-int-const-override)
equation#
Equation_base & Pb_Multiphase::equation(int) override
Renvoie l’equation d’hydraulique de type Navier_Stokes_std si i = 0 Renvoie l’equation de la thermique de type.
Detailed description
Convection_Diffusion_Temperature si i = 1
Reimplements:
References
How to reference this method:
Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):
:ref:`Equation_base & Pb_Multiphase::equation(int) override <pb-multiphase-public-equation-base-ref-pb-multiphase-equation-int-override>`
[Equation_base & Pb_Multiphase::equation(int) override](#pb-multiphase-public-equation-base-ref-pb-multiphase-equation-int-override)
equation_energie#
virtual Equation_base & Pb_Multiphase::equation_energie()
Detailed description
References
Referenced By
How to reference this method:
Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):
:ref:`virtual Equation_base & Pb_Multiphase::equation_energie() <pb-multiphase-public-virtual-equation-base-ref-pb-multiphase-equation-energie>`
[virtual Equation_base & Pb_Multiphase::equation_energie()](#pb-multiphase-public-virtual-equation-base-ref-pb-multiphase-equation-energie)
equation_energie#
virtual const Equation_base & Pb_Multiphase::equation_energie() const
Detailed description
References
How to reference this method:
Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):
:ref:`virtual const Equation_base & Pb_Multiphase::equation_energie() const <pb-multiphase-public-virtual-const-equation-base-ref-pb-multiphase-equation-energie-const>`
[virtual const Equation_base & Pb_Multiphase::equation_energie() const](#pb-multiphase-public-virtual-const-equation-base-ref-pb-multiphase-equation-energie-const)
equation_masse#
virtual Equation_base & Pb_Multiphase::equation_masse()
Detailed description
References
Referenced By
How to reference this method:
Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):
:ref:`virtual Equation_base & Pb_Multiphase::equation_masse() <pb-multiphase-public-virtual-equation-base-ref-pb-multiphase-equation-masse>`
[virtual Equation_base & Pb_Multiphase::equation_masse()](#pb-multiphase-public-virtual-equation-base-ref-pb-multiphase-equation-masse)
equation_masse#
virtual const Equation_base & Pb_Multiphase::equation_masse() const
Detailed description
References
How to reference this method:
Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):
:ref:`virtual const Equation_base & Pb_Multiphase::equation_masse() const <pb-multiphase-public-virtual-const-equation-base-ref-pb-multiphase-equation-masse-const>`
[virtual const Equation_base & Pb_Multiphase::equation_masse() const](#pb-multiphase-public-virtual-const-equation-base-ref-pb-multiphase-equation-masse-const)
equation_qdm#
virtual Equation_base & Pb_Multiphase::equation_qdm()
Detailed description
References
Referenced By
How to reference this method:
Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):
:ref:`virtual Equation_base & Pb_Multiphase::equation_qdm() <pb-multiphase-public-virtual-equation-base-ref-pb-multiphase-equation-qdm>`
[virtual Equation_base & Pb_Multiphase::equation_qdm()](#pb-multiphase-public-virtual-equation-base-ref-pb-multiphase-equation-qdm)
equation_qdm#
virtual const Equation_base & Pb_Multiphase::equation_qdm() const
Detailed description
References
How to reference this method:
Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):
:ref:`virtual const Equation_base & Pb_Multiphase::equation_qdm() const <pb-multiphase-public-virtual-const-equation-base-ref-pb-multiphase-equation-qdm-const>`
[virtual const Equation_base & Pb_Multiphase::equation_qdm() const](#pb-multiphase-public-virtual-const-equation-base-ref-pb-multiphase-equation-qdm-const)
get_info#
const Type_info * Pb_Multiphase::get_info() const override
Donne des informations sur le type de l’ Objet_U .
Detailed description
Reimplements:
How to reference this method:
Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):
:ref:`const Type_info * Pb_Multiphase::get_info() const override <pb-multiphase-public-const-type-info-ptr-pb-multiphase-get-info-const-override>`
[const Type_info * Pb_Multiphase::get_info() const override](#pb-multiphase-public-const-type-info-ptr-pb-multiphase-get-info-const-override)
lire_equations#
Entree & Pb_Multiphase::lire_equations(Entree &is, Motcle &dernier_mot) override
Lecture des equations du probleme.
Detailed description
Reimplements:
References
How to reference this method:
Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):
:ref:`Entree & Pb_Multiphase::lire_equations(Entree &is, Motcle &dernier_mot) override <pb-multiphase-public-entree-ref-pb-multiphase-lire-equations-entree-ref-is-motcle-ref-dernier-mot-override>`
[Entree & Pb_Multiphase::lire_equations(Entree &is, Motcle &dernier_mot) override](#pb-multiphase-public-entree-ref-pb-multiphase-lire-equations-entree-ref-is-motcle-ref-dernier-mot-override)
nb_phases#
int Pb_Multiphase::nb_phases() const
Detailed description
References
How to reference this method:
Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):
:ref:`int Pb_Multiphase::nb_phases() const <pb-multiphase-public-int-pb-multiphase-nb-phases-const>`
[int Pb_Multiphase::nb_phases() const](#pb-multiphase-public-int-pb-multiphase-nb-phases-const)
nom_phase#
const Nom & Pb_Multiphase::nom_phase(int i) const
Detailed description
References
Referenced By
How to reference this method:
Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):
:ref:`const Nom & Pb_Multiphase::nom_phase(int i) const <pb-multiphase-public-const-nom-ref-pb-multiphase-nom-phase-int-i-const>`
[const Nom & Pb_Multiphase::nom_phase(int i) const](#pb-multiphase-public-const-nom-ref-pb-multiphase-nom-phase-int-i-const)
nombre_d_equations#
int Pb_Multiphase::nombre_d_equations() const override
Renvoie le nombre d’equation, Renvoie 2 car il y a 2 equations a un probleme de.
Detailed description
thermo - hydraulique standard: l’equation de Navier Stokes l’ equation de la thermique de type Convection_Diffusion_Temperature
Reimplements:
References
Referenced By
How to reference this method:
Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):
:ref:`int Pb_Multiphase::nombre_d_equations() const override <pb-multiphase-public-int-pb-multiphase-nombre-d-equations-const-override>`
[int Pb_Multiphase::nombre_d_equations() const override](#pb-multiphase-public-int-pb-multiphase-nombre-d-equations-const-override)
noms_phases#
const Noms & Pb_Multiphase::noms_phases() const
Detailed description
References
How to reference this method:
Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):
:ref:`const Noms & Pb_Multiphase::noms_phases() const <pb-multiphase-public-const-noms-ref-pb-multiphase-noms-phases-const>`
[const Noms & Pb_Multiphase::noms_phases() const](#pb-multiphase-public-const-noms-ref-pb-multiphase-noms-phases-const)
Pb_Multiphase#
Pb_Multiphase::Pb_Multiphase()
Detailed description
How to reference this method:
Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):
:ref:`Pb_Multiphase::Pb_Multiphase() <pb-multiphase-public-pb-multiphase-pb-multiphase>`
[Pb_Multiphase::Pb_Multiphase()](#pb-multiphase-public-pb-multiphase-pb-multiphase)
preparer_calcul#
void Pb_Multiphase::preparer_calcul() override
Prepare le calcul: initialise les parametres du milieu et prepare le calcul de chacune des equations.
Detailed description
Reimplements:
References
How to reference this method:
Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):
:ref:`void Pb_Multiphase::preparer_calcul() override <pb-multiphase-public-void-pb-multiphase-preparer-calcul-override>`
[void Pb_Multiphase::preparer_calcul() override](#pb-multiphase-public-void-pb-multiphase-preparer-calcul-override)
resolution_en_T#
virtual bool Pb_Multiphase::resolution_en_T() const
Detailed description
Referenced By
How to reference this method:
Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):
:ref:`virtual bool Pb_Multiphase::resolution_en_T() const <pb-multiphase-public-virtual-bool-pb-multiphase-resolution-en-t-const>`
[virtual bool Pb_Multiphase::resolution_en_T() const](#pb-multiphase-public-virtual-bool-pb-multiphase-resolution-en-t-const)
taille_memoire#
unsigned Pb_Multiphase::taille_memoire() const override
Detailed description
Reimplements:
How to reference this method:
Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):
:ref:`unsigned Pb_Multiphase::taille_memoire() const override <pb-multiphase-public-unsigned-pb-multiphase-taille-memoire-const-override>`
[unsigned Pb_Multiphase::taille_memoire() const override](#pb-multiphase-public-unsigned-pb-multiphase-taille-memoire-const-override)
typer_lire_correlation_hem#
virtual void Pb_Multiphase::typer_lire_correlation_hem()
Detailed description
Referenced By
How to reference this method:
Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):
:ref:`virtual void Pb_Multiphase::typer_lire_correlation_hem() <pb-multiphase-public-virtual-void-pb-multiphase-typer-lire-correlation-hem>`
[virtual void Pb_Multiphase::typer_lire_correlation_hem()](#pb-multiphase-public-virtual-void-pb-multiphase-typer-lire-correlation-hem)
typer_lire_milieu#
void Pb_Multiphase::typer_lire_milieu(Entree &is) override
Detailed description
Reimplements:
References
How to reference this method:
Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):
:ref:`void Pb_Multiphase::typer_lire_milieu(Entree &is) override <pb-multiphase-public-void-pb-multiphase-typer-lire-milieu-entree-ref-is-override>`
[void Pb_Multiphase::typer_lire_milieu(Entree &is) override](#pb-multiphase-public-void-pb-multiphase-typer-lire-milieu-entree-ref-is-override)
verifier#
int Pb_Multiphase::verifier() override
Teste la compatibilite des equations de la thermique et de l’hydraulique.
Detailed description
Le test se fait sur les conditions aux limites discretisees de chaque equation. Appel la fonction de librairie hors classe: tester_compatibilite_hydr_thermique(const Domaine_Cl_dis_base&,const Domaine_Cl_dis_base&)
Reimplements:
How to reference this method:
Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):
:ref:`int Pb_Multiphase::verifier() override <pb-multiphase-public-int-pb-multiphase-verifier-override>`
[int Pb_Multiphase::verifier() override](#pb-multiphase-public-int-pb-multiphase-verifier-override)
~Pb_Multiphase#
Pb_Multiphase::~Pb_Multiphase()
Detailed description
How to reference this method:
Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):
:ref:`Pb_Multiphase::~Pb_Multiphase() <pb-multiphase-public-pb-multiphase-dtor-pb-multiphase>`
[Pb_Multiphase::~Pb_Multiphase()](#pb-multiphase-public-pb-multiphase-dtor-pb-multiphase)
cree_instance#
Objet_U * Pb_Multiphase::cree_instance()
Detailed description
How to reference this method:
Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):
:ref:`Objet_U * Pb_Multiphase::cree_instance() <pb-multiphase-public-static-objet-u-ptr-pb-multiphase-cree-instance>`
[Objet_U * Pb_Multiphase::cree_instance()](#pb-multiphase-public-static-objet-u-ptr-pb-multiphase-cree-instance)
info#
const Type_info * Pb_Multiphase::info()
Detailed description
How to reference this method:
Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):
:ref:`const Type_info * Pb_Multiphase::info() <pb-multiphase-public-static-const-type-info-ptr-pb-multiphase-info>`
[const Type_info * Pb_Multiphase::info()](#pb-multiphase-public-static-const-type-info-ptr-pb-multiphase-info)
self_cast#
const Pb_Multiphase & Pb_Multiphase::self_cast(const Objet_U &)
Detailed description
How to reference this method:
Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):
:ref:`const Pb_Multiphase & Pb_Multiphase::self_cast(const Objet_U &) <pb-multiphase-public-static-const-pb-multiphase-ref-pb-multiphase-self-cast-const-objet-u-ref>`
[const Pb_Multiphase & Pb_Multiphase::self_cast(const Objet_U &)](#pb-multiphase-public-static-const-pb-multiphase-ref-pb-multiphase-self-cast-const-objet-u-ref)
self_cast#
Pb_Multiphase & Pb_Multiphase::self_cast(Objet_U &)
Detailed description
How to reference this method:
Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):
:ref:`Pb_Multiphase & Pb_Multiphase::self_cast(Objet_U &) <pb-multiphase-public-static-pb-multiphase-ref-pb-multiphase-self-cast-objet-u-ref>`
[Pb_Multiphase & Pb_Multiphase::self_cast(Objet_U &)](#pb-multiphase-public-static-pb-multiphase-ref-pb-multiphase-self-cast-objet-u-ref)
printOn#
Sortie & Pb_Multiphase::printOn(Sortie &x) const override
Ecriture de l’objet sur un flot de sortie Methode a surcharger.
Detailed description
Reimplements:
References
Referenced By
How to reference this method:
Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):
:ref:`Sortie & Pb_Multiphase::printOn(Sortie &x) const override <pb-multiphase-protected-sortie-ref-pb-multiphase-printon-sortie-ref-x-const-override>`
[Sortie & Pb_Multiphase::printOn(Sortie &x) const override](#pb-multiphase-protected-sortie-ref-pb-multiphase-printon-sortie-ref-x-const-override)
readOn#
Entree & Pb_Multiphase::readOn(Entree &) override
Lecture d’un probleme dans un flot d’entree, et ouverture du flot de sauvegarde.
Detailed description
Format: { nom_milieu bloc de lecture d’un milieu nom_equation bloc de lecture d’une equation Postraitement bloc de lecture postraitement reprise | sauvegarde | sauvegarde_simple formatte | binaire | pdi nom_de_fichier } L’option sauvegarde_simple permet de sauver le probleme dans le fichier choisi en ecrasant a chaque fois les sauvegardes precedentes : cela permet d’economiser de la place disque.
Reimplements:
Referenced By
How to reference this method:
Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):
:ref:`Entree & Pb_Multiphase::readOn(Entree &) override <pb-multiphase-protected-entree-ref-pb-multiphase-readon-entree-ref-override>`
[Entree & Pb_Multiphase::readOn(Entree &) override](#pb-multiphase-protected-entree-ref-pb-multiphase-readon-entree-ref-override)
Attributes Documentation#
const Type_info Pb_Multiphase::info_obj
Energie_Multiphase Pb_Multiphase::eq_energie_
Masse_Multiphase Pb_Multiphase::eq_masse_
QDM_Multiphase Pb_Multiphase::eq_qdm_
Noms Pb_Multiphase::noms_phases_