Perte_Charge_VEF#

#include <Perte_Charge_VEF.h>
Brief description

Factorise les fonctionnalites de plusieurs pertes de charge en VEF, vitesse aux faces.

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

Detailed description#

Perte_Charge_Isotrope, Perte_Charge_Directionnelle et Perte_Charge_Anisotrope heritent de Perte_Charge_VEF . Elles doivent surcharger essentiellement readOn() et perte_charge(). readOn() est suppose lire au moins diam_hydr et sous_domaine. Ces classes sont censees remplacer Perte_Charge_VEF_Face et Perte_Charge_VEF_P1NC.

Inherits from#

Inherited by#

Inheritance graph#

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

../../../../../_images/classPerte__Charge__VEF__inherit__graph.png

List of Public Methods#

List of Public Static Methods#

List of Protected Methods#

Complete Member Function Documentation#

ajouter#

Definition
DoubleTab & Perte_Charge_VEF::ajouter(DoubleTab &) const override
Brief description

Appelle perte_charge pour chaque face ou cela est necessaire.

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:`DoubleTab & Perte_Charge_VEF::ajouter(DoubleTab &) const override <perte-charge-vef-public-doubletab-ref-perte-charge-vef-ajouter-doubletab-ref-const-override>`
[DoubleTab & Perte_Charge_VEF::ajouter(DoubleTab &) const override](#perte-charge-vef-public-doubletab-ref-perte-charge-vef-ajouter-doubletab-ref-const-override)

associer_pb#

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

calculer#

Definition
DoubleTab & Perte_Charge_VEF::calculer(DoubleTab &) const 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:`DoubleTab & Perte_Charge_VEF::calculer(DoubleTab &) const override <perte-charge-vef-public-doubletab-ref-perte-charge-vef-calculer-doubletab-ref-const-override>`
[DoubleTab & Perte_Charge_VEF::calculer(DoubleTab &) const override](#perte-charge-vef-public-doubletab-ref-perte-charge-vef-calculer-doubletab-ref-const-override)

completer#

Definition
void Perte_Charge_VEF::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_VEF::completer() override <perte-charge-vef-public-void-perte-charge-vef-completer-override>`
[void Perte_Charge_VEF::completer() override](#perte-charge-vef-public-void-perte-charge-vef-completer-override)

contribuer_a_avec#

Definition
void Perte_Charge_VEF::contribuer_a_avec(const DoubleTab &, Matrice_Morse &) const override
Brief description

copie de ajouter sauf la derniere ligne

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_VEF::contribuer_a_avec(const DoubleTab &, Matrice_Morse &) const override <perte-charge-vef-public-void-perte-charge-vef-contribuer-a-avec-const-doubletab-ref-matrice-morse-ref-const-override>`
[void Perte_Charge_VEF::contribuer_a_avec(const DoubleTab &, Matrice_Morse &) const override](#perte-charge-vef-public-void-perte-charge-vef-contribuer-a-avec-const-doubletab-ref-matrice-morse-ref-const-override)

get_info#

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

Perte_Charge_VEF#

Definition
Perte_Charge_VEF::Perte_Charge_VEF()
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_VEF::Perte_Charge_VEF() <perte-charge-vef-public-perte-charge-vef-perte-charge-vef>`
[Perte_Charge_VEF::Perte_Charge_VEF()](#perte-charge-vef-public-perte-charge-vef-perte-charge-vef)

~Perte_Charge_VEF#

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

info#

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

self_cast#

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

self_cast#

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

associer_domaines#

Definition
void Perte_Charge_VEF::associer_domaines(const Domaine_dis_base &, const Domaine_Cl_dis_base &) override
Brief description

associe le_dom_VEF et le_dom_Cl_VEF

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

coeffs_perte_charge#

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

printOn#

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

readOn#

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

set_param#

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

Attributes Documentation#

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

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

implicite_ (protected)
int Perte_Charge_VEF::implicite_
la_vitesse (protected)
TRUST_Ref<Champ_Inc_base *> Perte_Charge_VEF::la_vitesse

Vitesse associee a l’equation resolue.

lambda (protected)
Parser_U Perte_Charge_VEF::lambda
le_dom_Cl_VEF (protected)
TRUST_Ref<Domaine_Cl_VEF *> Perte_Charge_VEF::le_dom_Cl_VEF
le_dom_VEF (protected)
TRUST_Ref<Domaine_VEF *> Perte_Charge_VEF::le_dom_VEF

Domaine dans laquelle s’applique la perte de charge.

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

Fluide associe au probleme.

le_sous_domaine_dis (protected)
TRUST_Ref<Sous_domaine_VF *> Perte_Charge_VEF::le_sous_domaine_dis

Initialise dans completer()

nom_sous_domaine (protected)
Nom Perte_Charge_VEF::nom_sous_domaine

Nom du sous - domaine, initialise dans readOn()

sous_domaine (protected)
bool Perte_Charge_VEF::sous_domaine = false

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