ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/REPOS_ERICCA/magic/lib/microstructure/src/ve_definition.h
Revision: 772
Committed: Fri Jan 15 21:16:39 2016 UTC (9 years, 3 months ago) by couturad
Content type: text/plain
File size: 5257 byte(s)
Log Message:
Librairie microstructure:
    -> Ajout d'un fichier de parametres
    -> Ajout d'une procedure de creation d'un cube homogene
    -> Ajout d'une procedure de creation d'un cube avec une inclusion
    -> Ajout d'une procedure de maillage (lineaire/quadratique) du VER
    -> Ajout d'une procedure d'application des conditions limites
              -> Chargement purement spherique (deformations homogenes/contraintes homogenes)
              -> Chargement purement deviatorique (deformations homogenes/contraintes homogenes)
    -> Ajout d'une procedure d'homogeneisation
              -> Calcul du tenseur des deformations
              -> Calcul du tenseur des contraintes
              -> Calcul du module de compressibilite apparent
              -> Calcul du module de cisaillement apparent

Librairie geometrie:
    -> Ajout d'une procedure de calcul du volume d'une mg_primitive

Application microstructure.exe:
    -> Ajout d'une commande pour generer le fichier de parametres du VER
    -> Ajout d'une commande pour construire le VER a partir du fichier de parametres

File Contents

# User Rev Content
1 couturad 772 //------------------------------------------------------------
2     //------------------------------------------------------------
3     // MAGiC
4     // Jean Christophe Cuilli�re et Vincent FRANCOIS
5     // D�partement de G�nie M�canique - UQTR
6     //------------------------------------------------------------
7     // Le projet MAGIC est un projet de recherche du d�partement
8     // de g�nie m�canique de l'Universit� du Qu�bec �
9     // Trois Rivi�res
10     // Les librairies ne peuvent �tre utilis�es sans l'accord
11     // des auteurs (contact : francois@uqtr.ca)
12     //------------------------------------------------------------
13     //------------------------------------------------------------
14     //
15     // mg_ver.h
16     //
17     //------------------------------------------------------------
18     //------------------------------------------------------------
19     // COPYRIGHT 2000
20     // Version du 02/03/2006 � 11H23
21     //------------------------------------------------------------
22     //------------------------------------------------------------
23     #ifndef _VE_DEFINITION_
24     #define _VE_DEFINITION_
25    
26     #include "ot_parametres.h"
27    
28     enum VE_TYPE_VER{HOMOGENE,
29     UNE_INCLUSION,
30     ALEATOIRE};
31    
32     enum VE_TYPE_INCLUSION{BOITE,
33     SPHERE,
34     CYLINDRE};
35    
36     enum VE_TYPE_MAIL_ELEMENT{TETRA,
37     HEXA};
38    
39     enum VE_TYPE_CARTE{CONSTANTE,
40     COURBURE};
41    
42     enum VE_TYPE_CL{DEFORMATION_HOMOGENE,
43     CONTRAINTE_HOMOGENE,
44     GRADIENT_TEMPERATURE_HOMOGENE,
45     FLUX_CHALEUR_HOMOGENE};
46    
47     enum VE_TYPE_CHARGEMENT{SPHERIQUE,
48     DEVIATORIQUE};
49    
50     enum VE_PARAM{VE_IO_nom_fichier_MAGiC,
51     VE_IO_Bool_export_STEP,
52     VE_IO_nom_fichier_STEP_BREP,
53     VE_IO_Bool_fusion,
54     VE_IO_Bool_import_STL,
55     VE_IO_STL_eps,
56     VE_IO_nom_fichier_CARTE,
57     VE_IO_nom_fichier_ETUDE,
58     VE_IO_nom_fichier_param_ASTER,
59     VE_IO_code_resu,
60     VE_Dim_precision,
61     VE_VER_Type,
62     VE_VER_Dim_longueur_x,
63     VE_VER_Dim_longueur_y,
64     VE_VER_Dim_longueur_z,
65     VE_INCLU_Type_INCLUSION,
66     VE_INCLU_Dim_pourcentage_volumique,
67     VE_INCLU_Dim_nb_max,
68     VE_INCLU_Dim_mu_rayon,
69     VE_INCLU_Dim_sigma_rayon,
70     VE_INCLU_Dim_mu_longueur_cylindre,
71     VE_INCLU_Dim_sigma_longueur_cylindre,
72     VE_INCLU_Dim_mu_longitude_cylindre,
73     VE_INCLU_Dim_sigma_longitude_cylindre,
74     VE_INCLU_Dim_mu_latitude_cylindre,
75     VE_INCLU_Dim_sigma_latitude_cylindre,
76     VE_INCLU_Dim_mu_longueur_x,
77     VE_INCLU_Dim_sigma_longueur_x,
78     VE_INCLU_Dim_mu_longueur_y,
79     VE_INCLU_Dim_sigma_longueur_y,
80     VE_INCLU_Dim_mu_longueur_z,
81     VE_INCLU_Dim_sigma_longueur_z,
82     VE_INCLU_Dim_mu_nu,
83     VE_INCLU_Dim_sigma_nu,
84     VE_INCLU_Dim_mu_Em,
85     VE_INCLU_Dim_sigma_Em,
86     VE_MATRICE_Dim_mu_nu,
87     VE_MATRICE_Dim_sigma_nu,
88     VE_MATRICE_Dim_mu_Em,
89     VE_MATRICE_Dim_sigma_Em,
90     VE_MAIL_Bool_Mailler,
91     VE_MAIL_Type_ELEMENT,
92     VE_MAIL_Dim_degre_maillage,
93     VE_CARTE_Dim_ecart_nodal,
94     VE_CARTE_Type,
95     VE_CARTE_Dim_fechantillonnage,
96     VE_CARTE_Dim_festimation,
97     VE_VER_CL_Type,
98     VE_VER_CL_CHARGEMENT_type,
99     VE_VER_CL_Dim_valeur,
100     SIZE_OF_VE_PARAM};
101    
102     static const char *VE_PARAM_CHAR[] = {"VE_IO_nom_fichier_MAGiC",
103     "VE_IO_Bool_export_STEP",
104     "VE_IO_nom_fichier_STEP_BREP",
105     "VE_IO_Bool_fusion",
106     "VE_IO_Bool_import_STL",
107     "VE_IO_STL_eps",
108     "VE_IO_nom_fichier_CARTE",
109     "VE_IO_nom_fichier_ETUDE",
110     "VE_IO_nom_fichier_param_ASTER",
111     "VE_IO_code_resu",
112     "VE_Dim_precision",
113     "VE_VER_Type",
114     "VE_VER_Dim_longueur_x",
115     "VE_VER_Dim_longueur_y",
116     "VE_VER_Dim_longueur_z",
117     "VE_INCLU_Type_INCLUSION",
118     "VE_INCLU_Dim_pourcentage_volumique",
119     "VE_INCLU_Dim_nb_max",
120     "VE_INCLU_Dim_mu_rayon",
121     "VE_INCLU_Dim_sigma_rayon",
122     "VE_INCLU_Dim_mu_longueur_cylindre",
123     "VE_INCLU_Dim_sigma_longueur_cylindre",
124     "VE_INCLU_Dim_mu_longitude_cylindre",
125     "VE_INCLU_Dim_sigma_longitude_cylindre",
126     "VE_INCLU_Dim_mu_latitude_cylindre",
127     "VE_INCLU_Dim_sigma_latitude_cylindre",
128     "VE_INCLU_Dim_mu_longueur_x",
129     "VE_INCLU_Dim_sigma_longueur_x",
130     "VE_INCLU_Dim_mu_longueur_y",
131     "VE_INCLU_Dim_sigma_longueur_y",
132     "VE_INCLU_Dim_mu_longueur_z",
133     "VE_INCLU_Dim_sigma_longueur_z",
134     "VE_INCLU_Dim_mu_nu",
135     "VE_INCLU_Dim_sigma_nu",
136     "VE_INCLU_Dim_mu_Em",
137     "VE_INCLU_Dim_sigma_Em",
138     "VE_MATRICE_Dim_mu_nu",
139     "VE_MATRICE_Dim_sigma_nu",
140     "VE_MATRICE_Dim_mu_Em",
141     "VE_MATRICE_Dim_sigma_Em",
142     "VE_MAIL_Bool_Mailler",
143     "VE_MAIL_Type_ELEMENT",
144     "VE_MAIL_Dim_degre_maillage",
145     "VE_CARTE_Dim_ecart_nodal",
146     "VE_CARTE_Type",
147     "VE_CARTE_Dim_fechantillonnage",
148     "VE_CARTE_Dim_festimation",
149     "VE_VER_CL_Type",
150     "VE_VER_CL_CHARGEMENT_type",
151     "VE_VER_CL_Dim_valeur"};
152    
153     static_assert(sizeof(VE_PARAM_CHAR)/sizeof(char*)== VE_PARAM::SIZE_OF_VE_PARAM,"Erreur dans la definition de VE_PARAM");
154    
155    
156    
157    
158     void ini_param_VER(OT_PARAMETRES *param);
159    
160    
161     #endif