Perte_Charge_Gen#

#include <Perte_Charge_Gen.h>
Brief description

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:`Perte\_Charge\_Gen <class-perte-charge-gen>`
[Perte\_Charge\_Gen](#class-perte-charge-gen)

Detailed description#

Inherits from#

Inherited by#

Inheritance graph#

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

../../../../../_images/classPerte__Charge__Gen__inherit__graph.png

List of Public Methods#

List of Public Static Methods#

List of Protected Methods#

Complete Member Function Documentation#

associer_pb#

Definition
void Perte_Charge_Gen::associer_pb(const Probleme_base &) override
Brief description

associe le_fluide et la_vitesse

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 Perte_Charge_Gen::associer_pb(const Probleme_base &) override <perte-charge-gen-public-void-perte-charge-gen-associer-pb-const-probleme-base-ref-override>`
[void Perte_Charge_Gen::associer_pb(const Probleme_base &) override](#perte-charge-gen-public-void-perte-charge-gen-associer-pb-const-probleme-base-ref-override)

completer#

Definition
void Perte_Charge_Gen::completer() override
Brief description

Met a jour les references internes a l’objet Source_base .

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 Perte_Charge_Gen::completer() override <perte-charge-gen-public-void-perte-charge-gen-completer-override>`
[void Perte_Charge_Gen::completer() override](#perte-charge-gen-public-void-perte-charge-gen-completer-override)

dimensionner_blocs#

Definition
void Perte_Charge_Gen::dimensionner_blocs(matrices_t matrices, const tabs_t &semi_impl={}) 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:`void Perte_Charge_Gen::dimensionner_blocs(matrices_t matrices, const tabs_t &semi_impl={}) const override <perte-charge-gen-public-void-perte-charge-gen-dimensionner-blocs-matrices-t-matrices-const-tabs-t-ref-semi-impl-equal-{}-const-override>`
[void Perte_Charge_Gen::dimensionner_blocs(matrices_t matrices, const tabs_t &semi_impl={}) const override](#perte-charge-gen-public-void-perte-charge-gen-dimensionner-blocs-matrices-t-matrices-const-tabs-t-ref-semi-impl-equal-{}-const-override)

get_info#

Definition
const Type_info * Perte_Charge_Gen::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 * Perte_Charge_Gen::get_info() const override <perte-charge-gen-public-const-type-info-ptr-perte-charge-gen-get-info-const-override>`
[const Type_info * Perte_Charge_Gen::get_info() const override](#perte-charge-gen-public-const-type-info-ptr-perte-charge-gen-get-info-const-override)

Perte_Charge_Gen#

Definition
Perte_Charge_Gen::Perte_Charge_Gen()
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:`Perte_Charge_Gen::Perte_Charge_Gen() <perte-charge-gen-public-perte-charge-gen-perte-charge-gen>`
[Perte_Charge_Gen::Perte_Charge_Gen()](#perte-charge-gen-public-perte-charge-gen-perte-charge-gen)

~Perte_Charge_Gen#

Definition
Perte_Charge_Gen::~Perte_Charge_Gen() override
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:`Perte_Charge_Gen::~Perte_Charge_Gen() override <perte-charge-gen-public-perte-charge-gen-dtor-perte-charge-gen-override>`
[Perte_Charge_Gen::~Perte_Charge_Gen() override](#perte-charge-gen-public-perte-charge-gen-dtor-perte-charge-gen-override)

info#

Definition
const Type_info * Perte_Charge_Gen::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 * Perte_Charge_Gen::info() <perte-charge-gen-public-static-const-type-info-ptr-perte-charge-gen-info>`
[const Type_info * Perte_Charge_Gen::info()](#perte-charge-gen-public-static-const-type-info-ptr-perte-charge-gen-info)

self_cast#

Definition
const Perte_Charge_Gen & Perte_Charge_Gen::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 Perte_Charge_Gen & Perte_Charge_Gen::self_cast(const Objet_U &) <perte-charge-gen-public-static-const-perte-charge-gen-ref-perte-charge-gen-self-cast-const-objet-u-ref>`
[const Perte_Charge_Gen & Perte_Charge_Gen::self_cast(const Objet_U &)](#perte-charge-gen-public-static-const-perte-charge-gen-ref-perte-charge-gen-self-cast-const-objet-u-ref)

self_cast#

Definition
Perte_Charge_Gen & Perte_Charge_Gen::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:`Perte_Charge_Gen & Perte_Charge_Gen::self_cast(Objet_U &) <perte-charge-gen-public-static-perte-charge-gen-ref-perte-charge-gen-self-cast-objet-u-ref>`
[Perte_Charge_Gen & Perte_Charge_Gen::self_cast(Objet_U &)](#perte-charge-gen-public-static-perte-charge-gen-ref-perte-charge-gen-self-cast-objet-u-ref)

associer_domaines#

Definition
void Perte_Charge_Gen::associer_domaines(const Domaine_dis_base &, const Domaine_Cl_dis_base &) 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 Perte_Charge_Gen::associer_domaines(const Domaine_dis_base &, const Domaine_Cl_dis_base &) override <perte-charge-gen-protected-void-perte-charge-gen-associer-domaines-const-domaine-dis-base-ref-const-domaine-cl-dis-base-ref-override>`
[void Perte_Charge_Gen::associer_domaines(const Domaine_dis_base &, const Domaine_Cl_dis_base &) override](#perte-charge-gen-protected-void-perte-charge-gen-associer-domaines-const-domaine-dis-base-ref-const-domaine-cl-dis-base-ref-override)

coeffs_perte_charge#

Definition
virtual void Perte_Charge_Gen::coeffs_perte_charge(const DoubleVect &u, const DoubleVect &pos, double t, double norme_u, double dh, double nu, double reynolds, double &coeff_ortho, double &coeff_long, double &u_l, DoubleVect &v_valeur) const =0
Brief description

Appele pour chaque face par ajouter()

Detailed description

Utilise les intermediaires de calcul : u, norme_u, dh_valeur, reynolds Retourne le resultat calcule dans p_charge. Avantage : bonne factorisation. Inconvenient : cout de l’appel d’une methode virtuelle a l’interieur d’une boucle.

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 Perte_Charge_Gen::coeffs_perte_charge(const DoubleVect &u, const DoubleVect &pos, double t, double norme_u, double dh, double nu, double reynolds, double &coeff_ortho, double &coeff_long, double &u_l, DoubleVect &v_valeur) const =0 <perte-charge-gen-protected-virtual-void-perte-charge-gen-coeffs-perte-charge-const-doublevect-ref-u-const-doublevect-ref-pos-double-t-double-norme-u-double-dh-double-nu-double-reynolds-double-ref-coeff-ortho-double-ref-coeff-long-double-ref-u-l-doublevect-ref-v-valeur-const-equal-0>`
[virtual void Perte_Charge_Gen::coeffs_perte_charge(const DoubleVect &u, const DoubleVect &pos, double t, double norme_u, double dh, double nu, double reynolds, double &coeff_ortho, double &coeff_long, double &u_l, DoubleVect &v_valeur) const =0](#perte-charge-gen-protected-virtual-void-perte-charge-gen-coeffs-perte-charge-const-doublevect-ref-u-const-doublevect-ref-pos-double-t-double-norme-u-double-dh-double-nu-double-reynolds-double-ref-coeff-ortho-double-ref-coeff-long-double-ref-u-l-doublevect-ref-v-valeur-const-equal-0)

lire_motcle_non_standard#

Definition
int Perte_Charge_Gen::lire_motcle_non_standard(const Motcle &, Entree &) override
Brief description

Lecture des parametres de type non simple d’un objet_U a partir d’un flot d’entree.

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:`int Perte_Charge_Gen::lire_motcle_non_standard(const Motcle &, Entree &) override <perte-charge-gen-protected-int-perte-charge-gen-lire-motcle-non-standard-const-motcle-ref-entree-ref-override>`
[int Perte_Charge_Gen::lire_motcle_non_standard(const Motcle &, Entree &) override](#perte-charge-gen-protected-int-perte-charge-gen-lire-motcle-non-standard-const-motcle-ref-entree-ref-override)

printOn#

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

DOES NOTHING - to override in derived classes.

Detailed description

Imprime la source sur un flot de sortie.

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:`Sortie & Perte_Charge_Gen::printOn(Sortie &x) const override <perte-charge-gen-protected-sortie-ref-perte-charge-gen-printon-sortie-ref-x-const-override>`
[Sortie & Perte_Charge_Gen::printOn(Sortie &x) const override](#perte-charge-gen-protected-sortie-ref-perte-charge-gen-printon-sortie-ref-x-const-override)

readOn#

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

DOES NOTHING - to override in derived classes.

Detailed description

Lecture d’un terme source sur un flot d’entree.

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 & Perte_Charge_Gen::readOn(Entree &) override <perte-charge-gen-protected-entree-ref-perte-charge-gen-readon-entree-ref-override>`
[Entree & Perte_Charge_Gen::readOn(Entree &) override](#perte-charge-gen-protected-entree-ref-perte-charge-gen-readon-entree-ref-override)

set_param#

Definition
void Perte_Charge_Gen::set_param(Param &param)
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:`void Perte_Charge_Gen::set_param(Param &param) <perte-charge-gen-protected-void-perte-charge-gen-set-param-param-ref-param>`
[void Perte_Charge_Gen::set_param(Param &param)](#perte-charge-gen-protected-void-perte-charge-gen-set-param-param-ref-param)

Attributes Documentation#

info_obj (public)
const Type_info Perte_Charge_Gen::info_obj
diam_hydr (protected)
TRUST_Deriv<Champ_Don_base> Perte_Charge_Gen::diam_hydr

Diametre hydraulique utilise dans le calcul de la perte de charge.

implicite_ (protected)
int Perte_Charge_Gen::implicite_ = 1
la_vitesse (protected)
TRUST_Ref<Champ_Inc_base *> Perte_Charge_Gen::la_vitesse

Vitesse associee a l’equation resolue.

lambda (protected)
Parser_U Perte_Charge_Gen::lambda
le_dom_Cl_dis_ (protected)
TRUST_Ref<Domaine_Cl_dis_base *> Perte_Charge_Gen::le_dom_Cl_dis_
le_dom_vf_ (protected)
TRUST_Ref<Domaine_VF *> Perte_Charge_Gen::le_dom_vf_

Domaine dans laquelle s’applique la perte de charge.

le_fluide (protected)
TRUST_Ref<Fluide_base *> Perte_Charge_Gen::le_fluide

Fluide associe au probleme.

le_sous_domaine (protected)
TRUST_Ref<Sous_Domaine *> Perte_Charge_Gen::le_sous_domaine

Initialise dans completer()

nom_sous_domaine (protected)
Nom Perte_Charge_Gen::nom_sous_domaine

Nom de la sous - domaine, initialise dans readOn()

sous_domaine (protected)
bool Perte_Charge_Gen::sous_domaine = false

Le terme est - il limite a une sous - domaine ?