Pb_Multiphase#

#include <Pb_Multiphase.h>
Brief description

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#

Inherited by#

Inheritance graph#

If the image is too small, right-click and open in new tab

../../../../../_images/classPb__Multiphase__inherit__graph.png

List of Public Methods#

List of Public Static Methods#

List of Protected Methods#

Complete Member Function Documentation#

associer_milieu_base#

Definition
void Pb_Multiphase::associer_milieu_base(const Milieu_base &) override
Brief description

Associe le milieu au probleme Le milieu doit etre de type fluide incompressible.

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:`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#

Definition
double Pb_Multiphase::calculer_pas_de_temps() const override
Brief description

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#

Definition
int Pb_Multiphase::duplique() const override
Brief description
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#

Definition
const Equation_base & Pb_Multiphase::equation(int) const override
Brief description

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#

Definition
Equation_base & Pb_Multiphase::equation(int) override
Brief description

Renvoie l’equation d’hydraulique de type Navier_Stokes_std si i = 0 Renvoie l’equation de la thermique de type.

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:`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#

Definition
virtual Equation_base & Pb_Multiphase::equation_energie()
Brief description
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#

Definition
virtual const Equation_base & Pb_Multiphase::equation_energie() const
Brief description
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#

Definition
virtual Equation_base & Pb_Multiphase::equation_masse()
Brief description
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#

Definition
virtual const Equation_base & Pb_Multiphase::equation_masse() const
Brief description
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#

Definition
virtual Equation_base & Pb_Multiphase::equation_qdm()
Brief description
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#

Definition
virtual const Equation_base & Pb_Multiphase::equation_qdm() const
Brief description
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#

Definition
const Type_info * Pb_Multiphase::get_info() const override
Brief description

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#

Definition
Entree & Pb_Multiphase::lire_equations(Entree &is, Motcle &dernier_mot) override
Brief description

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#

Definition
int Pb_Multiphase::nb_phases() const
Brief description
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:`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#

Definition
const Nom & Pb_Multiphase::nom_phase(int i) const
Brief description
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#

Definition
int Pb_Multiphase::nombre_d_equations() const override
Brief description

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#

Definition
const Noms & Pb_Multiphase::noms_phases() const
Brief description
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#

Definition
Pb_Multiphase::Pb_Multiphase()
Brief description
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#

Definition
void Pb_Multiphase::preparer_calcul() override
Brief description

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#

Definition
virtual bool Pb_Multiphase::resolution_en_T() const
Brief description
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#

Definition
unsigned Pb_Multiphase::taille_memoire() const override
Brief description
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#

Definition
virtual void Pb_Multiphase::typer_lire_correlation_hem()
Brief description
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#

Definition
void Pb_Multiphase::typer_lire_milieu(Entree &is) override
Brief description
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#

Definition
int Pb_Multiphase::verifier() override
Brief description

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:

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::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#

Definition
Pb_Multiphase::~Pb_Multiphase()
Brief description
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#

Definition
Objet_U * Pb_Multiphase::cree_instance()
Brief description
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#

Definition
const Type_info * Pb_Multiphase::info()
Brief description
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#

Definition
const Pb_Multiphase & Pb_Multiphase::self_cast(const Objet_U &)
Brief description
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#

Definition
Pb_Multiphase & Pb_Multiphase::self_cast(Objet_U &)
Brief description
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#

Definition
Sortie & Pb_Multiphase::printOn(Sortie &x) const override
Brief description

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#

Definition
Entree & Pb_Multiphase::readOn(Entree &) override
Brief description

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:

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:`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#

info_obj (public)
const Type_info Pb_Multiphase::info_obj
eq_energie_ (protected)
Energie_Multiphase Pb_Multiphase::eq_energie_
eq_masse_ (protected)
Masse_Multiphase Pb_Multiphase::eq_masse_
eq_qdm_ (protected)
QDM_Multiphase Pb_Multiphase::eq_qdm_
noms_phases_ (protected)
Noms Pb_Multiphase::noms_phases_