TrioCFD 1.9.9_beta
TrioCFD documentation
Loading...
Searching...
No Matches
Source_PDF_base Class Reference

class Source_PDF_base Base class for the source terms for the penalisation of the momentum in the Immersed Boundary Method (IBM) More...

#include <Source_PDF_base.h>

Inheritance diagram for Source_PDF_base:
[legend]
Collaboration diagram for Source_PDF_base:
[legend]

Public Member Functions

const int & getInterpolationBool () const
const Interpolation_IBM_basegetInterpolationLu () const
const Prepro_IBM_basegetpreproLu () const
void associer_pb (const Probleme_base &) override
DoubleTab & ajouter (DoubleTab &) const override
DoubleTab & ajouter_ (const DoubleTab &, DoubleTab &) const override
virtual DoubleTab & ajouter_ (const DoubleTab &, DoubleTab &, const int) const
DoubleTab & calculer (DoubleTab &) const override
DoubleTab & calculer (DoubleTab &, const int) const
DoubleTab & calculer_pdf (DoubleTab &) const
void mettre_a_jour (double) override
 DOES NOTHING - to override in derived classes.
void contribuer_a_avec (const DoubleTab &, Matrice_Morse &) const override
 contribution to the implicit matrix of source terms, by default no contribution
double fonct_coeff (const double, const double, const double) const
double fonct_regul_PDF (const int, const double)
virtual DoubleVect diag_coeff_elem (ArrOfDouble &, const DoubleTab &, int) const
virtual DoubleTab compute_coeff_elem () const
virtual DoubleTab compute_coeff_matrice () const
virtual void multiply_coeff_volume (DoubleTab &) const
virtual void correct_variable (const DoubleTab &, DoubleTab &) const
void calculer_variable_imposee ()
void updateChampRho ()
const Champ_Don_baseget_champ_rotation () const
const Champ_Don_baseget_champ_aire () const
const PDF_modelget_modele () const
int impr (Sortie &) const override
void ouvrir_fichier (SFichier &, const Nom &, const int) const override
 Opening/creation of a file for printing a source term. To override in derived classes.
const DoubleTab & get_sec_mem_pdf () const
void set_sec_mem_pdf (DoubleTab &it)
const DoubleTab & get_source_pdf () const
virtual void set_source_pdf (DoubleTab &it)
DoubleVect & compute_source_term_PDF (int, DoubleTab &, DoubleVect &)
DoubleVect & compute_source_term_PDF (DoubleVect &)
virtual void volume_source_term_PDF (DoubleTab &)
void update_elem_IBM (DoubleTab &, double, double)
void update_pseudo_level_set_IBM (DoubleTab &, double)
double aire_geometrique_IBM (DoubleTab &, int)
void get_fields_from_prepro (Prepro_IBM_base &)
void set_fields_to_prepro (Prepro_IBM_base &)
const bool & get_matrice_pression_variable_bool_ () const
void set_matrice_pression_variable_bool_ (bool &flag)
virtual void correct_pressure (const DoubleTab &, DoubleTab &, const DoubleTab &) const
virtual void correct_incr_pressure (const DoubleTab &, DoubleTab &) const
virtual void filtre_CLD (DoubleTab &) const
void set_dt_computation_pdf (double dt)
double calcul_dt_pdf ()
void set_temps_computation_pdf (double temps_pdf)
double get_temps_pdf ()
void set_variable_imposee ()
void compute_NeighNode_IBM_elem (DoubleTab &, IntLists &, bool all_elem_vois=false)
bool get_imm_wall_law ()
void get_noms_champs_postraitables (Noms &nom, Option opt=NONE) const override
bool has_champ (const Motcle &nom, OBS_PTR(Champ_base) &ref_champ) const override
bool has_champ (const Motcle &nom) const override
const Champ_baseget_champ (const Motcle &) const override
void creer_champ (const Motcle &motlu) override
Public Member Functions inherited from Source_base
virtual void resetTime (double t)
 DOES NOTHING - to override in derived classes.
virtual void completer ()
 Updates internal references of the Source_base object.
virtual void dimensionner (Matrice_Morse &) const
 Sizing of the implicit matrix of source terms.
virtual void dimensionner_bloc_vitesse (Matrice_Morse &) const
virtual void contribuer_au_second_membre (DoubleTab &) const
 contribution to the right-hand side of source terms implicitly, by default error
void associer_domaines_public (const Domaine_dis_base &zdis, const Domaine_Cl_dis_base &zcldis)
virtual int initialiser (double temps)
 Unlike the mettre_a_jour methods, the initializer methods of sources cannot depend on the outside.
virtual void discretiser ()
virtual void associer_champ_rho (const Champ_base &champ_rho)
 This method (or the method of the derived class) is called by Sources::associer_champ_rho for each source in the list.
virtual int a_pour_Champ_Fonc (const Motcle &mot, OBS_PTR(Champ_base) &ch_ref) const
 If the source understands the keyword "mot", it fills the reference to ch_ref and returns 1, otherwise returns 0 (see Source_Translation for example).
virtual void contribuer_jacobienne (Matrice_Bloc &, int) const
virtual int reprendre (Entree &) override
 Restores an Objet_U from an input stream. Virtual method to override.
virtual int sauvegarder (Sortie &) const override
 Saves an Objet_U to an output stream. Virtual method to override.
virtual int has_interface_blocs () const
virtual void dimensionner_blocs (matrices_t matrices, const tabs_t &semi_impl={ }) const
virtual void ajouter_blocs (matrices_t matrices, DoubleTab &secmem, const tabs_t &semi_impl={ }) const
bool has_champ (const Motcle &nom, OBS_PTR(Champ_base) &ref_champ) const override
void set_fichier (const Nom &)
void set_description (const Nom &nom)
void set_col_names (const Noms &col_names)
const Nom fichier () const
const Nom description () const
DoubleVect & bilan ()
DoubleVect & bilan () const
Champs_compris & champs_compris ()
const LIST (OBS_PTR(Champ_Don_base)) &champs_don() const
Public Member Functions inherited from Champs_compris_interface
virtual ~Champs_compris_interface ()
virtual bool has_champ (const Motcle &nom, OBS_PTR(Champ_base)&ref_champ) const =0
Public Member Functions inherited from MorEqn
void associer_eqn (const Equation_base &)
 Associates an equation with the object.
virtual void calculer_pour_post (Champ_base &espace_stockage, const Nom &option, int comp) const
virtual Motcle get_localisation_pour_post (const Nom &option) const
const Equation_baseequation () const
 Returns the reference to the equation pointed to by MorEqn::mon_equation.
Equation_baseequation ()
 Returns the reference to the equation pointed to by MorEqn::mon_equation.
int mon_equation_non_nul () const
virtual void check_multiphase_compatibility () const
Public Member Functions inherited from Objet_U
 ~Objet_U () override
 Destructor. Removes the object from the list of objects registered in "memory".
int numero () const
 Returns the index of the object in Memoire::data.
virtual int duplique () const =0
virtual SortieprintOn (Sortie &) const
 Writes the object to an output stream. Virtual method to override.
virtual EntreereadOn (Entree &)
 Reads an Objet_U from an input stream. Virtual method to override.
virtual unsigned taille_memoire () const =0
virtual int est_egal_a (const Objet_U &) const
 Returns 1 if x and *this are the same instance (same memory address).
virtual const Nomle_nom () const
 Returns the name of the Objet_U. Virtual method to override: returns "neant" in this implementation.
virtual void nommer (const Nom &)
 Assigns a name to the Objet_U. Virtual method to override.
int get_object_id () const
 Returns the unique identifier of the object (object_id_).
virtual const Type_infoget_info () const
 Returns type information for the Objet_U.
const Nomque_suis_je () const
 Returns the string identifying the class.
const char * le_type () const
 Returns the type name of the Objet_U.
virtual int change_num (const int *const)
 Changes the internal number of the Objet_U.
virtual int lire_motcle_non_standard (const Motcle &motlu, Entree &is)
 Reads non-simple-type parameters of an Objet_U from an input stream.
virtual int associer_ (Objet_U &)
 Associates the Objet_U with another Objet_U. Virtual method to override.
const Interpreteinterprete () const
Interpreteinterprete ()
Public Member Functions inherited from Process
virtual ~Process ()

Protected Member Functions

 OWN_PTR (Champ_Don_base) champ_nodal_
virtual void compute_variable_imposee_projete (const DoubleTab &, const DoubleTab &, double, double)
ArrOfDouble get_tuvw_local () const
void associer_domaines (const Domaine_dis_base &, const Domaine_Cl_dis_base &) override
virtual void compute_indicateur_nodal_champ_aire ()
void rotate_imposed_velocity (DoubleTab &)
DoubleTab compute_pond (const DoubleTab &rho_m, const DoubleTab &aire, const DoubleVect &volume_thilde, int &nb_som_elem, int &nb_elems) const
virtual void calculer_variable_imposee_elem_fluid ()
virtual void calculer_variable_imposee_hybrid ()
virtual void calculer_variable_imposee_mean_grad ()
virtual void calculer_vitesse_imposee_power_law_tbl ()
virtual void calculer_vitesse_imposee_power_law_tbl_u_star ()
virtual void calculer_temperature_imposee_wall_law ()
 OWN_PTR (Champ_Don_base) champ_rotation_lu_
 OWN_PTR (Champ_Don_base) champ_barycentre_lu_
 OWN_PTR (Prepro_IBM_base) prepro_lu_
void verify_results_prepro ()
 OWN_PTR (Champ_Fonc_base) champ_source_term_PDF_
 Field for post-processing.
 OWN_PTR (Champ_Fonc_base) champ_barycentre_IBM_
 Field for post-processing.
 OWN_PTR (Champ_Fonc_base) champ_aire_IBM_
 Field for post-processing.
 OWN_PTR (Champ_Fonc_base) champ_normal_IBM_
 Field for post-processing.
 OWN_PTR (Champ_Fonc_base) champ_vitesse_shape_IBM_
 Field for post-processing.
 OWN_PTR (Champ_Fonc_base) champ_pseudo_level_set_IBM_
 Field for post-processing.
 OWN_PTR (Interpolation_IBM_base) interpolation_lue_
void comp_diff_L2_max (double dim0, double dim1, const DoubleTab &Array_src, const DoubleTab &Array_prep)
Protected Member Functions inherited from Source_base
 LIST (OBS_PTR(Champ_Don_base)) champs_don_
Protected Member Functions inherited from MorEqn
 OBS_PTR (Equation_base) mon_equation
virtual ~MorEqn ()
Protected Member Functions inherited from Objet_U
 Objet_U ()
 Default constructor: assigns a unique identifier to the object (object_id_) and registers the object in "memory" by giving it a num_obj number.
 Objet_U (const Objet_U &)
 Copy constructor.
const Objet_Uoperator= (const Objet_U &)
 Assignment operator: does nothing (the number and identifier are preserved).
virtual void set_param (Param &) const

Protected Attributes

int type_variable_imposee_ = -1
 champ_rotation_
 champ_aire_lu_
 champ_aire_
 champ_rho_
 champ_barycentre_
bool transpose_rotation_ = false
DoubleTab indicateur_nodal_champ_aire_
IntTab indicateur_dead_cell_
DoubleTab variable_imposee_
PDF_model modele_lu_
double temps_relax_ = -100.
double echelle_relax_ = -100.
bool penalized_ = false
DoubleTab sec_mem_pdf
double dt_computation_pdf_ = -123.
double temps_computation_pdf_ = -123.
DoubleTab source_term_PDF
bool aire_from_prepro_ = false
bool rotation_from_prepro_ = false
bool barycentre_from_prepro_ = false
bool matrice_pression_variable_bool_ = false
bool imm_wall_law_ = false
int interpolation_bool_ = 0
Protected Attributes inherited from Source_base
int col_width_ = 0
Nom out_
Nom description_
Noms col_names_
DoubleVect bilan_
SFichier Flux
Champs_compris champs_compris_

Additional Inherited Members

Static Public Member Functions inherited from Objet_U
static const Nomnom_du_cas ()
 Returns a constant reference to the case name. This method is static.
static Nomget_set_nom_du_cas ()
 Returns a non-constant reference to the case name (to allow modification). This method is static.
static const Type_infoinfo ()
 Returns type information for the Objet_U (static version).
static const Objet_Uself_cast (const Objet_U &)
 Method added for casting in Python.
static Objet_Uself_cast (Objet_U &)
Static Public Member Functions inherited from Process
static int me ()
 Returns the rank of the local processor in the current communication group. See Comm_Group::rank() and PE_Groups::current_group().
static int nproc ()
 Returns the number of processors in the current group. See Comm_Group::nproc() and PE_Groups::current_group().
static bool is_parallel ()
static void exit (int exit_code=-1)
 Exit routine for TRUST within a Kokkos region.
static double mp_sum (double)
 Computes the sum of x over all processors in the current group.
static float mp_sum (float)
static trustIdType mp_sum (trustIdType)
 Computes the sum of x over all processors in the current group.
static double mp_max (double)
static double mp_min (double)
static int mp_max (int)
 Returns the maximum value of x across all processors in the current group.
static int mp_min (int)
 Returns the minimum value of x across all processors in the current group.
static double mp_sum_as_double (int v)
static trustIdType mppartial_sum (trustIdType i)
 Computes the partial sum of x over processors 0 to me()-1 (returns 0 on processor 0).
template<typename T>
static void mp_sum_for_each (T &arg1, T &arg2)
 C++14 compatible mp_sum_for_each: combine multiple mp_sum calls into one collective operation Usage: mp_sum_for_each(a, b); mp_sum_for_each(a, b, c); mp_sum_for_each(a, b, c, d); mp_sum_for_each(a, b, c, d, e); All arguments must be of the same type (double or int) and are modified in place. Supports 2-5 parameters.
template<typename T>
static void mp_sum_for_each (T &arg1, T &arg2, T &arg3)
template<typename T>
static void mp_sum_for_each (T &arg1, T &arg2, T &arg3, T &arg4)
template<typename T>
static void mp_sum_for_each (T &arg1, T &arg2, T &arg3, T &arg4, T &arg5)
template<typename T>
static void mp_max_for_each (T &arg1, T &arg2)
 C++14 compatible mp_max_for_each: combine multiple mp_max calls into one collective operation.
template<typename T>
static void mp_max_for_each (T &arg1, T &arg2, T &arg3)
template<typename T>
static void mp_max_for_each (T &arg1, T &arg2, T &arg3, T &arg4)
template<typename T>
static void mp_max_for_each (T &arg1, T &arg2, T &arg3, T &arg4, T &arg5)
template<typename T>
static void mp_min_for_each (T &arg1, T &arg2)
 C++14 compatible mp_min_for_each: combine multiple mp_min calls into one collective operation.
template<typename T>
static void mp_min_for_each (T &arg1, T &arg2, T &arg3)
template<typename T>
static void mp_min_for_each (T &arg1, T &arg2, T &arg3, T &arg4)
template<typename T>
static void mp_min_for_each (T &arg1, T &arg2, T &arg3, T &arg4, T &arg5)
template<typename _TYPE_>
static void mp_sum_for_each_item (TRUSTArray< _TYPE_ > &x, int n=-1)
template<typename _TYPE_>
static void mp_max_for_each_item (TRUSTArray< _TYPE_ > &x, int n=-1)
template<typename _TYPE_>
static void mp_min_for_each_item (TRUSTArray< _TYPE_ > &x, int n=-1)
static bool mp_and (bool)
 Computes the logical AND of b across all processors in the current group.
static bool mp_or (bool)
static int check_int_overflow (trustIdType)
static int je_suis_maitre ()
 Returns 1 if on the master processor of the current group (i.e. me() == 0), 0 otherwise.
static KOKKOS_INLINE_FUNCTION void Kokkos_exit (const char *)
 Exit routine for TRUST within a Kokkos region.
static int node_master ()
 Returns 1 if on the NUMA node master processor, 0 otherwise.
static void exit (const Nom &message, int exit_code=-1)
static bool is_sequential ()
static void barrier ()
 Synchronizes all processors in the current group (waits until all processors have reached the barrier).
static void abort ()
 Abort routine for TRUST on a fatal error.
static SortieJournal (int message_level=0)
 Returns a static Sortie object used as an event journal.
static double ram_processeur ()
static void imprimer_ram_totale (int all_process=0)
static bool force_single_file (const int ranks, const Nom &filename)
Static Public Attributes inherited from Objet_U
static double precision_geom = 1e-10
static constexpr bool HAS_POINTER = false
static int dimension =0
static int format_precision_geom =11
static int axi =0
static int bidim_axi =0
static int DEACTIVATE_SIGINT_CATCH =0
static Type_info info_obj
static bool disable_TU =false
 Flag to disable or not the writing of the .TU files.
static bool stat_per_proc_perf_log =false
 Flag to enable the writing of the statistics detailed per processor in _csv.TU file.
Static Public Attributes inherited from Process
static int exception_sur_exit =0
static int multiple_files =5120

Detailed Description

class Source_PDF_base Base class for the source terms for the penalisation of the momentum in the Immersed Boundary Method (IBM)

See also
Source_dep_inco_base, and Source_PDF

Definition at line 36 of file Source_PDF_base.h.

Member Function Documentation

◆ aire_geometrique_IBM()

double Source_PDF_base::aire_geometrique_IBM ( DoubleTab & rotation,
int elem )

Definition at line 395 of file Source_PDF_base.cpp.

◆ ajouter()

DoubleTab & Source_PDF_base::ajouter ( DoubleTab & secmem) const
overridevirtual

Reimplemented from Source_dep_inco_base.

Definition at line 1564 of file Source_PDF_base.cpp.

◆ ajouter_() [1/2]

DoubleTab & Source_PDF_base::ajouter_ ( const DoubleTab & variable,
DoubleTab & resu ) const
overridevirtual

Implements Source_dep_inco_base.

Reimplemented in Source_PDF_EF, Source_PDF_VDF, and Source_PDF_VEF.

Definition at line 1574 of file Source_PDF_base.cpp.

◆ ajouter_() [2/2]

DoubleTab & Source_PDF_base::ajouter_ ( const DoubleTab & variable,
DoubleTab & resu,
const int i_traitement_special ) const
virtual

Reimplemented in Source_PDF_EF, Source_PDF_VDF, and Source_PDF_VEF.

Definition at line 1581 of file Source_PDF_base.cpp.

◆ associer_domaines()

void Source_PDF_base::associer_domaines ( const Domaine_dis_base & domaine_dis,
const Domaine_Cl_dis_base & domaine_Cl_dis )
overrideprotectedvirtual

Implements Source_base.

Reimplemented in Source_PDF_EF, Source_PDF_VDF, and Source_PDF_VEF.

Definition at line 1238 of file Source_PDF_base.cpp.

◆ associer_pb()

void Source_PDF_base::associer_pb ( const Probleme_base & pb)
overridevirtual

Implements Source_base.

Reimplemented in Source_PDF_EF, Source_PDF_VDF, and Source_PDF_VEF.

Definition at line 98 of file Source_PDF_base.cpp.

◆ calcul_dt_pdf()

double Source_PDF_base::calcul_dt_pdf ( )

Definition at line 1740 of file Source_PDF_base.cpp.

◆ calculer() [1/2]

DoubleTab & Source_PDF_base::calculer ( DoubleTab & resu) const
overridevirtual

Reimplemented from Source_dep_inco_base.

Definition at line 1594 of file Source_PDF_base.cpp.

◆ calculer() [2/2]

DoubleTab & Source_PDF_base::calculer ( DoubleTab & resu,
const int i_traitement_special ) const

Definition at line 1665 of file Source_PDF_base.cpp.

◆ calculer_pdf()

DoubleTab & Source_PDF_base::calculer_pdf ( DoubleTab & resu) const

Definition at line 1727 of file Source_PDF_base.cpp.

◆ calculer_temperature_imposee_wall_law()

void Source_PDF_base::calculer_temperature_imposee_wall_law ( )
protectedvirtual

Reimplemented in Source_PDF_VEF.

Definition at line 1702 of file Source_PDF_base.cpp.

◆ calculer_variable_imposee()

void Source_PDF_base::calculer_variable_imposee ( )

Definition at line 1708 of file Source_PDF_base.cpp.

◆ calculer_variable_imposee_elem_fluid()

void Source_PDF_base::calculer_variable_imposee_elem_fluid ( )
protectedvirtual

Reimplemented in Source_PDF_EF, Source_PDF_VDF, and Source_PDF_VEF.

Definition at line 1672 of file Source_PDF_base.cpp.

◆ calculer_variable_imposee_hybrid()

void Source_PDF_base::calculer_variable_imposee_hybrid ( )
protectedvirtual

Reimplemented in Source_PDF_EF, Source_PDF_VDF, and Source_PDF_VEF.

Definition at line 1684 of file Source_PDF_base.cpp.

◆ calculer_variable_imposee_mean_grad()

void Source_PDF_base::calculer_variable_imposee_mean_grad ( )
protectedvirtual

Reimplemented in Source_PDF_EF, Source_PDF_VDF, and Source_PDF_VEF.

Definition at line 1678 of file Source_PDF_base.cpp.

◆ calculer_vitesse_imposee_power_law_tbl()

void Source_PDF_base::calculer_vitesse_imposee_power_law_tbl ( )
protectedvirtual

Reimplemented in Source_PDF_EF, Source_PDF_VDF, and Source_PDF_VEF.

Definition at line 1690 of file Source_PDF_base.cpp.

◆ calculer_vitesse_imposee_power_law_tbl_u_star()

void Source_PDF_base::calculer_vitesse_imposee_power_law_tbl_u_star ( )
protectedvirtual

Reimplemented in Source_PDF_EF, Source_PDF_VDF, and Source_PDF_VEF.

Definition at line 1696 of file Source_PDF_base.cpp.

◆ comp_diff_L2_max()

void Source_PDF_base::comp_diff_L2_max ( double dim0,
double dim1,
const DoubleTab & Array_src,
const DoubleTab & Array_prep )
inlineprotected

Definition at line 153 of file Source_PDF_base.h.

◆ compute_coeff_elem()

DoubleTab Source_PDF_base::compute_coeff_elem ( ) const
virtual

Definition at line 1364 of file Source_PDF_base.cpp.

◆ compute_coeff_matrice()

DoubleTab Source_PDF_base::compute_coeff_matrice ( ) const
virtual

Definition at line 1431 of file Source_PDF_base.cpp.

◆ compute_indicateur_nodal_champ_aire()

void Source_PDF_base::compute_indicateur_nodal_champ_aire ( )
protectedvirtual

Reimplemented in Source_PDF_EF, Source_PDF_VDF, and Source_PDF_VEF.

Definition at line 1245 of file Source_PDF_base.cpp.

◆ compute_NeighNode_IBM_elem()

void Source_PDF_base::compute_NeighNode_IBM_elem ( DoubleTab & aireArray,
IntLists & elem_voisins,
bool all_elem_vois = false )

Definition at line 311 of file Source_PDF_base.cpp.

◆ compute_pond()

DoubleTab Source_PDF_base::compute_pond ( const DoubleTab & rho_m,
const DoubleTab & aire,
const DoubleVect & volume_thilde,
int & nb_som_elem,
int & nb_elems ) const
protected

Definition at line 1546 of file Source_PDF_base.cpp.

◆ compute_source_term_PDF() [1/2]

DoubleVect & Source_PDF_base::compute_source_term_PDF ( DoubleVect & bilan)

Definition at line 1601 of file Source_PDF_base.cpp.

◆ compute_source_term_PDF() [2/2]

DoubleVect & Source_PDF_base::compute_source_term_PDF ( int i_traitement_special,
DoubleTab & add_term,
DoubleVect & bilan )

Definition at line 1610 of file Source_PDF_base.cpp.

◆ compute_variable_imposee_projete()

void Source_PDF_base::compute_variable_imposee_projete ( const DoubleTab & marqueur,
const DoubleTab & points,
double val,
double eps )
protectedvirtual

Definition at line 1202 of file Source_PDF_base.cpp.

◆ contribuer_a_avec()

void Source_PDF_base::contribuer_a_avec ( const DoubleTab & ,
Matrice_Morse & mat ) const
overridevirtual

contribution to the implicit matrix of source terms, by default no contribution

Reimplemented from Source_base.

Reimplemented in Source_PDF_EF, Source_PDF_VDF, and Source_PDF_VEF.

Definition at line 1588 of file Source_PDF_base.cpp.

◆ correct_incr_pressure()

void Source_PDF_base::correct_incr_pressure ( const DoubleTab & coeff_node,
DoubleTab & correction_en_pression ) const
virtual

Reimplemented in Source_PDF_EF, Source_PDF_VDF, and Source_PDF_VEF.

Definition at line 1840 of file Source_PDF_base.cpp.

◆ correct_pressure()

void Source_PDF_base::correct_pressure ( const DoubleTab & coeff_node,
DoubleTab & pression,
const DoubleTab & correction_en_pression ) const
virtual

Reimplemented in Source_PDF_EF, Source_PDF_VDF, and Source_PDF_VEF.

Definition at line 1846 of file Source_PDF_base.cpp.

◆ correct_variable()

void Source_PDF_base::correct_variable ( const DoubleTab & coeff_node,
DoubleTab & variable ) const
virtual

Definition at line 1754 of file Source_PDF_base.cpp.

◆ creer_champ()

void Source_PDF_base::creer_champ ( const Motcle & motlu)
overridevirtual

Reimplemented from Source_base.

Reimplemented in Source_PDF_EF, Source_PDF_VDF, and Source_PDF_VEF.

Definition at line 1852 of file Source_PDF_base.cpp.

◆ diag_coeff_elem()

DoubleVect Source_PDF_base::diag_coeff_elem ( ArrOfDouble & variable_elem,
const DoubleTab & rotation,
int num_elem ) const
virtual

Definition at line 1338 of file Source_PDF_base.cpp.

◆ filtre_CLD()

void Source_PDF_base::filtre_CLD ( DoubleTab & filtre) const
virtual

Reimplemented in Source_PDF_EF, Source_PDF_VDF, and Source_PDF_VEF.

Definition at line 1124 of file Source_PDF_base.cpp.

◆ fonct_coeff()

double Source_PDF_base::fonct_coeff ( const double rho_m,
const double aire,
const double dt ) const

Definition at line 1298 of file Source_PDF_base.cpp.

◆ fonct_regul_PDF()

double Source_PDF_base::fonct_regul_PDF ( const int elem,
const double dist )

Definition at line 1272 of file Source_PDF_base.cpp.

◆ get_champ()

const Champ_base & Source_PDF_base::get_champ ( const Motcle & nom) const
overridevirtual

Reimplemented from Source_base.

Reimplemented in Source_PDF_EF, Source_PDF_VDF, and Source_PDF_VEF.

Definition at line 2004 of file Source_PDF_base.cpp.

◆ get_champ_aire()

const Champ_Don_base & Source_PDF_base::get_champ_aire ( ) const
inline

Definition at line 64 of file Source_PDF_base.h.

◆ get_champ_rotation()

const Champ_Don_base & Source_PDF_base::get_champ_rotation ( ) const
inline

Definition at line 63 of file Source_PDF_base.h.

◆ get_fields_from_prepro()

void Source_PDF_base::get_fields_from_prepro ( Prepro_IBM_base & un_prepro)

Definition at line 304 of file Source_PDF_base.cpp.

◆ get_imm_wall_law()

bool Source_PDF_base::get_imm_wall_law ( )
inline

Definition at line 92 of file Source_PDF_base.h.

◆ get_matrice_pression_variable_bool_()

const bool & Source_PDF_base::get_matrice_pression_variable_bool_ ( ) const
inline

Definition at line 81 of file Source_PDF_base.h.

◆ get_modele()

const PDF_model & Source_PDF_base::get_modele ( ) const
inline

Definition at line 65 of file Source_PDF_base.h.

◆ get_noms_champs_postraitables()

void Source_PDF_base::get_noms_champs_postraitables ( Noms & nom,
Option opt = NONE ) const
overridevirtual

Reimplemented from Source_base.

Reimplemented in Source_PDF_EF, Source_PDF_VDF, and Source_PDF_VEF.

Definition at line 1935 of file Source_PDF_base.cpp.

◆ get_sec_mem_pdf()

const DoubleTab & Source_PDF_base::get_sec_mem_pdf ( ) const
inline

Definition at line 68 of file Source_PDF_base.h.

◆ get_source_pdf()

const DoubleTab & Source_PDF_base::get_source_pdf ( ) const
inline

Definition at line 70 of file Source_PDF_base.h.

◆ get_temps_pdf()

double Source_PDF_base::get_temps_pdf ( )
inline

Definition at line 89 of file Source_PDF_base.h.

◆ get_tuvw_local()

ArrOfDouble Source_PDF_base::get_tuvw_local ( ) const
protected

Definition at line 1328 of file Source_PDF_base.cpp.

◆ getInterpolationBool()

const int & Source_PDF_base::getInterpolationBool ( ) const
inline

Definition at line 42 of file Source_PDF_base.h.

◆ getInterpolationLu()

const Interpolation_IBM_base & Source_PDF_base::getInterpolationLu ( ) const
inline

Definition at line 43 of file Source_PDF_base.h.

◆ getpreproLu()

const Prepro_IBM_base & Source_PDF_base::getpreproLu ( ) const
inline

Definition at line 44 of file Source_PDF_base.h.

◆ has_champ() [1/2]

bool Source_PDF_base::has_champ ( const Motcle & nom) const
overridevirtual

Reimplemented from Source_base.

Reimplemented in Source_PDF_EF, Source_PDF_VDF, and Source_PDF_VEF.

Definition at line 1986 of file Source_PDF_base.cpp.

◆ has_champ() [2/2]

bool Source_PDF_base::has_champ ( const Motcle & nom,
OBS_PTR(Champ_base) & ref_champ ) const
override

Definition at line 1950 of file Source_PDF_base.cpp.

◆ impr()

int Source_PDF_base::impr ( Sortie & os) const
overridevirtual

Reimplemented from Source_base.

Reimplemented in Source_PDF_EF, Source_PDF_VDF, and Source_PDF_VEF.

Definition at line 1778 of file Source_PDF_base.cpp.

◆ mettre_a_jour()

void Source_PDF_base::mettre_a_jour ( double temps)
overridevirtual

DOES NOTHING - to override in derived classes.

Time update of the source term.

Parameters
(double)the time step of the update

Reimplemented from Source_base.

Definition at line 1749 of file Source_PDF_base.cpp.

◆ multiply_coeff_volume()

void Source_PDF_base::multiply_coeff_volume ( DoubleTab & coeff) const
virtual

Reimplemented in Source_PDF_EF, Source_PDF_VDF, and Source_PDF_VEF.

Definition at line 1540 of file Source_PDF_base.cpp.

◆ ouvrir_fichier()

void Source_PDF_base::ouvrir_fichier ( SFichier & os,
const Nom & type,
const int flag = 1 ) const
overridevirtual

Opening/creation of a file for printing a source term. To override in derived classes.

Exceptions
methodto override

Reimplemented from Source_base.

Definition at line 1785 of file Source_PDF_base.cpp.

◆ OWN_PTR() [1/11]

Source_PDF_base::OWN_PTR ( Champ_Don_base )
protected

◆ OWN_PTR() [2/11]

Source_PDF_base::OWN_PTR ( Champ_Don_base )
protected

◆ OWN_PTR() [3/11]

Source_PDF_base::OWN_PTR ( Champ_Don_base )
protected

◆ OWN_PTR() [4/11]

Source_PDF_base::OWN_PTR ( Champ_Fonc_base )
mutableprotected

Field for post-processing.

◆ OWN_PTR() [5/11]

Source_PDF_base::OWN_PTR ( Champ_Fonc_base )
mutableprotected

Field for post-processing.

◆ OWN_PTR() [6/11]

Source_PDF_base::OWN_PTR ( Champ_Fonc_base )
mutableprotected

Field for post-processing.

◆ OWN_PTR() [7/11]

Source_PDF_base::OWN_PTR ( Champ_Fonc_base )
mutableprotected

Field for post-processing.

◆ OWN_PTR() [8/11]

Source_PDF_base::OWN_PTR ( Champ_Fonc_base )
mutableprotected

Field for post-processing.

◆ OWN_PTR() [9/11]

Source_PDF_base::OWN_PTR ( Champ_Fonc_base )
mutableprotected

Field for post-processing.

◆ OWN_PTR() [10/11]

Source_PDF_base::OWN_PTR ( Interpolation_IBM_base )
protected

◆ OWN_PTR() [11/11]

Source_PDF_base::OWN_PTR ( Prepro_IBM_base )
protected

◆ rotate_imposed_velocity()

void Source_PDF_base::rotate_imposed_velocity ( DoubleTab & vitesse_imposee)
protected

Definition at line 1130 of file Source_PDF_base.cpp.

◆ set_dt_computation_pdf()

void Source_PDF_base::set_dt_computation_pdf ( double dt)
inline

Definition at line 86 of file Source_PDF_base.h.

◆ set_fields_to_prepro()

void Source_PDF_base::set_fields_to_prepro ( Prepro_IBM_base & un_prepro)

Definition at line 297 of file Source_PDF_base.cpp.

◆ set_matrice_pression_variable_bool_()

void Source_PDF_base::set_matrice_pression_variable_bool_ ( bool & flag)
inline

Definition at line 82 of file Source_PDF_base.h.

◆ set_sec_mem_pdf()

void Source_PDF_base::set_sec_mem_pdf ( DoubleTab & it)
inline

Definition at line 69 of file Source_PDF_base.h.

◆ set_source_pdf()

virtual void Source_PDF_base::set_source_pdf ( DoubleTab & it)
inlinevirtual

Definition at line 71 of file Source_PDF_base.h.

◆ set_temps_computation_pdf()

void Source_PDF_base::set_temps_computation_pdf ( double temps_pdf)
inline

Definition at line 88 of file Source_PDF_base.h.

◆ set_variable_imposee()

void Source_PDF_base::set_variable_imposee ( )

Definition at line 223 of file Source_PDF_base.cpp.

◆ update_elem_IBM()

void Source_PDF_base::update_elem_IBM ( DoubleTab & vecteur_deplacement,
double alpha,
double raid )

Definition at line 765 of file Source_PDF_base.cpp.

◆ update_pseudo_level_set_IBM()

void Source_PDF_base::update_pseudo_level_set_IBM ( DoubleTab & vecteur_deplacement,
double alpha )

Definition at line 432 of file Source_PDF_base.cpp.

◆ updateChampRho()

void Source_PDF_base::updateChampRho ( )

Definition at line 1832 of file Source_PDF_base.cpp.

◆ verify_results_prepro()

void Source_PDF_base::verify_results_prepro ( )
protected

Definition at line 961 of file Source_PDF_base.cpp.

◆ volume_source_term_PDF()

void Source_PDF_base::volume_source_term_PDF ( DoubleTab & volume_term_PDF)
virtual

Reimplemented in Source_PDF_EF.

Definition at line 1661 of file Source_PDF_base.cpp.

Member Data Documentation

◆ aire_from_prepro_

bool Source_PDF_base::aire_from_prepro_ = false
protected

Definition at line 142 of file Source_PDF_base.h.

◆ barycentre_from_prepro_

bool Source_PDF_base::barycentre_from_prepro_ = false
protected

Definition at line 144 of file Source_PDF_base.h.

◆ champ_aire_

Source_PDF_base::champ_aire_
protected

Definition at line 117 of file Source_PDF_base.h.

◆ champ_aire_lu_

Source_PDF_base::champ_aire_lu_
protected

Definition at line 117 of file Source_PDF_base.h.

◆ champ_barycentre_

Source_PDF_base::champ_barycentre_
protected

Definition at line 118 of file Source_PDF_base.h.

◆ champ_rho_

Source_PDF_base::champ_rho_
protected

Definition at line 117 of file Source_PDF_base.h.

◆ champ_rotation_

Source_PDF_base::champ_rotation_
protected

Definition at line 117 of file Source_PDF_base.h.

◆ dt_computation_pdf_

double Source_PDF_base::dt_computation_pdf_ = -123.
protected

Definition at line 131 of file Source_PDF_base.h.

◆ echelle_relax_

double Source_PDF_base::echelle_relax_ = -100.
protected

Definition at line 128 of file Source_PDF_base.h.

◆ imm_wall_law_

bool Source_PDF_base::imm_wall_law_ = false
protected

Definition at line 147 of file Source_PDF_base.h.

◆ indicateur_dead_cell_

IntTab Source_PDF_base::indicateur_dead_cell_
protected

Definition at line 124 of file Source_PDF_base.h.

◆ indicateur_nodal_champ_aire_

DoubleTab Source_PDF_base::indicateur_nodal_champ_aire_
protected

Definition at line 123 of file Source_PDF_base.h.

◆ interpolation_bool_

int Source_PDF_base::interpolation_bool_ = 0
protected

Definition at line 151 of file Source_PDF_base.h.

◆ matrice_pression_variable_bool_

bool Source_PDF_base::matrice_pression_variable_bool_ = false
protected

Definition at line 146 of file Source_PDF_base.h.

◆ modele_lu_

PDF_model Source_PDF_base::modele_lu_
protected

Definition at line 126 of file Source_PDF_base.h.

◆ penalized_

bool Source_PDF_base::penalized_ = false
protected

Definition at line 129 of file Source_PDF_base.h.

◆ rotation_from_prepro_

bool Source_PDF_base::rotation_from_prepro_ = false
protected

Definition at line 143 of file Source_PDF_base.h.

◆ sec_mem_pdf

DoubleTab Source_PDF_base::sec_mem_pdf
protected

Definition at line 130 of file Source_PDF_base.h.

◆ source_term_PDF

DoubleTab Source_PDF_base::source_term_PDF
protected

Definition at line 133 of file Source_PDF_base.h.

◆ temps_computation_pdf_

double Source_PDF_base::temps_computation_pdf_ = -123.
protected

Definition at line 132 of file Source_PDF_base.h.

◆ temps_relax_

double Source_PDF_base::temps_relax_ = -100.
protected

Definition at line 127 of file Source_PDF_base.h.

◆ transpose_rotation_

bool Source_PDF_base::transpose_rotation_ = false
protected

Definition at line 122 of file Source_PDF_base.h.

◆ type_variable_imposee_

int Source_PDF_base::type_variable_imposee_ = -1
protected

Definition at line 115 of file Source_PDF_base.h.

◆ variable_imposee_

DoubleTab Source_PDF_base::variable_imposee_
protected

Definition at line 125 of file Source_PDF_base.h.


The documentation for this class was generated from the following files: