1 |
couturad |
919 |
#include "mstruct_parametres.h" |
2 |
couturad |
968 |
#include "mstruct_definition.h" |
3 |
couturad |
919 |
#include "mstruct_generateur_rsa.h" |
4 |
couturad |
926 |
#include "mg_export.h" |
5 |
couturad |
919 |
#include <string.h> |
6 |
|
|
#include <fstream> |
7 |
|
|
#include <cstdlib> |
8 |
|
|
|
9 |
|
|
|
10 |
couturad |
951 |
void PARAMETRES::ini_param_generateur_rsa(OT_PARAMETRES* params, int type_inclusion) |
11 |
couturad |
919 |
{ |
12 |
couturad |
951 |
params->ajouter("Type_generateur","0",OT_PARAMETRES::DOUBLE,"Type de generateur : RSA [0], DCR [1]"); |
13 |
couturad |
919 |
params->ajouter("Nom_mgcg_modele","VES",OT_PARAMETRES::STRING,"Nom du MG_CG_MODELE"); |
14 |
couturad |
951 |
params->ajouter("Nom_groupe_inclusion","Particule",OT_PARAMETRES::STRING,"Nom du groupe d'inclusion (Ex: Particule)"); |
15 |
couturad |
919 |
params->ajouter("Boite3D_distribution_Xmin","-0.1",OT_PARAMETRES::DOUBLE,"Xmin boite3D de distribution d'inclusion"); |
16 |
|
|
params->ajouter("Boite3D_distribution_Ymin","-0.1",OT_PARAMETRES::DOUBLE,"Ymin boite3D de distribution d'inclusion"); |
17 |
|
|
params->ajouter("Boite3D_distribution_Zmin","-0.1",OT_PARAMETRES::DOUBLE,"Zmin boite3D de distribution d'inclusion"); |
18 |
|
|
params->ajouter("Boite3D_distribution_Xmax","1.1",OT_PARAMETRES::DOUBLE,"Xmax boite3D de distribution d'inclusion"); |
19 |
|
|
params->ajouter("Boite3D_distribution_Ymax","1.1",OT_PARAMETRES::DOUBLE,"Ymax boite3D de distribution d'inclusion"); |
20 |
|
|
params->ajouter("Boite3D_distribution_Zmax","1.1",OT_PARAMETRES::DOUBLE,"Zmax boite3D de distribution d'inclusion"); |
21 |
|
|
params->ajouter("Nb_pas_X","20",OT_PARAMETRES::DOUBLE,"Nombre de pas selon X pout la creation d'un octree"); |
22 |
|
|
params->ajouter("Nb_pas_Y","20",OT_PARAMETRES::DOUBLE,"Nombre de pas selon Y pout la creation d'un octree"); |
23 |
|
|
params->ajouter("Nb_pas_Z","20",OT_PARAMETRES::DOUBLE,"Nombre de pas selon Z pout la creation d'un octree"); |
24 |
couturad |
951 |
params->ajouter("Fraction_volumique_cible","0.1",OT_PARAMETRES::DOUBLE,"Fraction volumique cible d'inclusion [0.0, 1.0]"); |
25 |
|
|
params->ajouter("Eps_fraction_volumique","0.001",OT_PARAMETRES::DOUBLE,"Epsilon fraction volumique"); |
26 |
|
|
params->ajouter("Avec_intersections","1",OT_PARAMETRES::DOUBLE,"Avec ou sans intersections avec le bord du VES : Sans [0] Avec [1]"); |
27 |
couturad |
968 |
if(type_inclusion==MSTRUCT::TYPE_INCLUSION::SPHERE) |
28 |
couturad |
919 |
{ |
29 |
|
|
params->ajouter("Type_inclusion","0",OT_PARAMETRES::DOUBLE,"Type d'inclusion : Sphere [0], Cylindre [1]"); |
30 |
couturad |
951 |
params->ajouter("Mu_rayon","0.09",OT_PARAMETRES::DOUBLE,"Moyenne du rayon de la sphere"); |
31 |
couturad |
919 |
params->ajouter("Sigma_rayon","0.0",OT_PARAMETRES::DOUBLE,"Ecart type du rayon de la sphere"); |
32 |
couturad |
951 |
params->ajouter("Type_distribution_rayon","0",OT_PARAMETRES::DOUBLE,"Type de distribution du rayon : Fixe[0], Uniforme[1], Normale[2]"); |
33 |
couturad |
919 |
} |
34 |
couturad |
968 |
if(type_inclusion==MSTRUCT::TYPE_INCLUSION::CYLINDRE) |
35 |
couturad |
919 |
{ |
36 |
|
|
params->ajouter("Type_inclusion","1",OT_PARAMETRES::DOUBLE,"Type d'inclusion : Sphere [0], Cylindre [1]"); |
37 |
couturad |
926 |
params->ajouter("Mu_rayon","0.05",OT_PARAMETRES::DOUBLE,"Moyenne du rayon du cylindre"); |
38 |
couturad |
919 |
params->ajouter("Sigma_rayon","0.0",OT_PARAMETRES::DOUBLE,"Ecart type du rayon du cylindre"); |
39 |
couturad |
951 |
params->ajouter("Type_distribution_rayon","0",OT_PARAMETRES::DOUBLE,"Type de distribution du rayon : Fixe[0], Uniforme[1], Normale[2]"); |
40 |
couturad |
926 |
params->ajouter("Mu_longueur","0.4",OT_PARAMETRES::DOUBLE,"Moyenne de la longueur du cylindre"); |
41 |
couturad |
919 |
params->ajouter("Sigma_longueur","0.0",OT_PARAMETRES::DOUBLE,"Ecart type de la longueur du cylindre"); |
42 |
couturad |
951 |
params->ajouter("Type_distribution_longueur","0",OT_PARAMETRES::DOUBLE,"Type de distribution de la longueur : Fixe[0], Uniforme[1], Normale[2]"); |
43 |
couturad |
929 |
params->ajouter("Mu_theta","0.0",OT_PARAMETRES::DOUBLE,"Moyenne de l'angle theta"); |
44 |
couturad |
951 |
params->ajouter("Sigma_theta","1.0",OT_PARAMETRES::DOUBLE,"Ecart type de l'angle theta"); |
45 |
|
|
params->ajouter("Type_distribution_theta","1",OT_PARAMETRES::DOUBLE,"Type de distribution de l'angle theta : Fixe[0], Uniforme[1], Normale[2]"); |
46 |
couturad |
929 |
params->ajouter("Mu_phi","0.0",OT_PARAMETRES::DOUBLE,"Moyenne de l'angle phi"); |
47 |
couturad |
951 |
params->ajouter("Sigma_phi","1.0",OT_PARAMETRES::DOUBLE,"Ecart type de l'angle phi"); |
48 |
|
|
params->ajouter("Type_distribution_phi","1",OT_PARAMETRES::DOUBLE,"Type de distribution de l'angle phi : Fixe[0], Uniforme[1], Normale[2]"); |
49 |
couturad |
919 |
} |
50 |
couturad |
993 |
if(type_inclusion==MSTRUCT::TYPE_INCLUSION::ELLIPSOIDE) |
51 |
|
|
{ |
52 |
|
|
params->ajouter("Type_inclusion","2",OT_PARAMETRES::DOUBLE,"Type d'inclusion : Sphere [0], Cylindre [1]"); |
53 |
|
|
params->ajouter("Mu_rayon_majeur","0.05",OT_PARAMETRES::DOUBLE,"Moyenne du rayon majeur de l'ellipsoide"); |
54 |
|
|
params->ajouter("Sigma_rayon_majeur","0.0",OT_PARAMETRES::DOUBLE,"Ecart type du rayon majeur de l'ellipsoide"); |
55 |
|
|
params->ajouter("Type_distribution_rayon_majeur","0",OT_PARAMETRES::DOUBLE,"Type de distribution du rayon : Fixe[0], Uniforme[1], Normale[2]"); |
56 |
|
|
params->ajouter("Mu_rayon_mineur","0.05",OT_PARAMETRES::DOUBLE,"Moyenne du rayon mineur de l'ellipsoide"); |
57 |
|
|
params->ajouter("Sigma_rayon_mineur","0.0",OT_PARAMETRES::DOUBLE,"Ecart type du rayon mineur de l'ellipsoide"); |
58 |
|
|
params->ajouter("Type_distribution_rayon_mineur","0",OT_PARAMETRES::DOUBLE,"Type de distribution du rayon : Fixe[0], Uniforme[1], Normale[2]"); |
59 |
|
|
params->ajouter("Mu_theta","0.0",OT_PARAMETRES::DOUBLE,"Moyenne de l'angle theta"); |
60 |
|
|
params->ajouter("Sigma_theta","1.0",OT_PARAMETRES::DOUBLE,"Ecart type de l'angle theta"); |
61 |
|
|
params->ajouter("Type_distribution_theta","1",OT_PARAMETRES::DOUBLE,"Type de distribution de l'angle theta : Fixe[0], Uniforme[1], Normale[2]"); |
62 |
|
|
params->ajouter("Mu_phi","0.0",OT_PARAMETRES::DOUBLE,"Moyenne de l'angle phi"); |
63 |
|
|
params->ajouter("Sigma_phi","1.0",OT_PARAMETRES::DOUBLE,"Ecart type de l'angle phi"); |
64 |
|
|
params->ajouter("Type_distribution_phi","1",OT_PARAMETRES::DOUBLE,"Type de distribution de l'angle phi : Fixe[0], Uniforme[1], Normale[2]"); |
65 |
|
|
} |
66 |
couturad |
919 |
params->ajouter("Porosite","0",OT_PARAMETRES::DOUBLE,"Considerer l'inclusion comme etant une porosite (vide) [1]"); |
67 |
couturad |
951 |
params->ajouter("Multicouche","0,(0.01,0.01)",OT_PARAMETRES::DOUBLE,"Generer une inclusion avec une ou plusieurs couches [1,2,3,etc] et d'epaisseurs (0.01,0.02,etc)"); |
68 |
couturad |
926 |
params->ajouter("Distance_min_inter_volume","0.04",OT_PARAMETRES::DOUBLE,"Distance minimale qui separe deux inclusions"); |
69 |
|
|
params->ajouter("Volume_min","0.0008",OT_PARAMETRES::DOUBLE,"Volume minimal admissible de l'inclusion"); |
70 |
|
|
params->ajouter("Aire_min","0.001963",OT_PARAMETRES::DOUBLE,"Aire minimal admissible d'une face de l'inclusion"); |
71 |
couturad |
919 |
params->ajouter("Longueur_min","0.02",OT_PARAMETRES::DOUBLE,"Longueur minimal admissible d'une arete "); |
72 |
|
|
params->ajouter("Angle_min","0.7854",OT_PARAMETRES::DOUBLE,"Angle minimal admissible entre deux faces"); |
73 |
|
|
params->ajouter("Nb_iteration_max","2000",OT_PARAMETRES::DOUBLE,"Nombre maximal d'iteration"); |
74 |
|
|
} |
75 |
|
|
|
76 |
couturad |
951 |
void PARAMETRES::ini_param_generateur_dcr(OT_PARAMETRES* params, int type_inclusion) |
77 |
|
|
{ |
78 |
|
|
params->ajouter("Type_generateur","1",OT_PARAMETRES::DOUBLE,"Type de generateur : RSA [0], DCR [1]"); |
79 |
|
|
params->ajouter("Nom_mgcg_modele","VES",OT_PARAMETRES::STRING,"Nom du MG_CG_MODELE"); |
80 |
|
|
params->ajouter("Nom_groupe_inclusion","Particule",OT_PARAMETRES::STRING,"Nom du groupe d'inclusion (Ex: Particule)"); |
81 |
|
|
params->ajouter("Boite3D_distribution_Xmin","-0.25",OT_PARAMETRES::DOUBLE,"Xmin boite3D de distribution d'inclusion"); |
82 |
|
|
params->ajouter("Boite3D_distribution_Ymin","-0.25",OT_PARAMETRES::DOUBLE,"Ymin boite3D de distribution d'inclusion"); |
83 |
|
|
params->ajouter("Boite3D_distribution_Zmin","-0.25",OT_PARAMETRES::DOUBLE,"Zmin boite3D de distribution d'inclusion"); |
84 |
|
|
params->ajouter("Boite3D_distribution_Xmax","1.25",OT_PARAMETRES::DOUBLE,"Xmax boite3D de distribution d'inclusion"); |
85 |
|
|
params->ajouter("Boite3D_distribution_Ymax","1.25",OT_PARAMETRES::DOUBLE,"Ymax boite3D de distribution d'inclusion"); |
86 |
|
|
params->ajouter("Boite3D_distribution_Zmax","1.25",OT_PARAMETRES::DOUBLE,"Zmax boite3D de distribution d'inclusion"); |
87 |
|
|
params->ajouter("Nb_pas_X","20",OT_PARAMETRES::DOUBLE,"Nombre de pas selon X pout la creation d'un octree"); |
88 |
|
|
params->ajouter("Nb_pas_Y","20",OT_PARAMETRES::DOUBLE,"Nombre de pas selon Y pout la creation d'un octree"); |
89 |
|
|
params->ajouter("Nb_pas_Z","20",OT_PARAMETRES::DOUBLE,"Nombre de pas selon Z pout la creation d'un octree"); |
90 |
|
|
params->ajouter("Fraction_volumique_cible","0.1",OT_PARAMETRES::DOUBLE,"Fraction volumique cible d'inclusion [0.0, 1.0]"); |
91 |
|
|
params->ajouter("Eps_fraction_volumique","0.001",OT_PARAMETRES::DOUBLE,"Epsilon fraction volumique"); |
92 |
|
|
params->ajouter("Avec_intersections","1",OT_PARAMETRES::DOUBLE,"Avec ou sans intersections avec le bord du VES : Sans [0] Avec [1]"); |
93 |
couturad |
960 |
params->ajouter("Avec_interface_graphique","0",OT_PARAMETRES::DOUBLE,"Avec l'interface graphique : Sans [0] Avec [1]"); |
94 |
|
|
params->ajouter("Facteur_reduction_vitesse","0.75",OT_PARAMETRES::DOUBLE,"Facteur de reduction de la vitesse des particules"); |
95 |
|
|
params->ajouter("Eps_vitesse","0.0001",OT_PARAMETRES::DOUBLE,"Eps vitesse"); |
96 |
|
|
params->ajouter("Friction","0.0",OT_PARAMETRES::DOUBLE,"Friction entre les particules"); |
97 |
|
|
params->ajouter("Pas_temps_sim","0.01",OT_PARAMETRES::DOUBLE,"Pas de temps pour la simulation"); |
98 |
couturad |
964 |
params->ajouter("Temps_max_sim","60.0",OT_PARAMETRES::DOUBLE,"Temps maximal de la simulation"); |
99 |
couturad |
966 |
params->ajouter("Avec_post_RSA","0",OT_PARAMETRES::DOUBLE,"Effectuer un RSA pour tenter de remplir les vides au bord du VES : Sans [0] Avec [1]"); |
100 |
|
|
params->ajouter("Nb_iteration_max","2000",OT_PARAMETRES::DOUBLE,"Nombre maximal d'iteration"); |
101 |
couturad |
968 |
if(type_inclusion==MSTRUCT::TYPE_INCLUSION::SPHERE) |
102 |
couturad |
951 |
{ |
103 |
|
|
params->ajouter("Type_inclusion","0",OT_PARAMETRES::DOUBLE,"Type d'inclusion : Sphere [0], Cylindre [1]"); |
104 |
|
|
params->ajouter("Mu_rayon","0.09",OT_PARAMETRES::DOUBLE,"Moyenne du rayon de la sphere"); |
105 |
|
|
params->ajouter("Sigma_rayon","0.0",OT_PARAMETRES::DOUBLE,"Ecart type du rayon de la sphere"); |
106 |
|
|
params->ajouter("Type_distribution_rayon","0",OT_PARAMETRES::DOUBLE,"Type de distribution du rayon : Fixe[0], Uniforme[1], Normale[2]"); |
107 |
|
|
} |
108 |
couturad |
968 |
if(type_inclusion==MSTRUCT::TYPE_INCLUSION::CYLINDRE) |
109 |
couturad |
951 |
{ |
110 |
|
|
params->ajouter("Type_inclusion","1",OT_PARAMETRES::DOUBLE,"Type d'inclusion : Sphere [0], Cylindre [1]"); |
111 |
|
|
params->ajouter("Mu_rayon","0.05",OT_PARAMETRES::DOUBLE,"Moyenne du rayon du cylindre"); |
112 |
|
|
params->ajouter("Sigma_rayon","0.0",OT_PARAMETRES::DOUBLE,"Ecart type du rayon du cylindre"); |
113 |
|
|
params->ajouter("Type_distribution_rayon","0",OT_PARAMETRES::DOUBLE,"Type de distribution du rayon : Fixe[0], Uniforme[1], Normale[2]"); |
114 |
|
|
params->ajouter("Mu_longueur","0.4",OT_PARAMETRES::DOUBLE,"Moyenne de la longueur du cylindre"); |
115 |
|
|
params->ajouter("Sigma_longueur","0.0",OT_PARAMETRES::DOUBLE,"Ecart type de la longueur du cylindre"); |
116 |
|
|
params->ajouter("Type_distribution_longueur","0",OT_PARAMETRES::DOUBLE,"Type de distribution de la longueur : Fixe[0], Uniforme[1], Normale[2]"); |
117 |
|
|
params->ajouter("Mu_theta","0.0",OT_PARAMETRES::DOUBLE,"Moyenne de l'angle theta"); |
118 |
|
|
params->ajouter("Sigma_theta","1.0",OT_PARAMETRES::DOUBLE,"Ecart type de l'angle theta"); |
119 |
|
|
params->ajouter("Type_distribution_theta","1",OT_PARAMETRES::DOUBLE,"Type de distribution de l'angle theta : Fixe[0], Uniforme[1], Normale[2]"); |
120 |
|
|
params->ajouter("Mu_phi","0.0",OT_PARAMETRES::DOUBLE,"Moyenne de l'angle phi"); |
121 |
|
|
params->ajouter("Sigma_phi","1.0",OT_PARAMETRES::DOUBLE,"Ecart type de l'angle phi"); |
122 |
|
|
params->ajouter("Type_distribution_phi","1",OT_PARAMETRES::DOUBLE,"Type de distribution de l'angle phi : Fixe[0], Uniforme[1], Normale[2]"); |
123 |
|
|
} |
124 |
|
|
params->ajouter("Porosite","0",OT_PARAMETRES::DOUBLE,"Considerer l'inclusion comme etant une porosite (vide) [1]"); |
125 |
|
|
params->ajouter("Multicouche","0,(0.01,0.01)",OT_PARAMETRES::DOUBLE,"Generer une inclusion avec une ou plusieurs couches [1,2,3,etc] et d'epaisseurs (0.01,0.02,etc)"); |
126 |
|
|
params->ajouter("Distance_min_inter_volume","0.04",OT_PARAMETRES::DOUBLE,"Distance minimale qui separe deux inclusions"); |
127 |
|
|
params->ajouter("Volume_min","0.0008",OT_PARAMETRES::DOUBLE,"Volume minimal admissible de l'inclusion"); |
128 |
|
|
params->ajouter("Aire_min","0.001963",OT_PARAMETRES::DOUBLE,"Aire minimal admissible d'une face de l'inclusion"); |
129 |
|
|
params->ajouter("Longueur_min","0.02",OT_PARAMETRES::DOUBLE,"Longueur minimal admissible d'une arete "); |
130 |
|
|
params->ajouter("Angle_min","0.7854",OT_PARAMETRES::DOUBLE,"Angle minimal admissible entre deux faces"); |
131 |
|
|
} |
132 |
|
|
|
133 |
|
|
|
134 |
couturad |
971 |
void PARAMETRES::ini_param_materiau(OT_PARAMETRES* params,char* nom_groupe_forme,bool etude_mecanique,bool etude_thermique) |
135 |
couturad |
919 |
{ |
136 |
couturad |
951 |
params->ajouter("Nom_groupe_forme",nom_groupe_forme,OT_PARAMETRES::STRING,"Nom du groupe de forme (Ex: Particule, Matrice)"); |
137 |
couturad |
971 |
if(etude_mecanique) params->ajouter("Etude_mecanique","1",OT_PARAMETRES::DOUBLE,"Etude mecanique"); |
138 |
|
|
else params->ajouter("Etude_mecanique","0",OT_PARAMETRES::DOUBLE,"Etude mecanique"); |
139 |
couturad |
919 |
params->ajouter("Mu_E","69.0e9",OT_PARAMETRES::DOUBLE,"Moyenne du module d'elasticite"); |
140 |
|
|
params->ajouter("Sigma_E","0.0",OT_PARAMETRES::DOUBLE,"Ecart type du module d'elasticite"); |
141 |
couturad |
971 |
params->ajouter("Type_distribution_E","0",OT_PARAMETRES::DOUBLE,"Type de distribution du module d'elasticite : Fixe[0], Uniforme[1], Normale[2]"); |
142 |
couturad |
919 |
params->ajouter("Mu_nu","0.3",OT_PARAMETRES::DOUBLE,"Moyenne du coefficient de Poisson"); |
143 |
couturad |
971 |
params->ajouter("Sigma_nu","0.0",OT_PARAMETRES::DOUBLE,"Ecart type du coefficient de Poisson"); |
144 |
|
|
params->ajouter("Type_distribution_nu","0",OT_PARAMETRES::DOUBLE,"Type de distribution du coefficient de Poisson : Fixe[0], Uniforme[1], Normale[2]"); |
145 |
|
|
if(etude_thermique) params->ajouter("Etude_thermique","1",OT_PARAMETRES::DOUBLE,"Etude thermique"); |
146 |
|
|
else params->ajouter("Etude_thermique","0",OT_PARAMETRES::DOUBLE,"Etude thermique"); |
147 |
|
|
params->ajouter("Mu_Lambda","0.14",OT_PARAMETRES::DOUBLE,"Moyenne de la conductivite thermique"); |
148 |
|
|
params->ajouter("Sigma_Lambda","0.0",OT_PARAMETRES::DOUBLE,"Ecart type de la conductivite thermique"); |
149 |
|
|
params->ajouter("Type_distribution_Lambda","0",OT_PARAMETRES::DOUBLE,"Type de distribution de la conductivite thermique : Fixe[0], Uniforme[1], Normale[2]"); |
150 |
|
|
params->ajouter("Mu_Ro","1.0",OT_PARAMETRES::DOUBLE,"Moyenne de la masse volumique"); |
151 |
|
|
params->ajouter("Sigma_Ro","0.0",OT_PARAMETRES::DOUBLE,"Ecart type de la masse volumique"); |
152 |
|
|
params->ajouter("Type_distribution_Ro","0",OT_PARAMETRES::DOUBLE,"Type de distribution de la masse volumique : Fixe[0], Uniforme[1], Normale[2]"); |
153 |
|
|
params->ajouter("Mu_Cp","1.0",OT_PARAMETRES::DOUBLE,"Moyenne de capacite thermique massique"); |
154 |
|
|
params->ajouter("Sigma_Cp","0.0",OT_PARAMETRES::DOUBLE,"Ecart type de la capacite thermique massique"); |
155 |
|
|
params->ajouter("Type_distribution_Cp","0",OT_PARAMETRES::DOUBLE,"Type de distribution de la capacite thermique massique : Fixe[0], Uniforme[1], Normale[2]"); |
156 |
couturad |
919 |
} |
157 |
|
|
|
158 |
|
|
void PARAMETRES::ini_param_carte_taille(OT_PARAMETRES* params) |
159 |
|
|
{ |
160 |
couturad |
951 |
params->ajouter("Ecart_nodal","0.08",OT_PARAMETRES::DOUBLE,"Ecart nodal"); |
161 |
couturad |
937 |
params->ajouter("Ecart_nodal_face_particule","0.04",OT_PARAMETRES::DOUBLE,"Ecart nodal des faces des particules"); |
162 |
couturad |
974 |
params->ajouter("Nb_couche_min","2",OT_PARAMETRES::DOUBLE,"Nombre de couches entre chaque solide"); |
163 |
couturad |
919 |
params->ajouter("Fechantillonnage","20",OT_PARAMETRES::DOUBLE,"Nombre d'échantillon par entité"); |
164 |
couturad |
926 |
params->ajouter("Nb_cellule_direction","50",OT_PARAMETRES::DOUBLE,"Nombre de cellules de la FEM_SOLUTION dans les directions x,y,z"); |
165 |
couturad |
974 |
params->ajouter("Nom_carte","carte",OT_PARAMETRES::STRING,"Nom de la carte de taille"); |
166 |
|
|
params->ajouter("Nom_fem_solution","solcarte",OT_PARAMETRES::STRING,"Nom de la FEM_SOLUTION"); |
167 |
couturad |
919 |
params->ajouter("Nb_pas","32",OT_PARAMETRES::DOUBLE,"Nombre de pas de balayage"); |
168 |
|
|
params->ajouter("Facteur_augmentation","25",OT_PARAMETRES::DOUBLE,"Facteur d'augmentation de l'ecart nodal d'une cellule a l'autre"); |
169 |
|
|
} |
170 |
|
|
|
171 |
|
|
void PARAMETRES::ini_param_mailleur(OT_PARAMETRES* params) |
172 |
|
|
{ |
173 |
|
|
params->ajouter("Niveau","3",OT_PARAMETRES::DOUBLE,"Niveau du maillage : 1D [1], 2D [2], 3D [3]"); |
174 |
|
|
params->ajouter("Niveau_opt_2d","5",OT_PARAMETRES::DOUBLE,"Limite supérieure des mailles à optimiser"); |
175 |
couturad |
966 |
params->ajouter("Niveau_opt_3d","2",OT_PARAMETRES::DOUBLE,"Limite supérieure des mailles à optimiser"); |
176 |
couturad |
919 |
params->ajouter("Priorite_metrique","0.65",OT_PARAMETRES::DOUBLE,"Valeur de la prise en compte de la métrique versus la qualité"); |
177 |
couturad |
1029 |
params->ajouter("Grille_reguliere","0.0",OT_PARAMETRES::DOUBLE,"Maillage en elements hexaedriques"); |
178 |
|
|
params->ajouter("Gr_nx","20",OT_PARAMETRES::DOUBLE,"Nombre d'element dans la direction x"); |
179 |
|
|
params->ajouter("Gr_ny","20",OT_PARAMETRES::DOUBLE,"Nombre d'element dans la direction x"); |
180 |
|
|
params->ajouter("Gr_nz","20",OT_PARAMETRES::DOUBLE,"Nombre d'element dans la direction x"); |
181 |
couturad |
919 |
} |
182 |
|
|
|
183 |
|
|
void PARAMETRES::ini_param_mailleur_fem(OT_PARAMETRES* params) |
184 |
|
|
{ |
185 |
|
|
params->ajouter("Degre","2",OT_PARAMETRES::DOUBLE,"Degre du maillage a creer"); |
186 |
|
|
params->ajouter("Analyse","0",OT_PARAMETRES::DOUBLE,"Analyse de la qualité du maillage après le maillage : Analyse [1]"); |
187 |
|
|
params->ajouter("Optimisation_num_noeud","0",OT_PARAMETRES::DOUBLE,"Optimisation de la numerotation des noeuds : Optimisation [1]"); |
188 |
|
|
} |
189 |
|
|
|
190 |
|
|
void PARAMETRES::ini_param_etude(OT_PARAMETRES* params, int type_etude) |
191 |
|
|
{ |
192 |
|
|
params->ajouter("Fichier_param_aster","param_aster.txt",OT_PARAMETRES::STRING,"Nom du fichier de parametres aster"); |
193 |
|
|
params->ajouter("Type_etude",type_etude,OT_PARAMETRES::DOUBLE,"Type d'etude : Mecanique [0], Thermique [1]"); |
194 |
|
|
params->ajouter("Code_resu","11111111",OT_PARAMETRES::STRING,"Code de resolution"); |
195 |
couturad |
968 |
if(type_etude==MSTRUCT::TYPE_ETUDE::MECANIQUE) |
196 |
couturad |
919 |
{ |
197 |
|
|
params->ajouter("Type_Chargement","0",OT_PARAMETRES::DOUBLE,"Type de chargement : Spherique [0], Deviatorique [1]"); |
198 |
|
|
params->ajouter("Type_CL","0",OT_PARAMETRES::DOUBLE,"Type de conditions aux limites : CLDH [0], CLCH[1]"); |
199 |
|
|
params->ajouter("Valeur_CL","0.0001",OT_PARAMETRES::DOUBLE,"Valeur de la condition aux limites"); |
200 |
|
|
} |
201 |
couturad |
971 |
else if(type_etude==MSTRUCT::TYPE_ETUDE::THERMIQUE) |
202 |
|
|
{ |
203 |
|
|
params->ajouter("Type_CL","2",OT_PARAMETRES::DOUBLE,"Type de conditions aux limites : Gradient de temperature[2], Flux de chaleur[3]"); |
204 |
|
|
params->ajouter("Direction","0",OT_PARAMETRES::DOUBLE,"Direction du gradient ou flux : X[0], Y[1], Z[2]"); |
205 |
|
|
params->ajouter("Valeur_CL","1.0",OT_PARAMETRES::DOUBLE,"Valeur de la condition aux limites"); |
206 |
|
|
} |
207 |
couturad |
919 |
} |
208 |
|
|
|
209 |
couturad |
971 |
void PARAMETRES::ini_param_post_traitement(OT_PARAMETRES* params, int type_post_traitement, int nb_couche_erosion, double epaisseur_couche_erosion) |
210 |
couturad |
919 |
{ |
211 |
couturad |
968 |
bool erosion; |
212 |
couturad |
971 |
if(nb_couche_erosion>0) erosion=true; |
213 |
couturad |
968 |
else erosion=false; |
214 |
|
|
if(type_post_traitement==MSTRUCT::TYPE_POST_TRAITEMENT::POST_CHAMP) |
215 |
couturad |
926 |
{ |
216 |
|
|
params->ajouter("Identifiant","Champ_SIGMA",OT_PARAMETRES::STRING,"Identifiant de l'analyse"); |
217 |
couturad |
968 |
params->ajouter("Type_post_traitement",MSTRUCT::TYPE_POST_TRAITEMENT::POST_CHAMP,OT_PARAMETRES::DOUBLE,"Type de post_traitement"); |
218 |
couturad |
926 |
params->ajouter("Num_solution",2,OT_PARAMETRES::DOUBLE,"Numero de la FEM_SOLUTION solution (0,1,2,...)"); |
219 |
|
|
params->ajouter("Nom_groupe_forme","ALL",OT_PARAMETRES::STRING,"Nom du groupe d'inclusion. Si [ALL] prend le ves au complet"); |
220 |
couturad |
968 |
params->ajouter("Largeur_colonne_distribution","0.1",OT_PARAMETRES::DOUBLE,"Largeur d'une colonne pour graph de distribution"); |
221 |
|
|
params->ajouter("Boite_analyse",0,OT_PARAMETRES::DOUBLE,"Calculer à partir des elements donc le centre de la boite englobante figure dans la boite d'analyse [1]"); |
222 |
|
|
params->ajouter("Boite3D_analyse_Xmin","0.1",OT_PARAMETRES::DOUBLE,"Xmin boite3D d'analyse"); |
223 |
|
|
params->ajouter("Boite3D_analyse_Ymin","0.1",OT_PARAMETRES::DOUBLE,"Ymin boite3D d'analyse"); |
224 |
|
|
params->ajouter("Boite3D_analyse_Zmin","0.1",OT_PARAMETRES::DOUBLE,"Zmin boite3D d'analyse"); |
225 |
|
|
params->ajouter("Boite3D_analyse_Xmax","0.9",OT_PARAMETRES::DOUBLE,"Xmax boite3D d'analyse"); |
226 |
|
|
params->ajouter("Boite3D_analyse_Ymax","0.9",OT_PARAMETRES::DOUBLE,"Ymax boite3D d'analyse"); |
227 |
|
|
params->ajouter("Boite3D_analyse_Zmax","0.9",OT_PARAMETRES::DOUBLE,"Zmax boite3D d'analyse"); |
228 |
couturad |
926 |
} |
229 |
couturad |
968 |
else if(type_post_traitement==MSTRUCT::TYPE_POST_TRAITEMENT::POST_ORIENTATION) |
230 |
couturad |
926 |
{ |
231 |
couturad |
951 |
params->ajouter("Identifiant","Orientation_Particule",OT_PARAMETRES::STRING,"Identifiant de l'analyse"); |
232 |
couturad |
968 |
params->ajouter("Type_post_traitement",MSTRUCT::TYPE_POST_TRAITEMENT::POST_ORIENTATION,OT_PARAMETRES::DOUBLE,"Type de post_traitement"); |
233 |
couturad |
951 |
params->ajouter("Nom_groupe_forme","Particule",OT_PARAMETRES::STRING,"Nom du groupe d'inclusion."); |
234 |
|
|
params->ajouter("Avec_fem_maillage","1",OT_PARAMETRES::DOUBLE,"Analyser le volume des particules avec le FEM_MAILLAGE"); |
235 |
couturad |
968 |
params->ajouter("Boite_analyse",0,OT_PARAMETRES::DOUBLE,"Calculer à partir des elements donc le centre de la boite englobante figure dans la boite d'analyse [1]"); |
236 |
|
|
params->ajouter("Boite3D_analyse_Xmin","0.1",OT_PARAMETRES::DOUBLE,"Xmin boite3D d'analyse"); |
237 |
|
|
params->ajouter("Boite3D_analyse_Ymin","0.1",OT_PARAMETRES::DOUBLE,"Ymin boite3D d'analyse"); |
238 |
|
|
params->ajouter("Boite3D_analyse_Zmin","0.1",OT_PARAMETRES::DOUBLE,"Zmin boite3D d'analyse"); |
239 |
|
|
params->ajouter("Boite3D_analyse_Xmax","0.9",OT_PARAMETRES::DOUBLE,"Xmax boite3D d'analyse"); |
240 |
|
|
params->ajouter("Boite3D_analyse_Ymax","0.9",OT_PARAMETRES::DOUBLE,"Ymax boite3D d'analyse"); |
241 |
|
|
params->ajouter("Boite3D_analyse_Zmax","0.9",OT_PARAMETRES::DOUBLE,"Zmax boite3D d'analyse"); |
242 |
couturad |
938 |
} |
243 |
couturad |
968 |
else if(type_post_traitement==MSTRUCT::TYPE_POST_TRAITEMENT::POST_CAO) |
244 |
couturad |
926 |
{ |
245 |
|
|
params->ajouter("Identifiant","Cao",OT_PARAMETRES::STRING,"Identifiant de l'analyse"); |
246 |
couturad |
968 |
params->ajouter("Type_post_traitement",MSTRUCT::TYPE_POST_TRAITEMENT::POST_CAO,OT_PARAMETRES::DOUBLE,"Type de post_traitement"); |
247 |
couturad |
926 |
params->ajouter("Nom_groupe_forme","ALL",OT_PARAMETRES::STRING,"Nom du groupe d'inclusion. Si [NULL] prend le ves au complet"); |
248 |
|
|
params->ajouter("Largeur_colonne_distribution_nb_volume","1.0",OT_PARAMETRES::DOUBLE,"Largeur d'une colonne pour graph de distribution"); |
249 |
|
|
params->ajouter("Largeur_colonne_distribution_nb_forme","1.0",OT_PARAMETRES::DOUBLE,"Largeur d'une colonne pour graph de distribution"); |
250 |
couturad |
966 |
params->ajouter("Largeur_colonne_distribution_volume","0.0001",OT_PARAMETRES::DOUBLE,"Largeur d'une colonne pour graph de distribution"); |
251 |
|
|
params->ajouter("Largeur_colonne_distribution_fraction_volumique","0.0001",OT_PARAMETRES::DOUBLE,"Largeur d'une colonne pour graph de distribution"); |
252 |
couturad |
926 |
params->ajouter("Largeur_colonne_distribution_volume_forme","0.001",OT_PARAMETRES::DOUBLE,"Largeur d'une colonne pour graph de distribution"); |
253 |
|
|
} |
254 |
couturad |
971 |
else if(type_post_traitement==MSTRUCT::TYPE_POST_TRAITEMENT::POST_PROPRIETE_MASSIQUE) |
255 |
|
|
{ |
256 |
|
|
params->ajouter("Identifiant","Prop_mass",OT_PARAMETRES::STRING,"Identifiant de l'analyse"); |
257 |
|
|
params->ajouter("Type_post_traitement",MSTRUCT::TYPE_POST_TRAITEMENT::POST_PROPRIETE_MASSIQUE,OT_PARAMETRES::DOUBLE,"Type de post_traitement"); |
258 |
|
|
params->ajouter("Nom_groupe_forme","Particule",OT_PARAMETRES::STRING,"Nom du groupe d'inclusion. Si [NULL] prend le ves au complet"); |
259 |
|
|
} |
260 |
couturad |
968 |
else if(type_post_traitement==MSTRUCT::TYPE_POST_TRAITEMENT::POST_MAILLAGE_MG) |
261 |
couturad |
926 |
{ |
262 |
|
|
params->ajouter("Identifiant","Maillage_MG",OT_PARAMETRES::STRING,"Identifiant de l'analyse"); |
263 |
couturad |
968 |
params->ajouter("Type_post_traitement",MSTRUCT::TYPE_POST_TRAITEMENT::POST_MAILLAGE_MG,OT_PARAMETRES::DOUBLE,"Type de post_traitement"); |
264 |
couturad |
926 |
params->ajouter("Nom_groupe_forme","ALL",OT_PARAMETRES::STRING,"Nom du groupe d'inclusion. Si [ALL] prend le ves au complet"); |
265 |
|
|
params->ajouter("Largeur_colonne_distribution_nb_element_2D","100",OT_PARAMETRES::DOUBLE,"Largeur d'une colonne pour graph de distribution"); |
266 |
|
|
params->ajouter("Largeur_colonne_distribution_nb_element_3D","100",OT_PARAMETRES::DOUBLE,"Largeur d'une colonne pour graph de distribution"); |
267 |
|
|
params->ajouter("Largeur_colonne_distribution_qualite_2D","0.001",OT_PARAMETRES::DOUBLE,"Largeur d'une colonne pour graph de distribution"); |
268 |
|
|
params->ajouter("Largeur_colonne_distribution_qualite_3D","0.001",OT_PARAMETRES::DOUBLE,"Largeur d'une colonne pour graph de distribution"); |
269 |
|
|
params->ajouter("Largeur_colonne_distribution_taille_2D","0.0001",OT_PARAMETRES::DOUBLE,"Largeur d'une colonne pour graph de distribution"); |
270 |
|
|
params->ajouter("Largeur_colonne_distribution_taille_3D","0.0001",OT_PARAMETRES::DOUBLE,"Largeur d'une colonne pour graph de distribution"); |
271 |
couturad |
968 |
params->ajouter("Largeur_colonne_distribution_volume","0.0001",OT_PARAMETRES::DOUBLE,"Largeur d'une colonne pour graph de distribution"); |
272 |
|
|
params->ajouter("Largeur_colonne_distribution_fraction_volumique","0.0001",OT_PARAMETRES::DOUBLE,"Largeur d'une colonne pour graph de distribution"); |
273 |
|
|
params->ajouter("Boite_analyse",0,OT_PARAMETRES::DOUBLE,"Calculer à partir des elements donc le centre de la boite englobante figure dans la boite d'analyse [1]"); |
274 |
|
|
params->ajouter("Boite3D_analyse_Xmin","0.1",OT_PARAMETRES::DOUBLE,"Xmin boite3D d'analyse"); |
275 |
|
|
params->ajouter("Boite3D_analyse_Ymin","0.1",OT_PARAMETRES::DOUBLE,"Ymin boite3D d'analyse"); |
276 |
|
|
params->ajouter("Boite3D_analyse_Zmin","0.1",OT_PARAMETRES::DOUBLE,"Zmin boite3D d'analyse"); |
277 |
|
|
params->ajouter("Boite3D_analyse_Xmax","0.9",OT_PARAMETRES::DOUBLE,"Xmax boite3D d'analyse"); |
278 |
|
|
params->ajouter("Boite3D_analyse_Ymax","0.9",OT_PARAMETRES::DOUBLE,"Ymax boite3D d'analyse"); |
279 |
|
|
params->ajouter("Boite3D_analyse_Zmax","0.9",OT_PARAMETRES::DOUBLE,"Zmax boite3D d'analyse"); |
280 |
couturad |
926 |
} |
281 |
couturad |
968 |
else if(type_post_traitement==MSTRUCT::TYPE_POST_TRAITEMENT::POST_MAILLAGE_FEM) |
282 |
couturad |
926 |
{ |
283 |
|
|
params->ajouter("Identifiant","Maillage_FEM",OT_PARAMETRES::STRING,"Identifiant de l'analyse"); |
284 |
couturad |
968 |
params->ajouter("Type_post_traitement",MSTRUCT::TYPE_POST_TRAITEMENT::POST_MAILLAGE_FEM,OT_PARAMETRES::DOUBLE,"Type de post_traitement"); |
285 |
couturad |
926 |
params->ajouter("Nom_groupe_forme","ALL",OT_PARAMETRES::STRING,"Nom du groupe d'inclusion. Si [ALL] prend le ves au complet"); |
286 |
|
|
params->ajouter("Largeur_colonne_distribution_nb_element_2D","100",OT_PARAMETRES::DOUBLE,"Largeur d'une colonne pour graph de distribution"); |
287 |
|
|
params->ajouter("Largeur_colonne_distribution_nb_element_3D","100",OT_PARAMETRES::DOUBLE,"Largeur d'une colonne pour graph de distribution"); |
288 |
|
|
params->ajouter("Largeur_colonne_distribution_jacobien_2D_min","0.001",OT_PARAMETRES::DOUBLE,"Largeur d'une colonne pour graph de distribution"); |
289 |
|
|
params->ajouter("Largeur_colonne_distribution_jacobien_2D_max","0.001",OT_PARAMETRES::DOUBLE,"Largeur d'une colonne pour graph de distribution"); |
290 |
|
|
params->ajouter("Largeur_colonne_distribution_jacobien_3D_min","0.001",OT_PARAMETRES::DOUBLE,"Largeur d'une colonne pour graph de distribution"); |
291 |
|
|
params->ajouter("Largeur_colonne_distribution_jacobien_3D_max","0.001",OT_PARAMETRES::DOUBLE,"Largeur d'une colonne pour graph de distribution"); |
292 |
|
|
params->ajouter("Largeur_colonne_distribution_distortion_2D","0.001",OT_PARAMETRES::DOUBLE,"Largeur d'une colonne pour graph de distribution"); |
293 |
|
|
params->ajouter("Largeur_colonne_distribution_distortion_3D","0.001",OT_PARAMETRES::DOUBLE,"Largeur d'une colonne pour graph de distribution"); |
294 |
couturad |
968 |
params->ajouter("Largeur_colonne_distribution_volume","0.0001",OT_PARAMETRES::DOUBLE,"Largeur d'une colonne pour graph de distribution"); |
295 |
|
|
params->ajouter("Largeur_colonne_distribution_fraction_volumique","0.0001",OT_PARAMETRES::DOUBLE,"Largeur d'une colonne pour graph de distribution"); |
296 |
|
|
params->ajouter("Boite_analyse",0,OT_PARAMETRES::DOUBLE,"Calculer à partir des elements donc le centre de la boite englobante figure dans la boite d'analyse [1]"); |
297 |
|
|
params->ajouter("Boite3D_analyse_Xmin","0.1",OT_PARAMETRES::DOUBLE,"Xmin boite3D d'analyse"); |
298 |
|
|
params->ajouter("Boite3D_analyse_Ymin","0.1",OT_PARAMETRES::DOUBLE,"Ymin boite3D d'analyse"); |
299 |
|
|
params->ajouter("Boite3D_analyse_Zmin","0.1",OT_PARAMETRES::DOUBLE,"Zmin boite3D d'analyse"); |
300 |
|
|
params->ajouter("Boite3D_analyse_Xmax","0.9",OT_PARAMETRES::DOUBLE,"Xmax boite3D d'analyse"); |
301 |
|
|
params->ajouter("Boite3D_analyse_Ymax","0.9",OT_PARAMETRES::DOUBLE,"Ymax boite3D d'analyse"); |
302 |
|
|
params->ajouter("Boite3D_analyse_Zmax","0.9",OT_PARAMETRES::DOUBLE,"Zmax boite3D d'analyse"); |
303 |
|
|
} |
304 |
|
|
else if(type_post_traitement==MSTRUCT::TYPE_POST_TRAITEMENT::POST_TEMPS) |
305 |
|
|
{ |
306 |
couturad |
993 |
params->ajouter("Identifiant","Temps",OT_PARAMETRES::STRING,"Identifiant de l'analyse"); |
307 |
couturad |
968 |
params->ajouter("Type_post_traitement",MSTRUCT::TYPE_POST_TRAITEMENT::POST_TEMPS,OT_PARAMETRES::DOUBLE,"Type de post_traitement"); |
308 |
|
|
} |
309 |
|
|
else if(type_post_traitement==MSTRUCT::TYPE_POST_TRAITEMENT::POST_MODULES_ELASTICITE) |
310 |
|
|
{ |
311 |
|
|
params->ajouter("Identifiant","Modules_elasticite",OT_PARAMETRES::STRING,"Identifiant de l'analyse"); |
312 |
|
|
params->ajouter("Type_post_traitement",MSTRUCT::TYPE_POST_TRAITEMENT::POST_MODULES_ELASTICITE,OT_PARAMETRES::DOUBLE,"Type de post_traitement"); |
313 |
|
|
params->ajouter("Identifiant_epsilon","Champ_EPSILON",OT_PARAMETRES::STRING,"Identifiant de l'analyse du champ epsilon"); |
314 |
|
|
params->ajouter("Identifiant_sigma","Champ_SIGMA",OT_PARAMETRES::STRING,"Identifiant de l'analyse du champ sigma"); |
315 |
|
|
params->ajouter("Largeur_colonne_distribution_module_Kapp","1000000",OT_PARAMETRES::DOUBLE,"Largeur d'une colonne pour graph de distribution"); |
316 |
|
|
params->ajouter("Largeur_colonne_distribution_module_Gapp","1000000",OT_PARAMETRES::DOUBLE,"Largeur d'une colonne pour graph de distribution"); |
317 |
|
|
params->ajouter("Largeur_colonne_distribution_module_Eapp","1000000",OT_PARAMETRES::DOUBLE,"Largeur d'une colonne pour graph de distribution"); |
318 |
|
|
params->ajouter("Largeur_colonne_distribution_module_Nuapp","0.00001",OT_PARAMETRES::DOUBLE,"Largeur d'une colonne pour graph de distribution"); |
319 |
|
|
} |
320 |
|
|
else if(type_post_traitement==MSTRUCT::TYPE_POST_TRAITEMENT::POST_CHAMP_NORMALISE) |
321 |
|
|
{ |
322 |
|
|
params->ajouter("Identifiant","Champ_EPSILON_normalise",OT_PARAMETRES::STRING,"Identifiant de l'analyse"); |
323 |
|
|
params->ajouter("Type_post_traitement",MSTRUCT::TYPE_POST_TRAITEMENT::POST_CHAMP_NORMALISE,OT_PARAMETRES::DOUBLE,"Type de post_traitement"); |
324 |
|
|
params->ajouter("Identifiant_champ","Champ_EPSILON",OT_PARAMETRES::STRING,"Identifiant de l'analyse du champ epsilon"); |
325 |
couturad |
982 |
params->ajouter("Identifiant_champ_reference","Champ_EPSILON",OT_PARAMETRES::STRING,"Identifiant du champ de reference pour la normalisation"); |
326 |
couturad |
968 |
params->ajouter("Largeur_colonne_distribution","0.1",OT_PARAMETRES::DOUBLE,"Largeur d'une colonne pour graph de distribution"); |
327 |
|
|
} |
328 |
|
|
else if(type_post_traitement==MSTRUCT::TYPE_POST_TRAITEMENT::POST_CHAMP_ECART) |
329 |
|
|
{ |
330 |
|
|
params->ajouter("Identifiant","Champ_EPSILON_ecart",OT_PARAMETRES::STRING,"Identifiant de l'analyse"); |
331 |
|
|
params->ajouter("Type_post_traitement",MSTRUCT::TYPE_POST_TRAITEMENT::POST_CHAMP_ECART,OT_PARAMETRES::DOUBLE,"Type de post_traitement"); |
332 |
|
|
params->ajouter("Identifiant_champ","Champ_EPSILON",OT_PARAMETRES::STRING,"Identifiant de l'analyse du champ"); |
333 |
|
|
params->ajouter("Identifiant_champ_compare","Champ_EPSILON_compare",OT_PARAMETRES::STRING,"Identifiant de l'analyse du champ a comparer"); |
334 |
|
|
params->ajouter("Num_couche","0",OT_PARAMETRES::DOUBLE,"Numero de la couche a comparer"); |
335 |
|
|
params->ajouter("Type_ecart","0",OT_PARAMETRES::STRING,"Ecart relatif [0], ecart absolue [1], ecart quadratique [2]"); |
336 |
|
|
params->ajouter("Largeur_colonne_distribution","0.1",OT_PARAMETRES::DOUBLE,"Largeur d'une colonne pour graph de distribution"); |
337 |
|
|
} |
338 |
|
|
else if(type_post_traitement==MSTRUCT::TYPE_POST_TRAITEMENT::POST_CHAMP_ECART_CHARGEMENT) |
339 |
|
|
{ |
340 |
|
|
params->ajouter("Identifiant","Champ_EPSILON_ecart",OT_PARAMETRES::STRING,"Identifiant de l'analyse"); |
341 |
|
|
params->ajouter("Type_post_traitement",MSTRUCT::TYPE_POST_TRAITEMENT::POST_CHAMP_ECART_CHARGEMENT,OT_PARAMETRES::DOUBLE,"Type de post_traitement"); |
342 |
|
|
params->ajouter("Identifiant_champ","Champ_EPSILON",OT_PARAMETRES::STRING,"Identifiant de l'analyse du champ"); |
343 |
|
|
params->ajouter("Type_chargement","0",OT_PARAMETRES::STRING,"Spherique [0], deviatorique [1]"); |
344 |
|
|
params->ajouter("Type_ecart","0",OT_PARAMETRES::STRING,"Ecart relatif [0], ecart absolue [1], ecart quadratique [2]"); |
345 |
|
|
params->ajouter("Largeur_colonne_distribution","0.1",OT_PARAMETRES::DOUBLE,"Largeur d'une colonne pour graph de distribution"); |
346 |
|
|
} |
347 |
|
|
else if(type_post_traitement==MSTRUCT::TYPE_POST_TRAITEMENT::POST_ORIENTATION_ECART) |
348 |
|
|
{ |
349 |
|
|
params->ajouter("Identifiant","Orientation_Particule_ecart",OT_PARAMETRES::STRING,"Identifiant de l'analyse"); |
350 |
|
|
params->ajouter("Type_post_traitement",MSTRUCT::TYPE_POST_TRAITEMENT::POST_ORIENTATION_ECART,OT_PARAMETRES::DOUBLE,"Type de post_traitement"); |
351 |
|
|
params->ajouter("Identifiant_orientation","Orientation_Particule",OT_PARAMETRES::STRING,"Identifiant de l'analyse de l'orientation"); |
352 |
|
|
params->ajouter("Type_ecart","0",OT_PARAMETRES::STRING,"Ecart relatif [0], ecart absolue [1], ecart quadratique [2]"); |
353 |
|
|
params->ajouter("a_11","0.33333333333",OT_PARAMETRES::DOUBLE,"Valeur du tenseur d'orientation"); |
354 |
|
|
params->ajouter("a_22","0.33333333333",OT_PARAMETRES::DOUBLE,"Valeur du tenseur d'orientation"); |
355 |
|
|
params->ajouter("a_33","0.33333333333",OT_PARAMETRES::DOUBLE,"Valeur du tenseur d'orientation"); |
356 |
|
|
params->ajouter("a_12","0.0",OT_PARAMETRES::DOUBLE,"Valeur du tenseur d'orientation"); |
357 |
|
|
params->ajouter("a_23","0.0",OT_PARAMETRES::DOUBLE,"Valeur du tenseur d'orientation"); |
358 |
|
|
params->ajouter("a_13","0.0",OT_PARAMETRES::DOUBLE,"Valeur du tenseur d'orientation"); |
359 |
|
|
} |
360 |
couturad |
971 |
else if(type_post_traitement==MSTRUCT::TYPE_POST_TRAITEMENT::POST_CONDUCTIVITE_THERMIQUE) |
361 |
|
|
{ |
362 |
|
|
params->ajouter("Identifiant","Conductivite_thermique",OT_PARAMETRES::STRING,"Identifiant de l'analyse"); |
363 |
|
|
params->ajouter("Type_post_traitement",MSTRUCT::TYPE_POST_TRAITEMENT::POST_CONDUCTIVITE_THERMIQUE,OT_PARAMETRES::DOUBLE,"Type de post_traitement"); |
364 |
couturad |
982 |
params->ajouter("Num_solution_temp","0",OT_PARAMETRES::STRING,"Numero de la FEM_SOLUTION solution (0,1,2,...)"); |
365 |
|
|
params->ajouter("Num_solution_flux","1",OT_PARAMETRES::STRING,"Numero de la FEM_SOLUTION solution (0,1,2,...)"); |
366 |
|
|
params->ajouter("Direction","0",OT_PARAMETRES::STRING,"Direction X[0], Y[1], Z[2]"); |
367 |
couturad |
971 |
params->ajouter("Largeur_colonne_distribution","0.1",OT_PARAMETRES::DOUBLE,"Largeur d'une colonne pour graph de distribution"); |
368 |
|
|
} |
369 |
couturad |
930 |
if(erosion) |
370 |
|
|
{ |
371 |
|
|
params->ajouter("Analyse_erosion","1",OT_PARAMETRES::DOUBLE,"Analyse d'erosion [1], sans erosion [0]"); |
372 |
couturad |
971 |
params->ajouter("Nb_couche",nb_couche_erosion+1,OT_PARAMETRES::DOUBLE,"Nombre de couche d'erosion"); |
373 |
|
|
params->ajouter("Epaisseur_couche",epaisseur_couche_erosion,OT_PARAMETRES::DOUBLE,"Epaisseur d'une couche d'erosion"); |
374 |
couturad |
926 |
} |
375 |
couturad |
930 |
if(!erosion) |
376 |
|
|
{ |
377 |
|
|
params->ajouter("Analyse_erosion","0",OT_PARAMETRES::DOUBLE,"Analyse d'erosion [1], sans erosion [0]"); |
378 |
|
|
} |
379 |
couturad |
1029 |
else if(type_post_traitement==MSTRUCT::TYPE_POST_TRAITEMENT::POST_ENERGIE_HILL) |
380 |
|
|
{ |
381 |
|
|
params->ajouter("Identifiant","Energie_hill",OT_PARAMETRES::STRING,"Identifiant de l'analyse"); |
382 |
|
|
params->ajouter("Type_post_traitement",MSTRUCT::TYPE_POST_TRAITEMENT::POST_ENERGIE_HILL,OT_PARAMETRES::DOUBLE,"Type de post_traitement"); |
383 |
|
|
params->ajouter("Num_solution_epsilon","1",OT_PARAMETRES::STRING,"Numero de la FEM_SOLUTION solution (0,1,2,...)"); |
384 |
|
|
params->ajouter("Num_solution_sigma","2",OT_PARAMETRES::STRING,"Numero de la FEM_SOLUTION solution (0,1,2,...)"); |
385 |
|
|
params->ajouter("Largeur_colonne_distribution","0.1",OT_PARAMETRES::DOUBLE,"Largeur d'une colonne pour graph de distribution"); |
386 |
|
|
} |
387 |
|
|
if(erosion) |
388 |
|
|
{ |
389 |
|
|
params->ajouter("Analyse_erosion","1",OT_PARAMETRES::DOUBLE,"Analyse d'erosion [1], sans erosion [0]"); |
390 |
|
|
params->ajouter("Nb_couche",nb_couche_erosion+1,OT_PARAMETRES::DOUBLE,"Nombre de couche d'erosion"); |
391 |
|
|
params->ajouter("Epaisseur_couche",epaisseur_couche_erosion,OT_PARAMETRES::DOUBLE,"Epaisseur d'une couche d'erosion"); |
392 |
|
|
} |
393 |
|
|
if(!erosion) |
394 |
|
|
{ |
395 |
|
|
params->ajouter("Analyse_erosion","0",OT_PARAMETRES::DOUBLE,"Analyse d'erosion [1], sans erosion [0]"); |
396 |
|
|
} |
397 |
couturad |
926 |
} |
398 |
|
|
|
399 |
|
|
|
400 |
couturad |
971 |
int PARAMETRES::generer_fichier_parametres(bool etude_mecanique, |
401 |
|
|
bool etude_thermique, |
402 |
couturad |
968 |
int type_generateur, |
403 |
|
|
int type_inclusion, |
404 |
|
|
bool fem_maill_lin, |
405 |
|
|
bool fem_maill_quad, |
406 |
couturad |
971 |
int nb_couche_erosion, |
407 |
|
|
double epaisseur_couche_erosion, |
408 |
couturad |
968 |
fonction_affiche *fonc_affiche) |
409 |
couturad |
919 |
{ |
410 |
couturad |
968 |
bool erosion; |
411 |
couturad |
971 |
if(nb_couche_erosion>0) erosion=true; |
412 |
couturad |
968 |
else erosion=false; |
413 |
couturad |
919 |
int mkdir_err=0; |
414 |
couturad |
933 |
std::string sys_command = "mkdir parametre"; |
415 |
couturad |
919 |
mkdir_err = system(sys_command.c_str()); |
416 |
|
|
if(mkdir_err !=0) |
417 |
|
|
{ |
418 |
|
|
std::cerr << "*** PARAMETRES::generer_fichier_parametres -> Erreur lors de la creation des dossiers parametres! ***" << std::endl; |
419 |
|
|
return FAIL; |
420 |
|
|
} |
421 |
couturad |
933 |
sys_command.clear(); sys_command.append("mkdir -p "); sys_command.append("parametre/geometrie"); |
422 |
couturad |
919 |
mkdir_err = system(sys_command.c_str()); |
423 |
|
|
if(mkdir_err !=0) |
424 |
|
|
{ |
425 |
|
|
std::cerr << "*** PARAMETRES::generer_fichier_parametres -> Erreur lors de la creation des dossiers parametres/geometrie ! ***" << std::endl; |
426 |
|
|
return FAIL; |
427 |
|
|
} |
428 |
couturad |
933 |
sys_command.clear(); sys_command.append("mkdir -p "); sys_command.append("parametre/materiau"); |
429 |
couturad |
919 |
mkdir_err = system(sys_command.c_str()); |
430 |
|
|
if(mkdir_err !=0) |
431 |
|
|
{ |
432 |
|
|
std::cerr << "*** PARAMETRES::generer_fichier_parametres -> Erreur lors de la creation des dossiers parametre/materiau ! ***" << std::endl; |
433 |
|
|
return FAIL; |
434 |
|
|
} |
435 |
couturad |
933 |
sys_command.clear(); sys_command.append("mkdir -p "); sys_command.append("parametre/carte"); |
436 |
couturad |
919 |
mkdir_err = system(sys_command.c_str()); |
437 |
|
|
if(mkdir_err !=0) |
438 |
|
|
{ |
439 |
|
|
std::cerr << "*** PARAMETRES::generer_fichier_parametres -> Erreur lors de la creation des dossiers parametres/carte ! ***" << std::endl; |
440 |
|
|
return FAIL; |
441 |
|
|
} |
442 |
couturad |
933 |
sys_command.clear(); sys_command.append("mkdir -p "); sys_command.append("parametre/maillage"); |
443 |
couturad |
919 |
mkdir_err = system(sys_command.c_str()); |
444 |
|
|
if(mkdir_err !=0) |
445 |
|
|
{ |
446 |
|
|
std::cerr << "*** PARAMETRES::generer_fichier_parametres -> Erreur lors de la creation des dossiers parametre/maillage ! ***" << std::endl; |
447 |
|
|
return FAIL; |
448 |
|
|
} |
449 |
couturad |
933 |
sys_command.clear(); sys_command.append("mkdir -p "); sys_command.append("parametre/fem_maillage"); |
450 |
couturad |
919 |
mkdir_err = system(sys_command.c_str()); |
451 |
|
|
if(mkdir_err !=0) |
452 |
|
|
{ |
453 |
|
|
std::cerr << "*** PARAMETRES::generer_fichier_parametres -> Erreur lors de la creation des dossiers parametre/fem_maillage ! ***" << std::endl; |
454 |
|
|
return FAIL; |
455 |
|
|
} |
456 |
couturad |
933 |
sys_command.clear(); sys_command.append("mkdir -p "); sys_command.append("parametre/etude"); |
457 |
couturad |
919 |
mkdir_err = system(sys_command.c_str()); |
458 |
|
|
if(mkdir_err !=0) |
459 |
|
|
{ |
460 |
|
|
std::cerr << "*** PARAMETRES::generer_fichier_parametres -> Erreur lors de la creation des dossiers parametre/etude ! ***" << std::endl; |
461 |
|
|
return FAIL; |
462 |
|
|
} |
463 |
couturad |
968 |
sys_command.clear(); sys_command.append("mkdir -p "); sys_command.append("parametre/post_traitement"); |
464 |
couturad |
919 |
mkdir_err = system(sys_command.c_str()); |
465 |
|
|
if(mkdir_err !=0) |
466 |
|
|
{ |
467 |
couturad |
968 |
std::cerr << "*** PARAMETRES::generer_fichier_parametres -> Erreur lors de la creation des dossiers parametre/post_traitement ! ***" << std::endl; |
468 |
couturad |
919 |
return FAIL; |
469 |
|
|
} |
470 |
|
|
std::ofstream f; |
471 |
couturad |
951 |
|
472 |
couturad |
968 |
if(type_generateur==MSTRUCT::TYPE_GENERATEUR::RSA) |
473 |
couturad |
951 |
{ |
474 |
|
|
OT_PARAMETRES params_geo_1; |
475 |
|
|
ini_param_generateur_rsa(¶ms_geo_1,type_inclusion); |
476 |
|
|
sys_command.clear(); sys_command.append("parametre/geometrie/param_geo_particule.txt"); |
477 |
|
|
params_geo_1.enregistrer((char*)sys_command.c_str()); |
478 |
couturad |
964 |
if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str()); |
479 |
couturad |
951 |
} |
480 |
couturad |
968 |
else if(type_generateur==MSTRUCT::TYPE_GENERATEUR::DCR) |
481 |
couturad |
951 |
{ |
482 |
|
|
OT_PARAMETRES params_geo_1; |
483 |
|
|
ini_param_generateur_dcr(¶ms_geo_1,type_inclusion); |
484 |
|
|
sys_command.clear(); sys_command.append("parametre/geometrie/param_geo_particule.txt"); |
485 |
|
|
params_geo_1.enregistrer((char*)sys_command.c_str()); |
486 |
couturad |
964 |
if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str()); |
487 |
couturad |
951 |
} |
488 |
couturad |
933 |
sys_command.clear(); sys_command.append("parametre/geometrie/lstparam_geo.txt"); |
489 |
couturad |
951 |
f.open(sys_command.c_str(),std::ios::out); |
490 |
couturad |
919 |
f << "// Fichier de parametres GEOMETRIE" << std::endl; |
491 |
couturad |
951 |
f << "param_geo_particule.txt" << std::endl; |
492 |
couturad |
919 |
f.close(); |
493 |
couturad |
964 |
if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str()); |
494 |
couturad |
951 |
|
495 |
|
|
OT_PARAMETRES params_mat_particule; |
496 |
couturad |
971 |
ini_param_materiau(¶ms_mat_particule,(char*)"Particule",etude_mecanique,etude_thermique); |
497 |
|
|
if(etude_mecanique) |
498 |
|
|
{ |
499 |
couturad |
974 |
params_mat_particule.change_valeur("Mu_E",72.3e09); |
500 |
|
|
params_mat_particule.change_valeur("Mu_nu",0.22); |
501 |
couturad |
971 |
} |
502 |
|
|
if(etude_thermique) |
503 |
|
|
{ |
504 |
couturad |
974 |
params_mat_particule.change_valeur("Mu_Lambda",1.2); |
505 |
|
|
params_mat_particule.change_valeur("Mu_Ro",2550); |
506 |
|
|
params_mat_particule.change_valeur("Mu_Cp",800); |
507 |
couturad |
971 |
} |
508 |
couturad |
951 |
sys_command.clear(); sys_command.append("parametre/materiau/param_mat_particule.txt"); |
509 |
|
|
params_mat_particule.enregistrer((char*)sys_command.c_str()); |
510 |
couturad |
964 |
if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str()); |
511 |
couturad |
971 |
|
512 |
couturad |
919 |
OT_PARAMETRES params_mat_matrice; |
513 |
couturad |
971 |
ini_param_materiau(¶ms_mat_matrice,(char*)"Matrice",etude_mecanique,etude_thermique); |
514 |
|
|
if(etude_mecanique) |
515 |
|
|
{ |
516 |
couturad |
974 |
params_mat_matrice.change_valeur("Mu_E",3.5e09); |
517 |
|
|
params_mat_matrice.change_valeur("Mu_nu",0.33); |
518 |
couturad |
971 |
} |
519 |
|
|
if(etude_thermique) |
520 |
|
|
{ |
521 |
couturad |
974 |
params_mat_particule.change_valeur("Mu_Lambda",0.2); |
522 |
|
|
params_mat_particule.change_valeur("Mu_Ro",1200); |
523 |
|
|
params_mat_particule.change_valeur("Mu_Cp",1300); |
524 |
couturad |
971 |
} |
525 |
couturad |
933 |
sys_command.clear(); sys_command.append("parametre/materiau/param_mat_matrice.txt"); |
526 |
couturad |
919 |
params_mat_matrice.enregistrer((char*)sys_command.c_str()); |
527 |
couturad |
964 |
if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str()); |
528 |
couturad |
919 |
|
529 |
couturad |
951 |
sys_command.clear(); sys_command.append("parametre/materiau/lstparam_mat.txt"); |
530 |
|
|
f.open(sys_command.c_str(),std::ios::out); |
531 |
|
|
f << "// Fichier de parametres MATERIAU" << std::endl; |
532 |
|
|
f << "param_mat_particule.txt" << std::endl; |
533 |
|
|
f << "param_mat_matrice.txt" << std::endl; |
534 |
|
|
f.close(); |
535 |
couturad |
964 |
if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str()); |
536 |
couturad |
951 |
|
537 |
|
|
|
538 |
couturad |
919 |
OT_PARAMETRES params_carte; |
539 |
|
|
ini_param_carte_taille(¶ms_carte); |
540 |
couturad |
933 |
sys_command.clear(); sys_command.append("parametre/carte/param_carte.txt"); |
541 |
couturad |
919 |
params_carte.enregistrer((char*)sys_command.c_str()); |
542 |
couturad |
964 |
if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str()); |
543 |
couturad |
919 |
|
544 |
|
|
OT_PARAMETRES params_maill; |
545 |
|
|
ini_param_mailleur(¶ms_maill); |
546 |
couturad |
933 |
sys_command.clear(); sys_command.append("parametre/maillage/param_maill.txt"); |
547 |
couturad |
919 |
params_maill.enregistrer((char*)sys_command.c_str()); |
548 |
couturad |
964 |
if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str()); |
549 |
couturad |
951 |
|
550 |
|
|
if(fem_maill_lin) |
551 |
|
|
{ |
552 |
|
|
OT_PARAMETRES params_fem_maillage_lin; |
553 |
|
|
ini_param_mailleur_fem(¶ms_fem_maillage_lin); |
554 |
|
|
params_fem_maillage_lin.change_valeur("Degre",1); |
555 |
|
|
sys_command.clear(); sys_command.append("parametre/fem_maillage/param_fem_maill_lin.txt"); |
556 |
|
|
params_fem_maillage_lin.enregistrer((char*)sys_command.c_str()); |
557 |
couturad |
964 |
if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str()); |
558 |
couturad |
951 |
} |
559 |
couturad |
919 |
|
560 |
couturad |
951 |
if(fem_maill_quad) |
561 |
|
|
{ |
562 |
|
|
OT_PARAMETRES params_fem_maillage_quad; |
563 |
|
|
ini_param_mailleur_fem(¶ms_fem_maillage_quad); |
564 |
|
|
params_fem_maillage_quad.change_valeur("Degre",2); |
565 |
|
|
sys_command.clear(); sys_command.append("parametre/fem_maillage/param_fem_maill_quad.txt"); |
566 |
|
|
params_fem_maillage_quad.enregistrer((char*)sys_command.c_str()); |
567 |
couturad |
964 |
if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str()); |
568 |
couturad |
951 |
} |
569 |
couturad |
919 |
|
570 |
couturad |
971 |
if(etude_mecanique) |
571 |
|
|
{ |
572 |
|
|
OT_PARAMETRES params_etude_CLDH_sph; |
573 |
|
|
ini_param_etude(¶ms_etude_CLDH_sph,MSTRUCT::TYPE_ETUDE::MECANIQUE); |
574 |
|
|
params_etude_CLDH_sph.change_valeur("Type_Chargement",MSTRUCT::TYPE_CHARGEMENT::SPHERIQUE); |
575 |
|
|
params_etude_CLDH_sph.change_valeur("Type_CL",MSTRUCT::TYPE_CONDITIONS_LIMITES::DEFORMATION_HOMOGENE); |
576 |
|
|
params_etude_CLDH_sph.change_valeur("Valeur_CL",0.0001); |
577 |
|
|
sys_command.clear(); sys_command.append("parametre/etude/param_etude_CLDH_sph.txt"); |
578 |
|
|
params_etude_CLDH_sph.enregistrer((char*)sys_command.c_str()); |
579 |
|
|
if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str()); |
580 |
|
|
|
581 |
|
|
OT_PARAMETRES params_etude_CLCH_sph; |
582 |
|
|
ini_param_etude(¶ms_etude_CLCH_sph,MSTRUCT::TYPE_ETUDE::MECANIQUE); |
583 |
|
|
params_etude_CLCH_sph.change_valeur("Type_Chargement",MSTRUCT::TYPE_CHARGEMENT::SPHERIQUE); |
584 |
|
|
params_etude_CLCH_sph.change_valeur("Type_CL",MSTRUCT::TYPE_CONDITIONS_LIMITES::CONTRAINTE_HOMOGENE); |
585 |
couturad |
974 |
params_etude_CLCH_sph.change_valeur("Valeur_CL",1000000); |
586 |
couturad |
971 |
sys_command.clear(); sys_command.append("parametre/etude/param_etude_CLCH_sph.txt"); |
587 |
|
|
params_etude_CLCH_sph.enregistrer((char*)sys_command.c_str()); |
588 |
|
|
if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str()); |
589 |
|
|
|
590 |
|
|
OT_PARAMETRES params_etude_CLDH_dev; |
591 |
|
|
ini_param_etude(¶ms_etude_CLDH_dev,MSTRUCT::TYPE_ETUDE::MECANIQUE); |
592 |
|
|
params_etude_CLDH_dev.change_valeur("Type_Chargement",MSTRUCT::TYPE_CHARGEMENT::DEVIATORIQUE); |
593 |
|
|
params_etude_CLDH_dev.change_valeur("Type_CL",MSTRUCT::TYPE_CONDITIONS_LIMITES::DEFORMATION_HOMOGENE); |
594 |
|
|
params_etude_CLDH_dev.change_valeur("Valeur_CL",0.0001); |
595 |
|
|
sys_command.clear(); sys_command.append("parametre/etude/param_etude_CLDH_dev.txt"); |
596 |
|
|
params_etude_CLDH_dev.enregistrer((char*)sys_command.c_str()); |
597 |
|
|
if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str()); |
598 |
|
|
|
599 |
|
|
OT_PARAMETRES params_etude_CLCH_dev; |
600 |
|
|
ini_param_etude(¶ms_etude_CLCH_dev,MSTRUCT::TYPE_ETUDE::MECANIQUE); |
601 |
|
|
params_etude_CLCH_dev.change_valeur("Type_Chargement",MSTRUCT::TYPE_CHARGEMENT::DEVIATORIQUE); |
602 |
|
|
params_etude_CLCH_dev.change_valeur("Type_CL",MSTRUCT::TYPE_CONDITIONS_LIMITES::CONTRAINTE_HOMOGENE); |
603 |
couturad |
974 |
params_etude_CLCH_dev.change_valeur("Valeur_CL",1000000); |
604 |
couturad |
971 |
sys_command.clear(); sys_command.append("parametre/etude/param_etude_CLCH_dev.txt"); |
605 |
|
|
params_etude_CLCH_dev.enregistrer((char*)sys_command.c_str()); |
606 |
|
|
if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str()); |
607 |
|
|
} |
608 |
|
|
if(etude_thermique) |
609 |
|
|
{ |
610 |
|
|
OT_PARAMETRES params_etude_CLG_x; |
611 |
|
|
ini_param_etude(¶ms_etude_CLG_x,MSTRUCT::TYPE_ETUDE::THERMIQUE); |
612 |
|
|
params_etude_CLG_x.change_valeur("Type_CL",MSTRUCT::TYPE_CONDITIONS_LIMITES::GRADIENT_TEMPERATURE); |
613 |
|
|
params_etude_CLG_x.change_valeur("Valeur_CL",1.0); |
614 |
|
|
params_etude_CLG_x.change_valeur("Direction",0); |
615 |
|
|
sys_command.clear(); sys_command.append("parametre/etude/params_etude_CLG_x.txt"); |
616 |
|
|
params_etude_CLG_x.enregistrer((char*)sys_command.c_str()); |
617 |
|
|
if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str()); |
618 |
|
|
|
619 |
|
|
OT_PARAMETRES params_etude_CLG_y; |
620 |
|
|
ini_param_etude(¶ms_etude_CLG_y,MSTRUCT::TYPE_ETUDE::THERMIQUE); |
621 |
|
|
params_etude_CLG_y.change_valeur("Type_CL",MSTRUCT::TYPE_CONDITIONS_LIMITES::GRADIENT_TEMPERATURE); |
622 |
|
|
params_etude_CLG_y.change_valeur("Valeur_CL",1.0); |
623 |
|
|
params_etude_CLG_y.change_valeur("Direction",1); |
624 |
|
|
sys_command.clear(); sys_command.append("parametre/etude/params_etude_CLG_y.txt"); |
625 |
|
|
params_etude_CLG_y.enregistrer((char*)sys_command.c_str()); |
626 |
|
|
if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str()); |
627 |
|
|
|
628 |
|
|
OT_PARAMETRES params_etude_CLG_z; |
629 |
|
|
ini_param_etude(¶ms_etude_CLG_z,MSTRUCT::TYPE_ETUDE::THERMIQUE); |
630 |
|
|
params_etude_CLG_z.change_valeur("Type_CL",MSTRUCT::TYPE_CONDITIONS_LIMITES::GRADIENT_TEMPERATURE); |
631 |
|
|
params_etude_CLG_z.change_valeur("Valeur_CL",1.0); |
632 |
|
|
params_etude_CLG_z.change_valeur("Direction",2); |
633 |
|
|
sys_command.clear(); sys_command.append("parametre/etude/params_etude_CLG_z.txt"); |
634 |
|
|
params_etude_CLG_z.enregistrer((char*)sys_command.c_str()); |
635 |
|
|
if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str()); |
636 |
|
|
|
637 |
|
|
OT_PARAMETRES params_etude_CLF_x; |
638 |
|
|
ini_param_etude(¶ms_etude_CLF_x,MSTRUCT::TYPE_ETUDE::THERMIQUE); |
639 |
|
|
params_etude_CLF_x.change_valeur("Type_CL",MSTRUCT::TYPE_CONDITIONS_LIMITES::FLUX_CHALEUR); |
640 |
|
|
params_etude_CLF_x.change_valeur("Valeur_CL",1.0); |
641 |
|
|
params_etude_CLF_x.change_valeur("Direction",0); |
642 |
|
|
sys_command.clear(); sys_command.append("parametre/etude/params_etude_CLF_x.txt"); |
643 |
|
|
params_etude_CLF_x.enregistrer((char*)sys_command.c_str()); |
644 |
|
|
if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str()); |
645 |
|
|
|
646 |
|
|
OT_PARAMETRES params_etude_CLF_y; |
647 |
|
|
ini_param_etude(¶ms_etude_CLF_y,MSTRUCT::TYPE_ETUDE::THERMIQUE); |
648 |
|
|
params_etude_CLF_y.change_valeur("Type_CL",MSTRUCT::TYPE_CONDITIONS_LIMITES::FLUX_CHALEUR); |
649 |
|
|
params_etude_CLF_y.change_valeur("Valeur_CL",1.0); |
650 |
|
|
params_etude_CLF_y.change_valeur("Direction",1); |
651 |
|
|
sys_command.clear(); sys_command.append("parametre/etude/params_etude_CLF_y.txt"); |
652 |
|
|
params_etude_CLF_y.enregistrer((char*)sys_command.c_str()); |
653 |
|
|
if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str()); |
654 |
|
|
|
655 |
|
|
OT_PARAMETRES params_etude_CLF_z; |
656 |
|
|
ini_param_etude(¶ms_etude_CLF_z,MSTRUCT::TYPE_ETUDE::THERMIQUE); |
657 |
|
|
params_etude_CLF_z.change_valeur("Type_CL",MSTRUCT::TYPE_CONDITIONS_LIMITES::FLUX_CHALEUR); |
658 |
|
|
params_etude_CLF_z.change_valeur("Valeur_CL",1.0); |
659 |
|
|
params_etude_CLF_z.change_valeur("Direction",2); |
660 |
|
|
sys_command.clear(); sys_command.append("parametre/etude/params_etude_CLF_z.txt"); |
661 |
|
|
params_etude_CLF_z.enregistrer((char*)sys_command.c_str()); |
662 |
|
|
if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str()); |
663 |
|
|
} |
664 |
couturad |
968 |
|
665 |
couturad |
926 |
MG_EXPORT exp; |
666 |
|
|
OT_PARAMETRES *params_aster=exp.get_param_aster(); |
667 |
couturad |
964 |
params_aster->change_valeur("Memoire",1024); |
668 |
couturad |
926 |
params_aster->change_valeur("Temps_max",250000); |
669 |
|
|
params_aster->change_valeur("Nb_CPU",8); |
670 |
|
|
params_aster->change_valeur("Noeud_ele",2); |
671 |
couturad |
929 |
params_aster->change_valeur("Base_num_mail",36); |
672 |
couturad |
971 |
params_aster->change_valeur("Pas",0); |
673 |
couturad |
933 |
sys_command.clear(); sys_command.append("parametre/etude/param_aster.txt"); |
674 |
couturad |
964 |
params_aster->enregistrer((char*)sys_command.c_str()); |
675 |
|
|
if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str()); |
676 |
couturad |
926 |
|
677 |
couturad |
993 |
OT_PARAMETRES params_post_temps; |
678 |
|
|
ini_param_post_traitement(¶ms_post_temps,MSTRUCT::TYPE_POST_TRAITEMENT::POST_TEMPS,false); |
679 |
|
|
sys_command.clear(); sys_command.append("parametre/post_traitement/params_post_temps.txt"); |
680 |
|
|
params_post_temps.enregistrer((char*)sys_command.c_str()); |
681 |
|
|
if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str()); |
682 |
|
|
|
683 |
couturad |
968 |
OT_PARAMETRES params_post_cao_all; |
684 |
|
|
ini_param_post_traitement(¶ms_post_cao_all,MSTRUCT::TYPE_POST_TRAITEMENT::POST_CAO); |
685 |
|
|
params_post_cao_all.change_valeur("Identifiant","Cao_ALL"); |
686 |
|
|
sys_command.clear(); sys_command.append("parametre/post_traitement/params_post_cao_all.txt"); |
687 |
|
|
params_post_cao_all.enregistrer((char*)sys_command.c_str()); |
688 |
couturad |
964 |
if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str()); |
689 |
couturad |
968 |
OT_PARAMETRES params_post_cao_particule; |
690 |
|
|
ini_param_post_traitement(¶ms_post_cao_particule,MSTRUCT::TYPE_POST_TRAITEMENT::POST_CAO); |
691 |
|
|
params_post_cao_particule.change_valeur("Identifiant","Cao_Particule"); |
692 |
|
|
params_post_cao_particule.change_valeur("Nom_groupe_forme","Particule"); |
693 |
|
|
sys_command.clear(); sys_command.append("parametre/post_traitement/params_post_cao_particule.txt"); |
694 |
|
|
params_post_cao_particule.enregistrer((char*)sys_command.c_str()); |
695 |
couturad |
964 |
if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str()); |
696 |
couturad |
968 |
OT_PARAMETRES params_post_cao_matrice; |
697 |
|
|
ini_param_post_traitement(¶ms_post_cao_matrice,MSTRUCT::TYPE_POST_TRAITEMENT::POST_CAO); |
698 |
|
|
params_post_cao_matrice.change_valeur("Identifiant","Cao_Matrice"); |
699 |
|
|
params_post_cao_matrice.change_valeur("Nom_groupe_forme","Matrice"); |
700 |
|
|
sys_command.clear(); sys_command.append("parametre/post_traitement/params_post_cao_matrice.txt"); |
701 |
|
|
params_post_cao_matrice.enregistrer((char*)sys_command.c_str()); |
702 |
couturad |
964 |
if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str()); |
703 |
couturad |
971 |
OT_PARAMETRES params_post_prop_mass_particule; |
704 |
|
|
ini_param_post_traitement(¶ms_post_prop_mass_particule,MSTRUCT::TYPE_POST_TRAITEMENT::POST_PROPRIETE_MASSIQUE); |
705 |
|
|
params_post_prop_mass_particule.change_valeur("Identifiant","Prop_mass_Particule"); |
706 |
|
|
params_post_prop_mass_particule.change_valeur("Nom_groupe_forme","Particule"); |
707 |
|
|
sys_command.clear(); sys_command.append("parametre/post_traitement/params_post_prop_mass_particule.txt"); |
708 |
|
|
params_post_prop_mass_particule.enregistrer((char*)sys_command.c_str()); |
709 |
|
|
if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str()); |
710 |
couturad |
926 |
|
711 |
couturad |
968 |
if(type_inclusion==MSTRUCT::TYPE_INCLUSION::CYLINDRE) |
712 |
couturad |
951 |
{ |
713 |
couturad |
968 |
OT_PARAMETRES params_post_orientation_cao; |
714 |
|
|
ini_param_post_traitement(¶ms_post_orientation_cao,MSTRUCT::TYPE_POST_TRAITEMENT::POST_ORIENTATION); |
715 |
|
|
params_post_orientation_cao.change_valeur("Identifiant","Orientation_Particule"); |
716 |
|
|
params_post_orientation_cao.change_valeur("Avec_fem_maillage","0"); |
717 |
|
|
sys_command.clear(); sys_command.append("parametre/post_traitement/params_post_orientation_cao.txt"); |
718 |
|
|
params_post_orientation_cao.enregistrer((char*)sys_command.c_str()); |
719 |
couturad |
964 |
if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str()); |
720 |
couturad |
968 |
|
721 |
|
|
OT_PARAMETRES params_post_orientation_ecart; |
722 |
|
|
ini_param_post_traitement(¶ms_post_orientation_ecart,MSTRUCT::TYPE_POST_TRAITEMENT::POST_ORIENTATION_ECART); |
723 |
|
|
params_post_orientation_ecart.change_valeur("Identifiant","Orientation_Particule_ecart"); |
724 |
|
|
params_post_orientation_ecart.change_valeur("Identifiant_orientation","Orientation_Particule"); |
725 |
|
|
params_post_orientation_ecart.change_valeur("Type_ecart",MSTRUCT::TYPE_COMPARAISON::ECART_ABSOLUE); |
726 |
|
|
sys_command.clear(); sys_command.append("parametre/post_traitement/params_post_orientation_ecart.txt"); |
727 |
|
|
params_post_orientation_ecart.enregistrer((char*)sys_command.c_str()); |
728 |
|
|
if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str()); |
729 |
couturad |
951 |
} |
730 |
|
|
|
731 |
couturad |
968 |
sys_command.clear(); sys_command.append("parametre/post_traitement/lstparam_post_geometrie.txt"); |
732 |
couturad |
971 |
f.open(sys_command.c_str(),std::ios::out); |
733 |
|
|
f << "// Fichier de parametres POST_TRAITEMENT" << std::endl; |
734 |
|
|
f << "params_post_cao_all.txt" << std::endl; |
735 |
|
|
f << "params_post_cao_particule.txt" << std::endl; |
736 |
|
|
f << "params_post_cao_matrice.txt" << std::endl; |
737 |
|
|
f << "params_post_prop_mass_particule.txt" << std::endl; |
738 |
couturad |
968 |
if(type_inclusion==MSTRUCT::TYPE_INCLUSION::CYLINDRE) |
739 |
couturad |
951 |
{ |
740 |
couturad |
968 |
f << "params_post_orientation_cao.txt" << std::endl; |
741 |
|
|
f << "params_post_orientation_ecart.txt" << std::endl; |
742 |
couturad |
951 |
} |
743 |
couturad |
971 |
|
744 |
couturad |
964 |
f.close(); |
745 |
|
|
if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str()); |
746 |
couturad |
951 |
|
747 |
couturad |
968 |
OT_PARAMETRES params_post_mg_maillage_all; |
748 |
couturad |
971 |
ini_param_post_traitement(¶ms_post_mg_maillage_all,MSTRUCT::TYPE_POST_TRAITEMENT::POST_MAILLAGE_MG); |
749 |
couturad |
968 |
params_post_mg_maillage_all.change_valeur("Identifiant","MG_maillage_ALL"); |
750 |
|
|
sys_command.clear(); sys_command.append("parametre/post_traitement/params_post_mg_maillage_all.txt"); |
751 |
|
|
params_post_mg_maillage_all.enregistrer((char*)sys_command.c_str()); |
752 |
couturad |
964 |
if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str()); |
753 |
couturad |
971 |
|
754 |
couturad |
968 |
OT_PARAMETRES params_post_mg_maillage_particule; |
755 |
couturad |
971 |
ini_param_post_traitement(¶ms_post_mg_maillage_particule,MSTRUCT::TYPE_POST_TRAITEMENT::POST_MAILLAGE_MG); |
756 |
couturad |
968 |
params_post_mg_maillage_particule.change_valeur("Identifiant","MG_maillage_Particule"); |
757 |
|
|
params_post_mg_maillage_particule.change_valeur("Nom_groupe_forme","Particule"); |
758 |
|
|
sys_command.clear(); sys_command.append("parametre/post_traitement/params_post_mg_maillage_particule.txt"); |
759 |
|
|
params_post_mg_maillage_particule.enregistrer((char*)sys_command.c_str()); |
760 |
couturad |
964 |
if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str()); |
761 |
couturad |
971 |
|
762 |
couturad |
968 |
OT_PARAMETRES params_post_mg_maillage_matrice; |
763 |
couturad |
971 |
ini_param_post_traitement(¶ms_post_mg_maillage_matrice,MSTRUCT::TYPE_POST_TRAITEMENT::POST_MAILLAGE_MG); |
764 |
couturad |
968 |
params_post_mg_maillage_matrice.change_valeur("Identifiant","MG_maillage_Matrice"); |
765 |
|
|
params_post_mg_maillage_matrice.change_valeur("Nom_groupe_forme","Matrice"); |
766 |
|
|
sys_command.clear(); sys_command.append("parametre/post_traitement/params_post_mg_maillage_matrice.txt"); |
767 |
|
|
params_post_mg_maillage_matrice.enregistrer((char*)sys_command.c_str()); |
768 |
couturad |
964 |
if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str()); |
769 |
couturad |
926 |
|
770 |
couturad |
971 |
|
771 |
couturad |
968 |
sys_command.clear(); sys_command.append("parametre/post_traitement/lstparam_post_mg_maillage.txt"); |
772 |
couturad |
951 |
f.open(sys_command.c_str(),std::ios::out); |
773 |
couturad |
968 |
f << "// Fichier de parametres POST_TRAITEMENT" << std::endl; |
774 |
|
|
f << "params_post_mg_maillage_all.txt" << std::endl; |
775 |
|
|
f << "params_post_mg_maillage_particule.txt" << std::endl; |
776 |
|
|
f << "params_post_mg_maillage_matrice.txt" << std::endl; |
777 |
couturad |
964 |
f.close(); |
778 |
couturad |
971 |
if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str()); |
779 |
|
|
|
780 |
couturad |
968 |
OT_PARAMETRES params_post_fem_maillage_all; |
781 |
couturad |
971 |
ini_param_post_traitement(¶ms_post_fem_maillage_all,MSTRUCT::TYPE_POST_TRAITEMENT::POST_MAILLAGE_FEM,nb_couche_erosion,epaisseur_couche_erosion); |
782 |
couturad |
968 |
params_post_fem_maillage_all.change_valeur("Identifiant","FEM_maillage_ALL"); |
783 |
|
|
sys_command.clear(); sys_command.append("parametre/post_traitement/params_post_fem_maillage_all.txt"); |
784 |
|
|
params_post_fem_maillage_all.enregistrer((char*)sys_command.c_str()); |
785 |
couturad |
964 |
if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str()); |
786 |
couturad |
971 |
|
787 |
couturad |
968 |
OT_PARAMETRES params_post_fem_maillage_particule; |
788 |
couturad |
971 |
ini_param_post_traitement(¶ms_post_fem_maillage_particule,MSTRUCT::TYPE_POST_TRAITEMENT::POST_MAILLAGE_FEM,nb_couche_erosion,epaisseur_couche_erosion); |
789 |
couturad |
968 |
params_post_fem_maillage_particule.change_valeur("Identifiant","FEM_maillage_Particule"); |
790 |
|
|
params_post_fem_maillage_particule.change_valeur("Nom_groupe_forme","Particule"); |
791 |
|
|
sys_command.clear(); sys_command.append("parametre/post_traitement/params_post_fem_maillage_particule.txt"); |
792 |
|
|
params_post_fem_maillage_particule.enregistrer((char*)sys_command.c_str()); |
793 |
|
|
if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str()); |
794 |
couturad |
971 |
|
795 |
couturad |
968 |
OT_PARAMETRES params_post_fem_maillage_matrice; |
796 |
couturad |
971 |
ini_param_post_traitement(¶ms_post_fem_maillage_matrice,MSTRUCT::TYPE_POST_TRAITEMENT::POST_MAILLAGE_FEM,nb_couche_erosion,epaisseur_couche_erosion); |
797 |
couturad |
968 |
params_post_fem_maillage_matrice.change_valeur("Identifiant","FEM_maillage_Matrice"); |
798 |
|
|
params_post_fem_maillage_matrice.change_valeur("Nom_groupe_forme","Matrice"); |
799 |
|
|
sys_command.clear(); sys_command.append("parametre/post_traitement/params_post_fem_maillage_matrice.txt"); |
800 |
|
|
params_post_fem_maillage_matrice.enregistrer((char*)sys_command.c_str()); |
801 |
|
|
if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str()); |
802 |
couturad |
926 |
|
803 |
couturad |
968 |
if(type_inclusion==MSTRUCT::TYPE_INCLUSION::CYLINDRE) |
804 |
couturad |
951 |
{ |
805 |
couturad |
968 |
OT_PARAMETRES params_post_orientation_ponderee; |
806 |
couturad |
971 |
ini_param_post_traitement(¶ms_post_orientation_ponderee,MSTRUCT::TYPE_POST_TRAITEMENT::POST_ORIENTATION,nb_couche_erosion,epaisseur_couche_erosion); |
807 |
couturad |
968 |
params_post_orientation_ponderee.change_valeur("Identifiant","Orientation_Particule_ponderee"); |
808 |
|
|
sys_command.clear(); sys_command.append("parametre/post_traitement/params_post_orientation_ponderee.txt"); |
809 |
|
|
params_post_orientation_ponderee.enregistrer((char*)sys_command.c_str()); |
810 |
couturad |
964 |
if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str()); |
811 |
couturad |
951 |
|
812 |
couturad |
968 |
OT_PARAMETRES params_post_orientation_ponderee_ecart; |
813 |
couturad |
971 |
ini_param_post_traitement(¶ms_post_orientation_ponderee_ecart,MSTRUCT::TYPE_POST_TRAITEMENT::POST_ORIENTATION_ECART,nb_couche_erosion,epaisseur_couche_erosion); |
814 |
couturad |
968 |
params_post_orientation_ponderee_ecart.change_valeur("Identifiant","Orientation_Particule_ponderee_ecart"); |
815 |
|
|
params_post_orientation_ponderee_ecart.change_valeur("Identifiant_orientation","Orientation_Particule_ponderee"); |
816 |
|
|
params_post_orientation_ponderee_ecart.change_valeur("Type_ecart",MSTRUCT::TYPE_COMPARAISON::ECART_ABSOLUE); |
817 |
|
|
sys_command.clear(); sys_command.append("parametre/post_traitement/params_post_orientation_ponderee_ecart.txt"); |
818 |
|
|
params_post_orientation_ponderee_ecart.enregistrer((char*)sys_command.c_str()); |
819 |
couturad |
964 |
if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str()); |
820 |
couturad |
971 |
} |
821 |
|
|
sys_command.clear(); sys_command.append("parametre/post_traitement/lstparam_post_fem_maillage.txt"); |
822 |
|
|
f.open(sys_command.c_str(),std::ios::out); |
823 |
|
|
f << "// Fichier de parametres POST_TRAITEMENT" << std::endl; |
824 |
|
|
f << "params_post_fem_maillage_all.txt" << std::endl; |
825 |
|
|
f << "params_post_fem_maillage_particule.txt" << std::endl; |
826 |
|
|
f << "params_post_fem_maillage_matrice.txt" << std::endl; |
827 |
|
|
if(type_inclusion==MSTRUCT::TYPE_INCLUSION::CYLINDRE) |
828 |
|
|
{ |
829 |
couturad |
968 |
f << "params_post_orientation_ponderee.txt" << std::endl; |
830 |
|
|
f << "params_post_orientation_ponderee_ecart.txt" << std::endl; |
831 |
couturad |
951 |
} |
832 |
couturad |
971 |
f.close(); |
833 |
|
|
if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str()); |
834 |
|
|
|
835 |
|
|
if(etude_mecanique) |
836 |
couturad |
951 |
{ |
837 |
couturad |
971 |
OT_PARAMETRES params_post_champ_sigma; |
838 |
|
|
ini_param_post_traitement(¶ms_post_champ_sigma,MSTRUCT::TYPE_POST_TRAITEMENT::POST_CHAMP,nb_couche_erosion,epaisseur_couche_erosion); |
839 |
|
|
params_post_champ_sigma.change_valeur("Identifiant","Champ_SIGMA"); |
840 |
|
|
params_post_champ_sigma.change_valeur("Num_solution",2); |
841 |
couturad |
974 |
params_post_champ_sigma.change_valeur("Largeur_colonne_distribution","1000.0"); |
842 |
couturad |
971 |
sys_command.clear(); sys_command.append("parametre/post_traitement/params_post_champ_sigma.txt"); |
843 |
|
|
params_post_champ_sigma.enregistrer((char*)sys_command.c_str()); |
844 |
|
|
if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str()); |
845 |
couturad |
982 |
// Nom_groupe_forme |
846 |
couturad |
971 |
OT_PARAMETRES params_post_champ_sigma_normalise; |
847 |
|
|
ini_param_post_traitement(¶ms_post_champ_sigma_normalise,MSTRUCT::TYPE_POST_TRAITEMENT::POST_CHAMP_NORMALISE,nb_couche_erosion,epaisseur_couche_erosion); |
848 |
|
|
params_post_champ_sigma_normalise.change_valeur("Identifiant","Champ_SIGMA_normalise"); |
849 |
|
|
params_post_champ_sigma_normalise.change_valeur("Identifiant_champ","Champ_SIGMA"); |
850 |
couturad |
982 |
params_post_champ_sigma_normalise.change_valeur("Identifiant_champ_reference","Champ_SIGMA"); |
851 |
|
|
params_post_champ_sigma_normalise.change_valeur("Largeur_colonne_distribution","0.02"); |
852 |
couturad |
971 |
sys_command.clear(); sys_command.append("parametre/post_traitement/params_post_champ_sigma_normalise.txt"); |
853 |
|
|
params_post_champ_sigma_normalise.enregistrer((char*)sys_command.c_str()); |
854 |
|
|
if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str()); |
855 |
|
|
|
856 |
|
|
OT_PARAMETRES params_post_champ_epsilon; |
857 |
|
|
ini_param_post_traitement(¶ms_post_champ_epsilon,MSTRUCT::TYPE_POST_TRAITEMENT::POST_CHAMP,nb_couche_erosion,epaisseur_couche_erosion); |
858 |
|
|
params_post_champ_epsilon.change_valeur("Identifiant","Champ_EPSILON"); |
859 |
|
|
params_post_champ_epsilon.change_valeur("Num_solution",1); |
860 |
couturad |
974 |
params_post_champ_epsilon.change_valeur("Largeur_colonne_distribution","1.0e-6"); |
861 |
couturad |
971 |
sys_command.clear(); sys_command.append("parametre/post_traitement/params_post_champ_epsilon.txt"); |
862 |
|
|
params_post_champ_epsilon.enregistrer((char*)sys_command.c_str()); |
863 |
|
|
if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str()); |
864 |
|
|
|
865 |
|
|
OT_PARAMETRES params_post_champ_epsilon_normalise; |
866 |
|
|
ini_param_post_traitement(¶ms_post_champ_epsilon_normalise,MSTRUCT::TYPE_POST_TRAITEMENT::POST_CHAMP_NORMALISE,nb_couche_erosion,epaisseur_couche_erosion); |
867 |
|
|
params_post_champ_epsilon_normalise.change_valeur("Identifiant","Champ_EPSILON_normalise"); |
868 |
|
|
params_post_champ_epsilon_normalise.change_valeur("Identifiant_champ","Champ_EPSILON"); |
869 |
couturad |
982 |
params_post_champ_epsilon_normalise.change_valeur("Identifiant_champ_reference","Champ_EPSILON"); |
870 |
|
|
params_post_champ_epsilon_normalise.change_valeur("Largeur_colonne_distribution","0.02"); |
871 |
couturad |
971 |
sys_command.clear(); sys_command.append("parametre/post_traitement/params_post_champ_epsilon_normalise.txt"); |
872 |
|
|
params_post_champ_epsilon_normalise.enregistrer((char*)sys_command.c_str()); |
873 |
|
|
if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str()); |
874 |
|
|
|
875 |
couturad |
982 |
OT_PARAMETRES params_post_champ_sigma_particule; |
876 |
|
|
ini_param_post_traitement(¶ms_post_champ_sigma_particule,MSTRUCT::TYPE_POST_TRAITEMENT::POST_CHAMP,nb_couche_erosion,epaisseur_couche_erosion); |
877 |
|
|
params_post_champ_sigma_particule.change_valeur("Identifiant","Champ_SIGMA_particule"); |
878 |
|
|
params_post_champ_sigma_particule.change_valeur("Nom_groupe_forme","Particule"); |
879 |
|
|
params_post_champ_sigma_particule.change_valeur("Num_solution",2); |
880 |
|
|
params_post_champ_sigma_particule.change_valeur("Largeur_colonne_distribution","1000.0"); |
881 |
|
|
sys_command.clear(); sys_command.append("parametre/post_traitement/params_post_champ_sigma_particule.txt"); |
882 |
|
|
params_post_champ_sigma_particule.enregistrer((char*)sys_command.c_str()); |
883 |
|
|
if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str()); |
884 |
|
|
OT_PARAMETRES params_post_champ_sigma_particule_normalise; |
885 |
|
|
ini_param_post_traitement(¶ms_post_champ_sigma_particule_normalise,MSTRUCT::TYPE_POST_TRAITEMENT::POST_CHAMP_NORMALISE,nb_couche_erosion,epaisseur_couche_erosion); |
886 |
|
|
params_post_champ_sigma_particule_normalise.change_valeur("Identifiant","Champ_SIGMA_particule_normalise"); |
887 |
|
|
params_post_champ_sigma_particule_normalise.change_valeur("Identifiant_champ","Champ_SIGMA_particule"); |
888 |
|
|
params_post_champ_sigma_particule_normalise.change_valeur("Identifiant_champ_reference","Champ_SIGMA"); |
889 |
|
|
params_post_champ_sigma_particule_normalise.change_valeur("Largeur_colonne_distribution","0.02"); |
890 |
|
|
sys_command.clear(); sys_command.append("parametre/post_traitement/params_post_champ_sigma_particule_normalise.txt"); |
891 |
|
|
params_post_champ_sigma_particule_normalise.enregistrer((char*)sys_command.c_str()); |
892 |
|
|
if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str()); |
893 |
|
|
|
894 |
|
|
OT_PARAMETRES params_post_champ_epsilon_particule; |
895 |
|
|
ini_param_post_traitement(¶ms_post_champ_epsilon_particule,MSTRUCT::TYPE_POST_TRAITEMENT::POST_CHAMP,nb_couche_erosion,epaisseur_couche_erosion); |
896 |
|
|
params_post_champ_epsilon_particule.change_valeur("Identifiant","Champ_EPSILON_particule"); |
897 |
|
|
params_post_champ_epsilon_particule.change_valeur("Nom_groupe_forme","Particule"); |
898 |
|
|
params_post_champ_epsilon_particule.change_valeur("Num_solution",1); |
899 |
|
|
params_post_champ_epsilon_particule.change_valeur("Largeur_colonne_distribution","1.0e-6"); |
900 |
|
|
sys_command.clear(); sys_command.append("parametre/post_traitement/params_post_champ_epsilon_particule.txt"); |
901 |
|
|
params_post_champ_epsilon_particule.enregistrer((char*)sys_command.c_str()); |
902 |
|
|
if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str()); |
903 |
|
|
|
904 |
|
|
OT_PARAMETRES params_post_champ_epsilon_particule_normalise; |
905 |
|
|
ini_param_post_traitement(¶ms_post_champ_epsilon_particule_normalise,MSTRUCT::TYPE_POST_TRAITEMENT::POST_CHAMP_NORMALISE,nb_couche_erosion,epaisseur_couche_erosion); |
906 |
|
|
params_post_champ_epsilon_particule_normalise.change_valeur("Identifiant","Champ_EPSILON_particule_normalise"); |
907 |
|
|
params_post_champ_epsilon_particule_normalise.change_valeur("Identifiant_champ","Champ_EPSILON_particule"); |
908 |
|
|
params_post_champ_epsilon_particule_normalise.change_valeur("Identifiant_champ_reference","Champ_EPSILON"); |
909 |
|
|
params_post_champ_epsilon_particule_normalise.change_valeur("Largeur_colonne_distribution","0.02"); |
910 |
|
|
sys_command.clear(); sys_command.append("parametre/post_traitement/params_post_champ_epsilon_particule_normalise.txt"); |
911 |
|
|
params_post_champ_epsilon_particule_normalise.enregistrer((char*)sys_command.c_str()); |
912 |
|
|
if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str()); |
913 |
|
|
|
914 |
|
|
OT_PARAMETRES params_post_champ_sigma_matrice; |
915 |
|
|
ini_param_post_traitement(¶ms_post_champ_sigma_matrice,MSTRUCT::TYPE_POST_TRAITEMENT::POST_CHAMP,nb_couche_erosion,epaisseur_couche_erosion); |
916 |
|
|
params_post_champ_sigma_matrice.change_valeur("Identifiant","Champ_SIGMA_matrice"); |
917 |
|
|
params_post_champ_sigma_matrice.change_valeur("Nom_groupe_forme","Matrice"); |
918 |
|
|
params_post_champ_sigma_matrice.change_valeur("Num_solution",2); |
919 |
|
|
params_post_champ_sigma_matrice.change_valeur("Largeur_colonne_distribution","1000.0"); |
920 |
|
|
sys_command.clear(); sys_command.append("parametre/post_traitement/params_post_champ_sigma_matrice.txt"); |
921 |
|
|
params_post_champ_sigma_matrice.enregistrer((char*)sys_command.c_str()); |
922 |
|
|
if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str()); |
923 |
|
|
OT_PARAMETRES params_post_champ_sigma_matrice_normalise; |
924 |
|
|
ini_param_post_traitement(¶ms_post_champ_sigma_matrice_normalise,MSTRUCT::TYPE_POST_TRAITEMENT::POST_CHAMP_NORMALISE,nb_couche_erosion,epaisseur_couche_erosion); |
925 |
|
|
params_post_champ_sigma_matrice_normalise.change_valeur("Identifiant","Champ_SIGMA_matrice_normalise"); |
926 |
|
|
params_post_champ_sigma_matrice_normalise.change_valeur("Identifiant_champ","Champ_SIGMA_matrice"); |
927 |
|
|
params_post_champ_sigma_matrice_normalise.change_valeur("Identifiant_champ_reference","Champ_SIGMA"); |
928 |
|
|
params_post_champ_sigma_matrice_normalise.change_valeur("Largeur_colonne_distribution","0.02"); |
929 |
|
|
sys_command.clear(); sys_command.append("parametre/post_traitement/params_post_champ_sigma_matrice_normalise.txt"); |
930 |
|
|
params_post_champ_sigma_matrice_normalise.enregistrer((char*)sys_command.c_str()); |
931 |
|
|
if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str()); |
932 |
|
|
|
933 |
|
|
OT_PARAMETRES params_post_champ_epsilon_matrice; |
934 |
|
|
ini_param_post_traitement(¶ms_post_champ_epsilon_matrice,MSTRUCT::TYPE_POST_TRAITEMENT::POST_CHAMP,nb_couche_erosion,epaisseur_couche_erosion); |
935 |
|
|
params_post_champ_epsilon_matrice.change_valeur("Identifiant","Champ_EPSILON_matrice"); |
936 |
|
|
params_post_champ_epsilon_matrice.change_valeur("Nom_groupe_forme","Matrice"); |
937 |
|
|
params_post_champ_epsilon_matrice.change_valeur("Num_solution",1); |
938 |
|
|
params_post_champ_epsilon_matrice.change_valeur("Largeur_colonne_distribution","1.0e-6"); |
939 |
|
|
sys_command.clear(); sys_command.append("parametre/post_traitement/params_post_champ_epsilon_matrice.txt"); |
940 |
|
|
params_post_champ_epsilon_matrice.enregistrer((char*)sys_command.c_str()); |
941 |
|
|
if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str()); |
942 |
|
|
|
943 |
|
|
OT_PARAMETRES params_post_champ_epsilon_matrice_normalise; |
944 |
|
|
ini_param_post_traitement(¶ms_post_champ_epsilon_matrice_normalise,MSTRUCT::TYPE_POST_TRAITEMENT::POST_CHAMP_NORMALISE,nb_couche_erosion,epaisseur_couche_erosion); |
945 |
|
|
params_post_champ_epsilon_matrice_normalise.change_valeur("Identifiant","Champ_EPSILON_matrice_normalise"); |
946 |
|
|
params_post_champ_epsilon_matrice_normalise.change_valeur("Identifiant_champ","Champ_EPSILON_matrice"); |
947 |
|
|
params_post_champ_epsilon_matrice_normalise.change_valeur("Identifiant_champ_reference","Champ_EPSILON"); |
948 |
|
|
params_post_champ_epsilon_matrice_normalise.change_valeur("Largeur_colonne_distribution","0.02"); |
949 |
|
|
sys_command.clear(); sys_command.append("parametre/post_traitement/params_post_champ_epsilon_matrice_normalise.txt"); |
950 |
|
|
params_post_champ_epsilon_matrice_normalise.enregistrer((char*)sys_command.c_str()); |
951 |
|
|
if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str()); |
952 |
couturad |
1029 |
|
953 |
|
|
OT_PARAMETRES params_post_champ_energie_hill; |
954 |
|
|
ini_param_post_traitement(¶ms_post_champ_energie_hill,MSTRUCT::TYPE_POST_TRAITEMENT::POST_ENERGIE_HILL,nb_couche_erosion,epaisseur_couche_erosion); |
955 |
|
|
params_post_champ_energie_hill.change_valeur("Identifiant","Champ_ENERGIE_hill"); |
956 |
|
|
params_post_champ_energie_hill.change_valeur("Num_solution_epsilon",1); |
957 |
|
|
params_post_champ_energie_hill.change_valeur("Num_solution_sigma",2); |
958 |
|
|
params_post_champ_energie_hill.change_valeur("Largeur_colonne_distribution","1"); |
959 |
|
|
sys_command.clear(); sys_command.append("parametre/post_traitement/params_post_champ_energie_hill.txt"); |
960 |
|
|
params_post_champ_energie_hill.enregistrer((char*)sys_command.c_str()); |
961 |
|
|
if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str()); |
962 |
|
|
|
963 |
|
|
|
964 |
|
|
|
965 |
|
|
|
966 |
couturad |
971 |
OT_PARAMETRES params_post_champ_energie; |
967 |
|
|
ini_param_post_traitement(¶ms_post_champ_energie,MSTRUCT::TYPE_POST_TRAITEMENT::POST_CHAMP,nb_couche_erosion,epaisseur_couche_erosion); |
968 |
|
|
params_post_champ_energie.change_valeur("Identifiant","Champ_ENERGIE"); |
969 |
|
|
params_post_champ_energie.change_valeur("Num_solution",5); |
970 |
couturad |
974 |
params_post_champ_energie.change_valeur("Largeur_colonne_distribution","1e-04"); |
971 |
couturad |
971 |
sys_command.clear(); sys_command.append("parametre/post_traitement/params_post_champ_energie.txt"); |
972 |
|
|
params_post_champ_energie.enregistrer((char*)sys_command.c_str()); |
973 |
|
|
if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str()); |
974 |
|
|
|
975 |
|
|
OT_PARAMETRES params_post_champ_energie_normalise; |
976 |
|
|
ini_param_post_traitement(¶ms_post_champ_energie_normalise,MSTRUCT::TYPE_POST_TRAITEMENT::POST_CHAMP_NORMALISE,nb_couche_erosion,epaisseur_couche_erosion); |
977 |
|
|
params_post_champ_energie_normalise.change_valeur("Identifiant","Champ_ENERGIE_normalise"); |
978 |
|
|
params_post_champ_energie_normalise.change_valeur("Identifiant_champ","Champ_ENERGIE"); |
979 |
couturad |
982 |
params_post_champ_energie_normalise.change_valeur("Identifiant_champ_reference","Champ_ENERGIE"); |
980 |
|
|
params_post_champ_energie_normalise.change_valeur("Largeur_colonne_distribution","0.025"); |
981 |
couturad |
971 |
sys_command.clear(); sys_command.append("parametre/post_traitement/params_post_champ_energie_normalise.txt"); |
982 |
|
|
params_post_champ_energie_normalise.enregistrer((char*)sys_command.c_str()); |
983 |
|
|
if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str()); |
984 |
|
|
|
985 |
|
|
OT_PARAMETRES params_post_champ_energie_ecart; |
986 |
|
|
ini_param_post_traitement(¶ms_post_champ_energie_ecart,MSTRUCT::TYPE_POST_TRAITEMENT::POST_CHAMP_ECART,nb_couche_erosion,epaisseur_couche_erosion); |
987 |
|
|
params_post_champ_energie_ecart.change_valeur("Identifiant","Champ_ENERGIE_ecart"); |
988 |
|
|
params_post_champ_energie_ecart.change_valeur("Identifiant_champ","Champ_ENERGIE"); |
989 |
|
|
params_post_champ_energie_ecart.change_valeur("Identifiant_champ_compare","Champ_ENERGIE"); |
990 |
|
|
params_post_champ_energie_ecart.change_valeur("Num_couche","0"); |
991 |
couturad |
982 |
params_post_champ_energie_ecart.change_valeur("Type_ecart",MSTRUCT::TYPE_COMPARAISON::ECART_RELATIF); |
992 |
couturad |
974 |
params_post_champ_energie_ecart.change_valeur("Largeur_colonne_distribution","1e-04"); |
993 |
couturad |
971 |
sys_command.clear(); sys_command.append("parametre/post_traitement/params_post_champ_energie_ecart.txt"); |
994 |
|
|
params_post_champ_energie_ecart.enregistrer((char*)sys_command.c_str()); |
995 |
|
|
if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str()); |
996 |
|
|
|
997 |
|
|
sys_command.clear(); sys_command.append("parametre/post_traitement/lstparam_post_champ_meca.txt"); |
998 |
|
|
f.open(sys_command.c_str(),std::ios::out); |
999 |
couturad |
968 |
f << "// Fichier de parametres POST_TRAITEMENT" << std::endl; |
1000 |
couturad |
971 |
f << "params_post_champ_sigma.txt" << std::endl; |
1001 |
couturad |
982 |
f << "params_post_champ_sigma_normalise.txt" << std::endl; |
1002 |
|
|
f << "params_post_champ_sigma_particule.txt" << std::endl; |
1003 |
|
|
f << "params_post_champ_sigma_particule_normalise.txt" << std::endl; |
1004 |
|
|
f << "params_post_champ_sigma_matrice.txt" << std::endl; |
1005 |
|
|
f << "params_post_champ_sigma_matrice_normalise.txt" << std::endl; |
1006 |
couturad |
971 |
f << "params_post_champ_epsilon.txt" << std::endl; |
1007 |
couturad |
982 |
f << "params_post_champ_epsilon_normalise.txt" << std::endl; |
1008 |
|
|
f << "params_post_champ_epsilon_particule.txt" << std::endl; |
1009 |
|
|
f << "params_post_champ_epsilon_particule_normalise.txt" << std::endl; |
1010 |
|
|
f << "params_post_champ_epsilon_matrice.txt" << std::endl; |
1011 |
|
|
f << "params_post_champ_epsilon_matrice_normalise.txt" << std::endl; |
1012 |
couturad |
1029 |
f << "params_post_champ_energie_hill.txt" << std::endl; |
1013 |
couturad |
971 |
f << "params_post_champ_energie.txt" << std::endl; |
1014 |
|
|
f << "params_post_champ_energie_normalise.txt" << std::endl; |
1015 |
|
|
f << "params_post_champ_energie_ecart.txt" << std::endl; |
1016 |
couturad |
993 |
f << "params_post_temps.txt" << std::endl; |
1017 |
couturad |
971 |
f.close(); |
1018 |
|
|
if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str()); |
1019 |
|
|
|
1020 |
|
|
OT_PARAMETRES params_post_champ_sigma_ecart_chargement_sph; |
1021 |
|
|
ini_param_post_traitement(¶ms_post_champ_sigma_ecart_chargement_sph,MSTRUCT::TYPE_POST_TRAITEMENT::POST_CHAMP_ECART_CHARGEMENT,nb_couche_erosion,epaisseur_couche_erosion); |
1022 |
|
|
params_post_champ_sigma_ecart_chargement_sph.change_valeur("Identifiant","Champ_SIGMA_ecart_chargement_sph"); |
1023 |
|
|
params_post_champ_sigma_ecart_chargement_sph.change_valeur("Identifiant_champ","Champ_SIGMA"); |
1024 |
|
|
params_post_champ_sigma_ecart_chargement_sph.change_valeur("Type_chargement","0"); |
1025 |
|
|
params_post_champ_sigma_ecart_chargement_sph.change_valeur("Type_ecart",MSTRUCT::TYPE_COMPARAISON::ECART_RELATIF_ABSOLUE); |
1026 |
|
|
params_post_champ_sigma_ecart_chargement_sph.change_valeur("Largeur_colonne_distribution","0.1"); |
1027 |
|
|
sys_command.clear(); sys_command.append("parametre/post_traitement/params_post_champ_sigma_ecart_chargement_sph.txt"); |
1028 |
|
|
params_post_champ_sigma_ecart_chargement_sph.enregistrer((char*)sys_command.c_str()); |
1029 |
|
|
if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str()); |
1030 |
|
|
|
1031 |
|
|
OT_PARAMETRES params_post_champ_epsilon_ecart_chargement_sph; |
1032 |
|
|
ini_param_post_traitement(¶ms_post_champ_epsilon_ecart_chargement_sph,MSTRUCT::TYPE_POST_TRAITEMENT::POST_CHAMP_ECART_CHARGEMENT,nb_couche_erosion,epaisseur_couche_erosion); |
1033 |
|
|
params_post_champ_epsilon_ecart_chargement_sph.change_valeur("Identifiant","Champ_EPSILON_ecart_chargement_sph"); |
1034 |
|
|
params_post_champ_epsilon_ecart_chargement_sph.change_valeur("Identifiant_champ","Champ_EPSILON"); |
1035 |
|
|
params_post_champ_epsilon_ecart_chargement_sph.change_valeur("Type_chargement","0"); |
1036 |
|
|
params_post_champ_epsilon_ecart_chargement_sph.change_valeur("Type_ecart",MSTRUCT::TYPE_COMPARAISON::ECART_RELATIF_ABSOLUE); |
1037 |
|
|
params_post_champ_epsilon_ecart_chargement_sph.change_valeur("Largeur_colonne_distribution","0.1"); |
1038 |
|
|
sys_command.clear(); sys_command.append("parametre/post_traitement/params_post_champ_epsilon_ecart_chargement_sph.txt"); |
1039 |
|
|
params_post_champ_epsilon_ecart_chargement_sph.enregistrer((char*)sys_command.c_str()); |
1040 |
|
|
if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str()); |
1041 |
|
|
|
1042 |
|
|
sys_command.clear(); sys_command.append("parametre/post_traitement/lstparam_post_champ_meca_ecart_chargement_sph.txt"); |
1043 |
|
|
f.open(sys_command.c_str(),std::ios::out); |
1044 |
|
|
f << "// Fichier de parametres POST_TRAITEMENT" << std::endl; |
1045 |
|
|
f << "params_post_champ_sigma_ecart_chargement_sph.txt" << std::endl; |
1046 |
|
|
f << "params_post_champ_epsilon_ecart_chargement_sph.txt" << std::endl; |
1047 |
|
|
f.close(); |
1048 |
|
|
if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str()); |
1049 |
|
|
|
1050 |
|
|
OT_PARAMETRES params_post_champ_sigma_ecart_chargement_dev; |
1051 |
|
|
ini_param_post_traitement(¶ms_post_champ_sigma_ecart_chargement_dev,MSTRUCT::TYPE_POST_TRAITEMENT::POST_CHAMP_ECART_CHARGEMENT,nb_couche_erosion,epaisseur_couche_erosion); |
1052 |
|
|
params_post_champ_sigma_ecart_chargement_dev.change_valeur("Identifiant","Champ_SIGMA_ecart_chargement_dev"); |
1053 |
|
|
params_post_champ_sigma_ecart_chargement_dev.change_valeur("Identifiant_champ","Champ_SIGMA"); |
1054 |
|
|
params_post_champ_sigma_ecart_chargement_dev.change_valeur("Type_chargement","1"); |
1055 |
|
|
params_post_champ_sigma_ecart_chargement_dev.change_valeur("Type_ecart",MSTRUCT::TYPE_COMPARAISON::ECART_RELATIF_ABSOLUE); |
1056 |
|
|
params_post_champ_sigma_ecart_chargement_dev.change_valeur("Largeur_colonne_distribution","0.1"); |
1057 |
|
|
sys_command.clear(); sys_command.append("parametre/post_traitement/params_post_champ_sigma_ecart_chargement_dev.txt"); |
1058 |
|
|
params_post_champ_sigma_ecart_chargement_dev.enregistrer((char*)sys_command.c_str()); |
1059 |
|
|
if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str()); |
1060 |
|
|
|
1061 |
|
|
OT_PARAMETRES params_post_champ_epsilon_ecart_chargement_dev; |
1062 |
|
|
ini_param_post_traitement(¶ms_post_champ_epsilon_ecart_chargement_dev,MSTRUCT::TYPE_POST_TRAITEMENT::POST_CHAMP_ECART_CHARGEMENT,nb_couche_erosion,epaisseur_couche_erosion); |
1063 |
|
|
params_post_champ_epsilon_ecart_chargement_dev.change_valeur("Identifiant","Champ_EPSILON_ecart_chargement_dev"); |
1064 |
|
|
params_post_champ_epsilon_ecart_chargement_dev.change_valeur("Identifiant_champ","Champ_EPSILON"); |
1065 |
|
|
params_post_champ_epsilon_ecart_chargement_dev.change_valeur("Type_chargement","1"); |
1066 |
|
|
params_post_champ_epsilon_ecart_chargement_dev.change_valeur("Type_ecart",MSTRUCT::TYPE_COMPARAISON::ECART_RELATIF_ABSOLUE); |
1067 |
|
|
params_post_champ_epsilon_ecart_chargement_dev.change_valeur("Largeur_colonne_distribution","0.1"); |
1068 |
|
|
sys_command.clear(); sys_command.append("parametre/post_traitement/params_post_champ_epsilon_ecart_chargement_dev.txt"); |
1069 |
|
|
params_post_champ_epsilon_ecart_chargement_dev.enregistrer((char*)sys_command.c_str()); |
1070 |
|
|
if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str()); |
1071 |
|
|
|
1072 |
|
|
sys_command.clear(); sys_command.append("parametre/post_traitement/lstparam_post_champ_meca_ecart_chargement_dev.txt"); |
1073 |
|
|
f.open(sys_command.c_str(),std::ios::out); |
1074 |
|
|
f << "// Fichier de parametres POST_TRAITEMENT" << std::endl; |
1075 |
|
|
f << "params_post_champ_sigma_ecart_chargement_dev.txt" << std::endl; |
1076 |
|
|
f << "params_post_champ_epsilon_ecart_chargement_dev.txt" << std::endl; |
1077 |
|
|
f.close(); |
1078 |
|
|
if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str()); |
1079 |
|
|
|
1080 |
|
|
OT_PARAMETRES params_post_modules_elasticite; |
1081 |
|
|
ini_param_post_traitement(¶ms_post_modules_elasticite,MSTRUCT::TYPE_POST_TRAITEMENT::POST_MODULES_ELASTICITE,nb_couche_erosion,epaisseur_couche_erosion); |
1082 |
|
|
params_post_modules_elasticite.change_valeur("Identifiant_epsilon","Champ_EPSILON"); |
1083 |
|
|
params_post_modules_elasticite.change_valeur("Identifiant_sigma","Champ_SIGMA"); |
1084 |
|
|
sys_command.clear(); sys_command.append("parametre/post_traitement/params_post_modules_elasticite.txt"); |
1085 |
|
|
params_post_modules_elasticite.enregistrer((char*)sys_command.c_str()); |
1086 |
|
|
if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str()); |
1087 |
|
|
} |
1088 |
|
|
if(etude_thermique) |
1089 |
|
|
{ |
1090 |
|
|
OT_PARAMETRES params_post_champ_temp; |
1091 |
|
|
ini_param_post_traitement(¶ms_post_champ_temp,MSTRUCT::TYPE_POST_TRAITEMENT::POST_CHAMP,nb_couche_erosion,epaisseur_couche_erosion); |
1092 |
|
|
params_post_champ_temp.change_valeur("Identifiant","Champ_TEMP"); |
1093 |
|
|
params_post_champ_temp.change_valeur("Num_solution",0); |
1094 |
|
|
params_post_champ_temp.change_valeur("Largeur_colonne_distribution","0.01"); |
1095 |
|
|
sys_command.clear(); sys_command.append("parametre/post_traitement/params_post_champ_temp.txt"); |
1096 |
|
|
params_post_champ_temp.enregistrer((char*)sys_command.c_str()); |
1097 |
|
|
if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str()); |
1098 |
|
|
|
1099 |
|
|
OT_PARAMETRES params_post_champ_temp_normalise; |
1100 |
|
|
ini_param_post_traitement(¶ms_post_champ_temp_normalise,MSTRUCT::TYPE_POST_TRAITEMENT::POST_CHAMP_NORMALISE,nb_couche_erosion,epaisseur_couche_erosion); |
1101 |
|
|
params_post_champ_temp_normalise.change_valeur("Identifiant","Champ_TEMP_normalise"); |
1102 |
|
|
params_post_champ_temp_normalise.change_valeur("Identifiant_champ","Champ_TEMP"); |
1103 |
couturad |
982 |
params_post_champ_temp_normalise.change_valeur("Identifiant_champ_reference","Champ_TEMP"); |
1104 |
couturad |
971 |
params_post_champ_temp_normalise.change_valeur("Num_solution",0); |
1105 |
|
|
params_post_champ_temp_normalise.change_valeur("Largeur_colonne_distribution","1e-06"); |
1106 |
|
|
sys_command.clear(); sys_command.append("parametre/post_traitement/params_post_champ_temp_normalise.txt"); |
1107 |
|
|
params_post_champ_temp_normalise.enregistrer((char*)sys_command.c_str()); |
1108 |
|
|
if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str()); |
1109 |
|
|
|
1110 |
|
|
OT_PARAMETRES params_post_champ_flux; |
1111 |
|
|
ini_param_post_traitement(¶ms_post_champ_flux,MSTRUCT::TYPE_POST_TRAITEMENT::POST_CHAMP,nb_couche_erosion,epaisseur_couche_erosion); |
1112 |
|
|
params_post_champ_flux.change_valeur("Identifiant","Champ_FLUX"); |
1113 |
|
|
params_post_champ_flux.change_valeur("Num_solution",1); |
1114 |
|
|
params_post_champ_flux.change_valeur("Largeur_colonne_distribution","0.01"); |
1115 |
|
|
sys_command.clear(); sys_command.append("parametre/post_traitement/params_post_champ_flux.txt"); |
1116 |
|
|
params_post_champ_flux.enregistrer((char*)sys_command.c_str()); |
1117 |
|
|
if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str()); |
1118 |
|
|
|
1119 |
|
|
OT_PARAMETRES params_post_champ_flux_normalise; |
1120 |
|
|
ini_param_post_traitement(¶ms_post_champ_flux_normalise,MSTRUCT::TYPE_POST_TRAITEMENT::POST_CHAMP_NORMALISE,nb_couche_erosion,epaisseur_couche_erosion); |
1121 |
|
|
params_post_champ_flux_normalise.change_valeur("Identifiant","Champ_FLUX_normalise"); |
1122 |
|
|
params_post_champ_flux_normalise.change_valeur("Identifiant_champ","Champ_FLUX"); |
1123 |
couturad |
982 |
params_post_champ_flux_normalise.change_valeur("Identifiant_champ_reference","Champ_FLUX"); |
1124 |
couturad |
971 |
params_post_champ_flux_normalise.change_valeur("Num_solution",0); |
1125 |
|
|
params_post_champ_flux_normalise.change_valeur("Largeur_colonne_distribution","1e-06"); |
1126 |
|
|
sys_command.clear(); sys_command.append("parametre/post_traitement/params_post_champ_flux_normalise.txt"); |
1127 |
|
|
params_post_champ_flux_normalise.enregistrer((char*)sys_command.c_str()); |
1128 |
|
|
if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str()); |
1129 |
|
|
|
1130 |
couturad |
982 |
OT_PARAMETRES params_post_conductivite_thermique_x; |
1131 |
|
|
ini_param_post_traitement(¶ms_post_conductivite_thermique_x,MSTRUCT::TYPE_POST_TRAITEMENT::POST_CONDUCTIVITE_THERMIQUE,nb_couche_erosion,epaisseur_couche_erosion); |
1132 |
|
|
params_post_conductivite_thermique_x.change_valeur("Identifiant","Conductivite_thermique"); |
1133 |
|
|
params_post_conductivite_thermique_x.change_valeur("Num_solution_temp","0"); |
1134 |
|
|
params_post_conductivite_thermique_x.change_valeur("Num_solution_flux","1"); |
1135 |
|
|
params_post_conductivite_thermique_x.change_valeur("Direction","0"); |
1136 |
|
|
sys_command.clear(); sys_command.append("parametre/post_traitement/params_post_conductivite_thermique_x.txt"); |
1137 |
|
|
params_post_conductivite_thermique_x.enregistrer((char*)sys_command.c_str()); |
1138 |
|
|
if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str()); |
1139 |
|
|
|
1140 |
|
|
OT_PARAMETRES params_post_conductivite_thermique_y; |
1141 |
|
|
ini_param_post_traitement(¶ms_post_conductivite_thermique_y,MSTRUCT::TYPE_POST_TRAITEMENT::POST_CONDUCTIVITE_THERMIQUE,nb_couche_erosion,epaisseur_couche_erosion); |
1142 |
|
|
params_post_conductivite_thermique_y.change_valeur("Identifiant","Conductivite_thermique"); |
1143 |
|
|
params_post_conductivite_thermique_y.change_valeur("Num_solution_temp","0"); |
1144 |
|
|
params_post_conductivite_thermique_y.change_valeur("Num_solution_flux","1"); |
1145 |
|
|
params_post_conductivite_thermique_y.change_valeur("Direction","1"); |
1146 |
|
|
sys_command.clear(); sys_command.append("parametre/post_traitement/params_post_conductivite_thermique_y.txt"); |
1147 |
|
|
params_post_conductivite_thermique_y.enregistrer((char*)sys_command.c_str()); |
1148 |
|
|
if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str()); |
1149 |
|
|
|
1150 |
|
|
OT_PARAMETRES params_post_conductivite_thermique_z; |
1151 |
|
|
ini_param_post_traitement(¶ms_post_conductivite_thermique_z,MSTRUCT::TYPE_POST_TRAITEMENT::POST_CONDUCTIVITE_THERMIQUE,nb_couche_erosion,epaisseur_couche_erosion); |
1152 |
|
|
params_post_conductivite_thermique_z.change_valeur("Identifiant","Conductivite_thermique"); |
1153 |
|
|
params_post_conductivite_thermique_z.change_valeur("Num_solution_temp","0"); |
1154 |
|
|
params_post_conductivite_thermique_z.change_valeur("Num_solution_flux","1"); |
1155 |
|
|
params_post_conductivite_thermique_z.change_valeur("Direction","2"); |
1156 |
|
|
sys_command.clear(); sys_command.append("parametre/post_traitement/params_post_conductivite_thermique_z.txt"); |
1157 |
|
|
params_post_conductivite_thermique_z.enregistrer((char*)sys_command.c_str()); |
1158 |
|
|
if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str()); |
1159 |
|
|
|
1160 |
couturad |
971 |
OT_PARAMETRES params_post_conductivite_thermique; |
1161 |
|
|
ini_param_post_traitement(¶ms_post_conductivite_thermique,MSTRUCT::TYPE_POST_TRAITEMENT::POST_CONDUCTIVITE_THERMIQUE,nb_couche_erosion,epaisseur_couche_erosion); |
1162 |
couturad |
982 |
params_post_conductivite_thermique.change_valeur("Identifiant","Conductivite_thermique"); |
1163 |
couturad |
971 |
sys_command.clear(); sys_command.append("parametre/post_traitement/params_post_conductivite_thermique.txt"); |
1164 |
|
|
params_post_conductivite_thermique.enregistrer((char*)sys_command.c_str()); |
1165 |
couturad |
982 |
if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str()); |
1166 |
couturad |
971 |
|
1167 |
|
|
sys_command.clear(); sys_command.append("parametre/post_traitement/lstparam_post_champ_ther.txt"); |
1168 |
|
|
f.open(sys_command.c_str(),std::ios::out); |
1169 |
|
|
f << "// Fichier de parametres POST_TRAITEMENT" << std::endl; |
1170 |
|
|
f << "params_post_champ_temp.txt" << std::endl; |
1171 |
|
|
f << "params_post_champ_temp_normalise.txt" << std::endl; |
1172 |
|
|
f << "params_post_champ_flux.txt" << std::endl; |
1173 |
|
|
f << "params_post_champ_flux_normalise.txt" << std::endl; |
1174 |
couturad |
993 |
f << "params_post_temps.txt" << std::endl; |
1175 |
couturad |
971 |
f.close(); |
1176 |
|
|
if(fonc_affiche!=NULL) fonc_affiche((char*)sys_command.c_str()); |
1177 |
|
|
} |
1178 |
couturad |
993 |
|
1179 |
couturad |
968 |
|
1180 |
couturad |
919 |
return OK; |
1181 |
|
|
} |
1182 |
|
|
|
1183 |
couturad |
971 |
int PARAMETRES::generer_script_ves(bool etude_mecanique, |
1184 |
|
|
bool etude_thermique, |
1185 |
|
|
int type_inclusion, |
1186 |
|
|
bool fem_maill_lin, |
1187 |
|
|
bool fem_maill_quad, |
1188 |
|
|
fonction_affiche *fonc_affiche) |
1189 |
couturad |
929 |
{ |
1190 |
couturad |
951 |
std::ofstream ofstrm((char*)"generer_nb_ves",std::ios::out|std::ios::trunc); |
1191 |
couturad |
929 |
ofstrm.precision(16); |
1192 |
|
|
ofstrm.setf(std::ios::showpoint); |
1193 |
|
|
ofstrm << "#!/bin/bash" << std::endl; |
1194 |
|
|
ofstrm << "INDEX_DEPART=$1" << std::endl; |
1195 |
|
|
ofstrm << "INDEX_FIN=$2" << std::endl; |
1196 |
couturad |
968 |
ofstrm << "CHEMINCOMPILE=$3" << std::endl; |
1197 |
couturad |
929 |
ofstrm << "if [ -z ${INDEX_DEPART// } ]" << std::endl; |
1198 |
|
|
ofstrm << "then" << std::endl; |
1199 |
|
|
ofstrm << " echo \"Erreur : Numero du ves de depart manquant\"" << std::endl; |
1200 |
|
|
ofstrm << " exit" << std::endl; |
1201 |
|
|
ofstrm << "fi" << std::endl; |
1202 |
|
|
ofstrm << "if [ -z ${INDEX_FIN// } ]" << std::endl; |
1203 |
|
|
ofstrm << "then" << std::endl; |
1204 |
|
|
ofstrm << " echo \"Erreur : Numero du ves de fin manquant\"" << std::endl; |
1205 |
|
|
ofstrm << " exit" << std::endl; |
1206 |
|
|
ofstrm << "fi" << std::endl; |
1207 |
|
|
ofstrm << "if [ -z ${CHEMINCOMPILE// } ]" << std::endl; |
1208 |
|
|
ofstrm << "then" << std::endl; |
1209 |
couturad |
958 |
ofstrm << " if [ -z $PATHMAGICEXEAPP ]" << std::endl; |
1210 |
|
|
ofstrm << " then" << std::endl; |
1211 |
|
|
ofstrm << " echo \"Erreur : Chemin vers exe/app manquant\"" << std::endl; |
1212 |
|
|
ofstrm << " exit" << std::endl; |
1213 |
|
|
ofstrm << " else" << std::endl; |
1214 |
|
|
ofstrm << " CHEMINCOMPILE=$PATHMAGICEXEAPP" << std::endl; |
1215 |
|
|
ofstrm << " fi" << std::endl; |
1216 |
couturad |
929 |
ofstrm << "fi" << std::endl; |
1217 |
|
|
ofstrm << "function executer" << std::endl; |
1218 |
|
|
ofstrm << "{" << std::endl; |
1219 |
|
|
ofstrm << "OPERATION_REUSSIE=1;" << std::endl; |
1220 |
|
|
ofstrm << "$*" << std::endl; |
1221 |
|
|
ofstrm << "VAR=$?" << std::endl; |
1222 |
|
|
ofstrm << "if (( $VAR )) ; then " << std::endl; |
1223 |
|
|
ofstrm << " OPERATION_REUSSIE=0; " << std::endl; |
1224 |
|
|
ofstrm << " STAT=$VAR;" << std::endl; |
1225 |
|
|
ofstrm << "fi" << std::endl; |
1226 |
|
|
ofstrm << "}" << std::endl; |
1227 |
|
|
ofstrm << "" << std::endl; |
1228 |
|
|
ofstrm << "echo \"*********************************************************\"" << std::endl; |
1229 |
|
|
ofstrm << "echo \"Generation des microstructures $INDEX_DEPART - $INDEX_FIN\"" << std::endl; |
1230 |
|
|
ofstrm << "echo \"*********************************************************\"" << std::endl; |
1231 |
|
|
ofstrm << "STAT=$?" << std::endl; |
1232 |
|
|
ofstrm << "" << std::endl; |
1233 |
|
|
ofstrm << "if [ $INDEX_DEPART -eq 1 ]" << std::endl; |
1234 |
|
|
ofstrm << "then" << std::endl; |
1235 |
|
|
ofstrm << "mkdir etude" << std::endl; |
1236 |
|
|
ofstrm << "fi" << std::endl; |
1237 |
|
|
ofstrm << "cd etude" << std::endl; |
1238 |
|
|
ofstrm << "for (( k=$INDEX_DEPART; k<=$INDEX_FIN; k++ ))" << std::endl; |
1239 |
|
|
ofstrm << "do" << std::endl; |
1240 |
|
|
ofstrm << " echo \"Microstructure #$k\"" << std::endl; |
1241 |
|
|
ofstrm << " mkdir e$k" << std::endl; |
1242 |
|
|
ofstrm << " cd e$k" << std::endl; |
1243 |
|
|
ofstrm << " OPERATION_REUSSIE=0" << std::endl; |
1244 |
|
|
ofstrm << " until [ $OPERATION_REUSSIE -eq 1 ]; do" << std::endl; |
1245 |
couturad |
968 |
ofstrm << " executer ../../ves $CHEMINCOMPILE" << std::endl; |
1246 |
couturad |
929 |
ofstrm << " done" << std::endl; |
1247 |
couturad |
968 |
ofstrm << " DOSSIER_ACTUEL=$(pwd)" << std::endl; |
1248 |
couturad |
929 |
ofstrm << " cd .." << std::endl; |
1249 |
|
|
ofstrm << "done" << std::endl; |
1250 |
|
|
ofstrm << "cd .." << std::endl; |
1251 |
|
|
ofstrm << "echo \"**********************\"" << std::endl; |
1252 |
|
|
ofstrm << "echo \" FIN \"" << std::endl; |
1253 |
|
|
ofstrm << "echo \"**********************\"" << std::endl; |
1254 |
|
|
ofstrm << "exit $STAT" << std::endl; |
1255 |
|
|
ofstrm.close(); |
1256 |
couturad |
964 |
if(fonc_affiche!=NULL) fonc_affiche((char*)"generer_nb_ves"); |
1257 |
couturad |
929 |
system((char*)"chmod 744 generer_nb_ves"); |
1258 |
|
|
|
1259 |
couturad |
1029 |
|
1260 |
|
|
ofstrm.open((char*)"generer_ves_para",std::ios::out|std::ios::trunc); |
1261 |
|
|
ofstrm.precision(16); |
1262 |
|
|
ofstrm.setf(std::ios::showpoint); |
1263 |
|
|
ofstrm << "#!/bin/bash" << std::endl; |
1264 |
|
|
ofstrm << "CHEMINCOMPILE=$1" << std::endl; |
1265 |
|
|
ofstrm << "if [ -z ${CHEMINCOMPILE// } ]" << std::endl; |
1266 |
|
|
ofstrm << "then" << std::endl; |
1267 |
|
|
ofstrm << " if [ -z $PATHMAGICEXEAPP ]" << std::endl; |
1268 |
|
|
ofstrm << " then" << std::endl; |
1269 |
|
|
ofstrm << " echo \"Erreur : Chemin vers exe/app manquant\"" << std::endl; |
1270 |
|
|
ofstrm << " exit" << std::endl; |
1271 |
|
|
ofstrm << " else" << std::endl; |
1272 |
|
|
ofstrm << " CHEMINCOMPILE=$PATHMAGICEXEAPP" << std::endl; |
1273 |
|
|
ofstrm << " fi" << std::endl; |
1274 |
|
|
ofstrm << "fi" << std::endl; |
1275 |
|
|
ofstrm << "" << std::endl; |
1276 |
|
|
ofstrm << "function executer" << std::endl; |
1277 |
|
|
ofstrm << "{" << std::endl; |
1278 |
|
|
ofstrm << "OPERATION_REUSSIE=1;" << std::endl; |
1279 |
|
|
ofstrm << "$*" << std::endl; |
1280 |
|
|
ofstrm << "VAR=$?" << std::endl; |
1281 |
|
|
ofstrm << "if (( $VAR )) ; then " << std::endl; |
1282 |
|
|
ofstrm << " OPERATION_REUSSIE=0; " << std::endl; |
1283 |
|
|
ofstrm << " STAT=$VAR;" << std::endl; |
1284 |
|
|
ofstrm << "fi" << std::endl; |
1285 |
|
|
ofstrm << "}" << std::endl; |
1286 |
|
|
ofstrm << "" << std::endl; |
1287 |
|
|
ofstrm << "OPERATION_REUSSIE=0" << std::endl; |
1288 |
|
|
ofstrm << "until [ $OPERATION_REUSSIE -eq 1 ]; do" << std::endl; |
1289 |
|
|
ofstrm << "executer ../../ves $CHEMINCOMPILE" << std::endl; |
1290 |
|
|
ofstrm << "done" << std::endl; |
1291 |
|
|
ofstrm << "exit $STAT" << std::endl; |
1292 |
|
|
ofstrm.close(); |
1293 |
|
|
if(fonc_affiche!=NULL) fonc_affiche((char*)"generer_ves_para"); |
1294 |
|
|
system((char*)"chmod 744 generer_ves_para"); |
1295 |
|
|
|
1296 |
|
|
|
1297 |
couturad |
929 |
ofstrm.open((char*)"ves",std::ios::out|std::ios::trunc); |
1298 |
|
|
ofstrm.precision(16); |
1299 |
|
|
ofstrm.setf(std::ios::showpoint); |
1300 |
|
|
ofstrm << "#!/bin/bash" << std::endl; |
1301 |
couturad |
968 |
ofstrm << "CHEMINCOMPILE=$1" << std::endl; |
1302 |
couturad |
929 |
ofstrm << "function executer" << std::endl; |
1303 |
|
|
ofstrm << "{" << std::endl; |
1304 |
couturad |
993 |
ofstrm << "op=$*" << std::endl; |
1305 |
couturad |
929 |
ofstrm << "$*" << std::endl; |
1306 |
|
|
ofstrm << "VAR=$?" << std::endl; |
1307 |
|
|
ofstrm << "if (( $VAR )) ; then " << std::endl; |
1308 |
|
|
ofstrm << " STATUSTXT=\"ERREUR dans les tests\"; " << std::endl; |
1309 |
|
|
ofstrm << " STAT=$VAR;" << std::endl; |
1310 |
couturad |
993 |
ofstrm << " echo $op $(date) >> ../../log_erreur.txt" << std::endl; |
1311 |
couturad |
929 |
ofstrm << " exit $STAT" << std::endl; |
1312 |
|
|
ofstrm << "fi" << std::endl; |
1313 |
|
|
ofstrm << "}" << std::endl; |
1314 |
|
|
ofstrm << "STATUSTXT=\"Test sans ERREUR\"" << std::endl; |
1315 |
|
|
ofstrm << "echo \"*******************************\"" << std::endl; |
1316 |
|
|
ofstrm << "echo \"Generation d'une microstructure\"" << std::endl; |
1317 |
|
|
ofstrm << "echo \"*******************************\"" << std::endl; |
1318 |
|
|
ofstrm << "STAT=$?" << std::endl; |
1319 |
couturad |
951 |
ofstrm << "" << std::endl; |
1320 |
|
|
ofstrm << "#Geometrie" << std::endl; |
1321 |
couturad |
968 |
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_geo -ves_out ves_geo.ves -lstparam ../../parametre/geometrie/lstparam_geo.txt" << std::endl; |
1322 |
couturad |
951 |
ofstrm << "executer $CHEMINCOMPILE/mgoperation/mgoperation.exe -brep_out -in ves_geo.magic -out ves_brep.brep" << std::endl; |
1323 |
couturad |
968 |
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_post_traitement -ves_in ves_geo.ves -ves_out ves_geo_post.ves -lstparam ../../parametre/post_traitement/lstparam_post_geometrie.txt" << std::endl; |
1324 |
couturad |
951 |
ofstrm << "" << std::endl; |
1325 |
|
|
ofstrm << "#Materiau" << std::endl; |
1326 |
couturad |
968 |
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_mat -ves_in ves_geo.ves -ves_out ves_mat.ves -lstparam ../../parametre/materiau/lstparam_mat.txt" << std::endl; |
1327 |
couturad |
951 |
ofstrm << "" << std::endl; |
1328 |
|
|
ofstrm << "#Carte" << std::endl; |
1329 |
couturad |
968 |
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_carte -ves_in ves_mat.ves -ves_out ves_carte.ves -param ../../parametre/carte/param_carte.txt" << std::endl; |
1330 |
couturad |
929 |
ofstrm << "" << std::endl; |
1331 |
couturad |
951 |
ofstrm << "#MG Maillage" << std::endl; |
1332 |
couturad |
968 |
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_mg_maill -ves_in ves_carte.ves -ves_out ves_mg_maill.ves -param ../../parametre/maillage/param_maill.txt -carte carte.ctt" << std::endl; |
1333 |
|
|
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_post_traitement -ves_in ves_mg_maill.ves -ves_out ves_mg_maill_post.ves -lstparam ../../parametre/post_traitement/lstparam_post_mg_maillage.txt" << std::endl; |
1334 |
couturad |
951 |
ofstrm << "executer $CHEMINCOMPILE/mgoperation/mgoperation.exe -gmsh -in ves_mg_maill.magic" << std::endl; |
1335 |
couturad |
929 |
ofstrm << "" << std::endl; |
1336 |
couturad |
951 |
ofstrm << "#Fem Maillage" << std::endl; |
1337 |
|
|
if(fem_maill_lin) |
1338 |
|
|
{ |
1339 |
couturad |
968 |
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_fem_maill -ves_in ves_mg_maill.ves -ves_out ves_fem_maill_lin.ves -param ../../parametre/fem_maillage/param_fem_maill_lin.txt" << std::endl; |
1340 |
|
|
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_post_traitement -ves_in ves_fem_maill_lin.ves -ves_out ves_fem_maill_post_lin.ves -lstparam ../../parametre/post_traitement/lstparam_post_fem_maillage.txt" << std::endl; |
1341 |
couturad |
951 |
} |
1342 |
|
|
if(fem_maill_quad) |
1343 |
|
|
{ |
1344 |
couturad |
968 |
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_fem_maill -ves_in ves_mg_maill.ves -ves_out ves_fem_maill_quad.ves -param ../../parametre/fem_maillage/param_fem_maill_quad.txt" << std::endl; |
1345 |
|
|
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_post_traitement -ves_in ves_fem_maill_quad.ves -ves_out ves_fem_maill_post_quad.ves -lstparam ../../parametre/post_traitement/lstparam_post_fem_maillage.txt" << std::endl; |
1346 |
couturad |
951 |
} |
1347 |
couturad |
929 |
ofstrm << "" << std::endl; |
1348 |
couturad |
951 |
ofstrm << "#Etude" << std::endl; |
1349 |
|
|
if(fem_maill_lin) |
1350 |
|
|
{ |
1351 |
couturad |
971 |
if(etude_mecanique) |
1352 |
|
|
{ |
1353 |
|
|
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_etude -ves_in ves_fem_maill_lin.ves -ves_out ves_etude_CLDH_sph_lin.ves -param ../../parametre/etude/param_etude_CLDH_sph.txt" << std::endl; |
1354 |
|
|
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_etude -ves_in ves_fem_maill_lin.ves -ves_out ves_etude_CLCH_sph_lin.ves -param ../../parametre/etude/param_etude_CLCH_sph.txt" << std::endl; |
1355 |
|
|
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_etude -ves_in ves_fem_maill_lin.ves -ves_out ves_etude_CLDH_dev_lin.ves -param ../../parametre/etude/param_etude_CLDH_dev.txt" << std::endl; |
1356 |
|
|
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_etude -ves_in ves_fem_maill_lin.ves -ves_out ves_etude_CLCH_dev_lin.ves -param ../../parametre/etude/param_etude_CLCH_dev.txt" << std::endl; |
1357 |
|
|
} |
1358 |
|
|
if(etude_thermique) |
1359 |
|
|
{ |
1360 |
|
|
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_etude -ves_in ves_fem_maill_lin.ves -ves_out ves_etude_CLG_x_lin.ves -param ../../parametre/etude/params_etude_CLG_x.txt" << std::endl; |
1361 |
|
|
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_etude -ves_in ves_fem_maill_lin.ves -ves_out ves_etude_CLG_y_lin.ves -param ../../parametre/etude/params_etude_CLG_y.txt" << std::endl; |
1362 |
|
|
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_etude -ves_in ves_fem_maill_lin.ves -ves_out ves_etude_CLG_z_lin.ves -param ../../parametre/etude/params_etude_CLG_z.txt" << std::endl; |
1363 |
|
|
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_etude -ves_in ves_fem_maill_lin.ves -ves_out ves_etude_CLF_x_lin.ves -param ../../parametre/etude/params_etude_CLF_x.txt" << std::endl; |
1364 |
|
|
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_etude -ves_in ves_fem_maill_lin.ves -ves_out ves_etude_CLF_y_lin.ves -param ../../parametre/etude/params_etude_CLF_y.txt" << std::endl; |
1365 |
|
|
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_etude -ves_in ves_fem_maill_lin.ves -ves_out ves_etude_CLF_z_lin.ves -param ../../parametre/etude/params_etude_CLF_z.txt" << std::endl; |
1366 |
|
|
} |
1367 |
couturad |
951 |
} |
1368 |
|
|
if(fem_maill_quad) |
1369 |
|
|
{ |
1370 |
couturad |
971 |
if(etude_mecanique) |
1371 |
|
|
{ |
1372 |
|
|
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_etude -ves_in ves_fem_maill_quad.ves -ves_out ves_etude_CLDH_sph_quad.ves -param ../../parametre/etude/param_etude_CLDH_sph.txt" << std::endl; |
1373 |
|
|
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_etude -ves_in ves_fem_maill_quad.ves -ves_out ves_etude_CLCH_sph_quad.ves -param ../../parametre/etude/param_etude_CLCH_sph.txt" << std::endl; |
1374 |
|
|
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_etude -ves_in ves_fem_maill_quad.ves -ves_out ves_etude_CLDH_dev_quad.ves -param ../../parametre/etude/param_etude_CLDH_dev.txt" << std::endl; |
1375 |
|
|
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_etude -ves_in ves_fem_maill_quad.ves -ves_out ves_etude_CLCH_dev_quad.ves -param ../../parametre/etude/param_etude_CLCH_dev.txt" << std::endl; |
1376 |
|
|
} |
1377 |
|
|
if(etude_thermique) |
1378 |
|
|
{ |
1379 |
|
|
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_etude -ves_in ves_fem_maill_quad.ves -ves_out ves_etude_CLG_x_quad.ves -param ../../parametre/etude/params_etude_CLG_x.txt" << std::endl; |
1380 |
|
|
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_etude -ves_in ves_fem_maill_quad.ves -ves_out ves_etude_CLG_y_quad.ves -param ../../parametre/etude/params_etude_CLG_y.txt" << std::endl; |
1381 |
|
|
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_etude -ves_in ves_fem_maill_quad.ves -ves_out ves_etude_CLG_z_quad.ves -param ../../parametre/etude/params_etude_CLG_z.txt" << std::endl; |
1382 |
|
|
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_etude -ves_in ves_fem_maill_quad.ves -ves_out ves_etude_CLF_x_quad.ves -param ../../parametre/etude/params_etude_CLF_x.txt" << std::endl; |
1383 |
|
|
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_etude -ves_in ves_fem_maill_quad.ves -ves_out ves_etude_CLF_y_quad.ves -param ../../parametre/etude/params_etude_CLF_y.txt" << std::endl; |
1384 |
|
|
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_etude -ves_in ves_fem_maill_quad.ves -ves_out ves_etude_CLF_z_quad.ves -param ../../parametre/etude/params_etude_CLF_z.txt" << std::endl; |
1385 |
|
|
|
1386 |
|
|
} |
1387 |
couturad |
951 |
} |
1388 |
couturad |
929 |
ofstrm << "" << std::endl; |
1389 |
couturad |
951 |
ofstrm << "#Calcul" << std::endl; |
1390 |
|
|
if(fem_maill_lin) |
1391 |
|
|
{ |
1392 |
couturad |
971 |
if(etude_mecanique) |
1393 |
|
|
{ |
1394 |
|
|
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_calcul -ves_in ves_etude_CLDH_sph_lin.ves -ves_out ves_calcul_CLDH_sph_lin.ves -param ../../parametre/etude/param_etude_CLDH_sph.txt -paramaster ../../parametre/etude/param_aster.txt" << std::endl; |
1395 |
|
|
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_post_traitement -ves_in ves_calcul_CLDH_sph_lin.ves -ves_out ves_calcul_CLDH_sph_post_lin.ves -lstparam ../../parametre/post_traitement/lstparam_post_champ_meca.txt" << std::endl; |
1396 |
|
|
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_post_traitement -ves_in ves_calcul_CLDH_sph_post_lin.ves -ves_out ves_calcul_CLDH_sph_ecart_chargement_post_lin.ves -lstparam ../../parametre/post_traitement/lstparam_post_champ_meca_ecart_chargement_sph.txt" << std::endl; |
1397 |
|
|
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_calcul -ves_in ves_etude_CLCH_sph_lin.ves -ves_out ves_calcul_CLCH_sph_lin.ves -param ../../parametre/etude/param_etude_CLCH_sph.txt -paramaster ../../parametre/etude/param_aster.txt" << std::endl; |
1398 |
|
|
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_post_traitement -ves_in ves_calcul_CLCH_sph_lin.ves -ves_out ves_calcul_CLCH_sph_post_lin.ves -lstparam ../../parametre/post_traitement/lstparam_post_champ_meca.txt" << std::endl; |
1399 |
|
|
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_post_traitement -ves_in ves_calcul_CLCH_sph_post_lin.ves -ves_out ves_calcul_CLCH_sph_ecart_chargement_post_lin.ves -lstparam ../../parametre/post_traitement/lstparam_post_champ_meca_ecart_chargement_sph.txt" << std::endl; |
1400 |
|
|
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_calcul -ves_in ves_etude_CLDH_dev_lin.ves -ves_out ves_calcul_CLDH_dev_lin.ves -param ../../parametre/etude/param_etude_CLDH_dev.txt -paramaster ../../parametre/etude/param_aster.txt" << std::endl; |
1401 |
|
|
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_post_traitement -ves_in ves_calcul_CLDH_dev_lin.ves -ves_out ves_calcul_CLDH_dev_post_lin.ves -lstparam ../../parametre/post_traitement/lstparam_post_champ_meca.txt" << std::endl; |
1402 |
|
|
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_post_traitement -ves_in ves_calcul_CLDH_dev_post_lin.ves -ves_out ves_calcul_CLDH_dev_ecart_chargement_post_lin.ves -lstparam ../../parametre/post_traitement/lstparam_post_champ_meca_ecart_chargement_dev.txt" << std::endl; |
1403 |
|
|
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_calcul -ves_in ves_etude_CLCH_dev_lin.ves -ves_out ves_calcul_CLCH_dev_lin.ves -param ../../parametre/etude/param_etude_CLCH_dev.txt -paramaster ../../parametre/etude/param_aster.txt" << std::endl; |
1404 |
|
|
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_post_traitement -ves_in ves_calcul_CLCH_dev_lin.ves -ves_out ves_calcul_CLCH_dev_post_lin.ves -lstparam ../../parametre/post_traitement/lstparam_post_champ_meca.txt" << std::endl; |
1405 |
|
|
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_post_traitement -ves_in ves_calcul_CLCH_dev_post_lin.ves -ves_out ves_calcul_CLCH_dev_ecart_chargement_post_lin.ves -lstparam ../../parametre/post_traitement/lstparam_post_champ_meca_ecart_chargement_dev.txt" << std::endl; |
1406 |
|
|
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_post_traitement -ves_sph ves_calcul_CLDH_sph_post_lin.ves -ves_dev ves_calcul_CLDH_dev_post_lin.ves -ves_out ves_CLDH_modules_elasticite_post_lin.ves -param ../../parametre/post_traitement/params_post_modules_elasticite.txt" << std::endl; |
1407 |
|
|
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_post_traitement -ves_sph ves_calcul_CLCH_sph_post_lin.ves -ves_dev ves_calcul_CLCH_dev_post_lin.ves -ves_out ves_CLCH_modules_elasticite_post_lin.ves -param ../../parametre/post_traitement/params_post_modules_elasticite.txt" << std::endl; |
1408 |
|
|
} |
1409 |
|
|
if(etude_thermique) |
1410 |
|
|
{ |
1411 |
|
|
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_calcul -ves_in ves_etude_CLG_x_lin.ves -ves_out ves_calcul_CLG_x_lin.ves -param ../../parametre/etude/params_etude_CLG_x.txt -paramaster ../../parametre/etude/param_aster.txt" << std::endl; |
1412 |
|
|
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_post_traitement -ves_in ves_calcul_CLG_x_lin.ves -ves_out ves_calcul_CLG_x_post_lin.ves -lstparam ../../parametre/post_traitement/lstparam_post_champ_ther.txt" << std::endl; |
1413 |
couturad |
982 |
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_post_traitement -ves_in ves_calcul_CLG_x_post_lin.ves -ves_out ves_calcul_CLG_x_post_lin.ves -param ../../parametre/post_traitement/params_post_conductivite_thermique_x.txt" << std::endl; |
1414 |
couturad |
971 |
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_calcul -ves_in ves_etude_CLG_y_lin.ves -ves_out ves_calcul_CLG_y_lin.ves -param ../../parametre/etude/params_etude_CLG_y.txt -paramaster ../../parametre/etude/param_aster.txt" << std::endl; |
1415 |
|
|
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_post_traitement -ves_in ves_calcul_CLG_y_lin.ves -ves_out ves_calcul_CLG_y_post_lin.ves -lstparam ../../parametre/post_traitement/lstparam_post_champ_ther.txt" << std::endl; |
1416 |
couturad |
982 |
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_post_traitement -ves_in ves_calcul_CLG_y_post_lin.ves -ves_out ves_calcul_CLG_y_post_lin.ves -param ../../parametre/post_traitement/params_post_conductivite_thermique_y.txt" << std::endl; |
1417 |
couturad |
971 |
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_calcul -ves_in ves_etude_CLG_z_lin.ves -ves_out ves_calcul_CLG_z_lin.ves -param ../../parametre/etude/params_etude_CLG_z.txt -paramaster ../../parametre/etude/param_aster.txt" << std::endl; |
1418 |
|
|
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_post_traitement -ves_in ves_calcul_CLG_z_lin.ves -ves_out ves_calcul_CLG_z_post_lin.ves -lstparam ../../parametre/post_traitement/lstparam_post_champ_ther.txt" << std::endl; |
1419 |
couturad |
982 |
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_post_traitement -ves_in ves_calcul_CLG_z_post_lin.ves -ves_out ves_calcul_CLG_z_post_lin.ves -param ../../parametre/post_traitement/params_post_conductivite_thermique_z.txt" << std::endl; |
1420 |
couturad |
971 |
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_calcul -ves_in ves_etude_CLF_x_lin.ves -ves_out ves_calcul_CLF_x_lin.ves -param ../../parametre/etude/params_etude_CLF_x.txt -paramaster ../../parametre/etude/param_aster.txt" << std::endl; |
1421 |
|
|
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_post_traitement -ves_in ves_calcul_CLF_x_lin.ves -ves_out ves_calcul_CLF_x_post_lin.ves -lstparam ../../parametre/post_traitement/lstparam_post_champ_ther.txt" << std::endl; |
1422 |
couturad |
982 |
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_post_traitement -ves_in ves_calcul_CLF_x_post_lin.ves -ves_out ves_calcul_CLF_x_post_lin.ves -param ../../parametre/post_traitement/params_post_conductivite_thermique_x.txt" << std::endl; |
1423 |
couturad |
971 |
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_calcul -ves_in ves_etude_CLF_y_lin.ves -ves_out ves_calcul_CLF_y_lin.ves -param ../../parametre/etude/params_etude_CLF_y.txt -paramaster ../../parametre/etude/param_aster.txt" << std::endl; |
1424 |
|
|
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_post_traitement -ves_in ves_calcul_CLF_y_lin.ves -ves_out ves_calcul_CLF_y_post_lin.ves -lstparam ../../parametre/post_traitement/lstparam_post_champ_ther.txt" << std::endl; |
1425 |
couturad |
982 |
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_post_traitement -ves_in ves_calcul_CLF_y_post_lin.ves -ves_out ves_calcul_CLF_y_post_lin.ves -param ../../parametre/post_traitement/params_post_conductivite_thermique_y.txt" << std::endl; |
1426 |
couturad |
971 |
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_calcul -ves_in ves_etude_CLF_z_lin.ves -ves_out ves_calcul_CLF_z_lin.ves -param ../../parametre/etude/params_etude_CLF_z.txt -paramaster ../../parametre/etude/param_aster.txt" << std::endl; |
1427 |
|
|
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_post_traitement -ves_in ves_calcul_CLF_z_lin.ves -ves_out ves_calcul_CLF_z_post_lin.ves -lstparam ../../parametre/post_traitement/lstparam_post_champ_ther.txt" << std::endl; |
1428 |
couturad |
982 |
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_post_traitement -ves_in ves_calcul_CLF_z_post_lin.ves -ves_out ves_calcul_CLF_z_post_lin.ves -param ../../parametre/post_traitement/params_post_conductivite_thermique_z.txt" << std::endl; |
1429 |
couturad |
971 |
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_post_traitement -ves_lambda_x ves_calcul_CLG_x_post_lin.ves " |
1430 |
|
|
"-ves_lambda_y ves_calcul_CLG_y_post_lin.ves " |
1431 |
|
|
"-ves_lambda_z ves_calcul_CLG_z_post_lin.ves " |
1432 |
|
|
"-ves_out ves_CLG_conductivite_thermique_post_lin.ves " |
1433 |
|
|
"-param ../../parametre/post_traitement/params_post_conductivite_thermique.txt" << std::endl; |
1434 |
|
|
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_post_traitement -ves_lambda_x ves_calcul_CLF_x_post_lin.ves " |
1435 |
|
|
"-ves_lambda_y ves_calcul_CLF_y_post_lin.ves " |
1436 |
|
|
"-ves_lambda_z ves_calcul_CLF_z_post_lin.ves " |
1437 |
|
|
"-ves_out ves_CLF_conductivite_thermique_post_lin.ves " |
1438 |
|
|
"-param ../../parametre/post_traitement/params_post_conductivite_thermique.txt" << std::endl; |
1439 |
|
|
} |
1440 |
couturad |
951 |
} |
1441 |
couturad |
968 |
|
1442 |
couturad |
951 |
if(fem_maill_quad) |
1443 |
|
|
{ |
1444 |
couturad |
971 |
if(etude_mecanique) |
1445 |
|
|
{ |
1446 |
|
|
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_calcul -ves_in ves_etude_CLDH_sph_quad.ves -ves_out ves_calcul_CLDH_sph_quad.ves -param ../../parametre/etude/param_etude_CLDH_sph.txt -paramaster ../../parametre/etude/param_aster.txt" << std::endl; |
1447 |
|
|
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_post_traitement -ves_in ves_calcul_CLDH_sph_quad.ves -ves_out ves_calcul_CLDH_sph_post_quad.ves -lstparam ../../parametre/post_traitement/lstparam_post_champ_meca.txt" << std::endl; |
1448 |
|
|
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_post_traitement -ves_in ves_calcul_CLDH_sph_post_quad.ves -ves_out ves_calcul_CLDH_sph_ecart_chargement_post_quad.ves -lstparam ../../parametre/post_traitement/lstparam_post_champ_meca_ecart_chargement_sph.txt" << std::endl; |
1449 |
|
|
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_calcul -ves_in ves_etude_CLCH_sph_quad.ves -ves_out ves_calcul_CLCH_sph_quad.ves -param ../../parametre/etude/param_etude_CLCH_sph.txt -paramaster ../../parametre/etude/param_aster.txt" << std::endl; |
1450 |
|
|
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_post_traitement -ves_in ves_calcul_CLCH_sph_quad.ves -ves_out ves_calcul_CLCH_sph_post_quad.ves -lstparam ../../parametre/post_traitement/lstparam_post_champ_meca.txt" << std::endl; |
1451 |
|
|
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_post_traitement -ves_in ves_calcul_CLCH_sph_post_quad.ves -ves_out ves_calcul_CLCH_sph_ecart_chargement_post_quad.ves -lstparam ../../parametre/post_traitement/lstparam_post_champ_meca_ecart_chargement_sph.txt" << std::endl; |
1452 |
|
|
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_calcul -ves_in ves_etude_CLDH_dev_quad.ves -ves_out ves_calcul_CLDH_dev_quad.ves -param ../../parametre/etude/param_etude_CLDH_dev.txt -paramaster ../../parametre/etude/param_aster.txt" << std::endl; |
1453 |
|
|
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_post_traitement -ves_in ves_calcul_CLDH_dev_quad.ves -ves_out ves_calcul_CLDH_dev_post_quad.ves -lstparam ../../parametre/post_traitement/lstparam_post_champ_meca.txt" << std::endl; |
1454 |
|
|
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_post_traitement -ves_in ves_calcul_CLDH_dev_post_quad.ves -ves_out ves_calcul_CLDH_dev_ecart_chargement_post_quad.ves -lstparam ../../parametre/post_traitement/lstparam_post_champ_meca_ecart_chargement_dev.txt" << std::endl; |
1455 |
|
|
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_calcul -ves_in ves_etude_CLCH_dev_quad.ves -ves_out ves_calcul_CLCH_dev_quad.ves -param ../../parametre/etude/param_etude_CLCH_dev.txt -paramaster ../../parametre/etude/param_aster.txt" << std::endl; |
1456 |
|
|
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_post_traitement -ves_in ves_calcul_CLCH_dev_quad.ves -ves_out ves_calcul_CLCH_dev_post_quad.ves -lstparam ../../parametre/post_traitement/lstparam_post_champ_meca.txt" << std::endl; |
1457 |
|
|
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_post_traitement -ves_in ves_calcul_CLCH_dev_post_quad.ves -ves_out ves_calcul_CLCH_dev_ecart_chargement_post_quad.ves -lstparam ../../parametre/post_traitement/lstparam_post_champ_meca_ecart_chargement_dev.txt" << std::endl; |
1458 |
|
|
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_post_traitement -ves_sph ves_calcul_CLDH_sph_post_quad.ves -ves_dev ves_calcul_CLDH_dev_post_quad.ves -ves_out ves_CLDH_modules_elasticite_post_quad.ves -param ../../parametre/post_traitement/params_post_modules_elasticite.txt" << std::endl; |
1459 |
|
|
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_post_traitement -ves_sph ves_calcul_CLCH_sph_post_quad.ves -ves_dev ves_calcul_CLCH_dev_post_quad.ves -ves_out ves_CLCH_modules_elasticite_post_quad.ves -param ../../parametre/post_traitement/params_post_modules_elasticite.txt" << std::endl; |
1460 |
|
|
} |
1461 |
|
|
if(etude_thermique) |
1462 |
|
|
{ |
1463 |
|
|
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_calcul -ves_in ves_etude_CLG_x_quad.ves -ves_out ves_calcul_CLG_x_quad.ves -param ../../parametre/etude/params_etude_CLG_x.txt -paramaster ../../parametre/etude/param_aster.txt" << std::endl; |
1464 |
|
|
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_post_traitement -ves_in ves_calcul_CLG_x_quad.ves -ves_out ves_calcul_CLG_x_post_quad.ves -lstparam ../../parametre/post_traitement/lstparam_post_champ_ther.txt" << std::endl; |
1465 |
couturad |
982 |
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_post_traitement -ves_in ves_calcul_CLG_x_post_quad.ves -ves_out ves_calcul_CLG_x_post_quad.ves -param ../../parametre/post_traitement/params_post_conductivite_thermique_x.txt" << std::endl; |
1466 |
couturad |
971 |
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_calcul -ves_in ves_etude_CLG_y_quad.ves -ves_out ves_calcul_CLG_y_quad.ves -param ../../parametre/etude/params_etude_CLG_y.txt -paramaster ../../parametre/etude/param_aster.txt" << std::endl; |
1467 |
|
|
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_post_traitement -ves_in ves_calcul_CLG_y_quad.ves -ves_out ves_calcul_CLG_y_post_quad.ves -lstparam ../../parametre/post_traitement/lstparam_post_champ_ther.txt" << std::endl; |
1468 |
couturad |
982 |
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_post_traitement -ves_in ves_calcul_CLG_y_post_quad.ves -ves_out ves_calcul_CLG_y_post_quad.ves -param ../../parametre/post_traitement/params_post_conductivite_thermique_y.txt" << std::endl; |
1469 |
couturad |
971 |
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_calcul -ves_in ves_etude_CLG_z_quad.ves -ves_out ves_calcul_CLG_z_quad.ves -param ../../parametre/etude/params_etude_CLG_z.txt -paramaster ../../parametre/etude/param_aster.txt" << std::endl; |
1470 |
|
|
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_post_traitement -ves_in ves_calcul_CLG_z_quad.ves -ves_out ves_calcul_CLG_z_post_quad.ves -lstparam ../../parametre/post_traitement/lstparam_post_champ_ther.txt" << std::endl; |
1471 |
couturad |
982 |
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_post_traitement -ves_in ves_calcul_CLG_z_post_quad.ves -ves_out ves_calcul_CLG_z_post_quad.ves -param ../../parametre/post_traitement/params_post_conductivite_thermique_z.txt" << std::endl; |
1472 |
couturad |
971 |
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_calcul -ves_in ves_etude_CLF_x_quad.ves -ves_out ves_calcul_CLF_x_quad.ves -param ../../parametre/etude/params_etude_CLF_x.txt -paramaster ../../parametre/etude/param_aster.txt" << std::endl; |
1473 |
|
|
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_post_traitement -ves_in ves_calcul_CLF_x_quad.ves -ves_out ves_calcul_CLF_x_post_quad.ves -lstparam ../../parametre/post_traitement/lstparam_post_champ_ther.txt" << std::endl; |
1474 |
couturad |
982 |
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_post_traitement -ves_in ves_calcul_CLF_x_post_quad.ves -ves_out ves_calcul_CLF_x_post_quad.ves -param ../../parametre/post_traitement/params_post_conductivite_thermique_x.txt" << std::endl; |
1475 |
couturad |
971 |
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_calcul -ves_in ves_etude_CLF_y_quad.ves -ves_out ves_calcul_CLF_y_quad.ves -param ../../parametre/etude/params_etude_CLF_y.txt -paramaster ../../parametre/etude/param_aster.txt" << std::endl; |
1476 |
|
|
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_post_traitement -ves_in ves_calcul_CLF_y_quad.ves -ves_out ves_calcul_CLF_y_post_quad.ves -lstparam ../../parametre/post_traitement/lstparam_post_champ_ther.txt" << std::endl; |
1477 |
couturad |
982 |
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_post_traitement -ves_in ves_calcul_CLF_y_post_quad.ves -ves_out ves_calcul_CLF_y_post_quad.ves -param ../../parametre/post_traitement/params_post_conductivite_thermique_y.txt" << std::endl; |
1478 |
couturad |
971 |
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_calcul -ves_in ves_etude_CLF_z_quad.ves -ves_out ves_calcul_CLF_z_quad.ves -param ../../parametre/etude/params_etude_CLF_z.txt -paramaster ../../parametre/etude/param_aster.txt" << std::endl; |
1479 |
|
|
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_post_traitement -ves_in ves_calcul_CLF_z_quad.ves -ves_out ves_calcul_CLF_z_post_quad.ves -lstparam ../../parametre/post_traitement/lstparam_post_champ_ther.txt" << std::endl; |
1480 |
couturad |
982 |
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_post_traitement -ves_in ves_calcul_CLF_z_post_quad.ves -ves_out ves_calcul_CLF_z_post_quad.ves -param ../../parametre/post_traitement/params_post_conductivite_thermique_z.txt" << std::endl; |
1481 |
couturad |
971 |
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_post_traitement -ves_lambda_x ves_calcul_CLG_x_post_quad.ves " |
1482 |
|
|
"-ves_lambda_y ves_calcul_CLG_y_post_quad.ves " |
1483 |
|
|
"-ves_lambda_z ves_calcul_CLG_z_post_quad.ves " |
1484 |
|
|
"-ves_out ves_CLG_conductivite_thermique_post_quad.ves " |
1485 |
|
|
"-param ../../parametre/post_traitement/params_post_conductivite_thermique.txt" << std::endl; |
1486 |
|
|
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -gen_post_traitement -ves_lambda_x ves_calcul_CLF_x_post_quad.ves " |
1487 |
|
|
"-ves_lambda_y ves_calcul_CLF_y_post_quad.ves " |
1488 |
|
|
"-ves_lambda_z ves_calcul_CLF_z_post_quad.ves " |
1489 |
|
|
"-ves_out ves_CLF_conductivite_thermique_post_quad.ves " |
1490 |
couturad |
982 |
"-param ../../parametre/post_traitement/params_post_conductivite_thermique.txt" << std::endl; |
1491 |
couturad |
971 |
} |
1492 |
couturad |
951 |
} |
1493 |
|
|
ofstrm << "" << std::endl; |
1494 |
|
|
ofstrm << "rm *.msh" << std::endl; |
1495 |
|
|
ofstrm << "rm *.sol" << std::endl; |
1496 |
|
|
ofstrm << "rm *.resu" << std::endl; |
1497 |
|
|
ofstrm << "rm *.comm" << std::endl; |
1498 |
|
|
ofstrm << "rm *.mail" << std::endl; |
1499 |
|
|
ofstrm << "rm *.retour" << std::endl; |
1500 |
|
|
ofstrm << "rm *.export" << std::endl; |
1501 |
|
|
ofstrm << "rm *.log" << std::endl; |
1502 |
|
|
ofstrm << "rm *.mess" << std::endl; |
1503 |
couturad |
993 |
ofstrm << "rm *.magic" << std::endl; |
1504 |
couturad |
968 |
ofstrm << "#find . ! -name '*.ves' -type f -exec rm -f {} +" << std::endl; |
1505 |
couturad |
929 |
ofstrm << "cd .." << std::endl; |
1506 |
|
|
ofstrm << "echo \"**********************\"" << std::endl; |
1507 |
|
|
ofstrm << "echo $STATUSTXT" << std::endl; |
1508 |
|
|
ofstrm << "echo \"**********************\"" << std::endl; |
1509 |
|
|
ofstrm << "exit $STAT" << std::endl; |
1510 |
couturad |
964 |
ofstrm.close(); |
1511 |
|
|
if(fonc_affiche!=NULL) fonc_affiche((char*)"ves"); |
1512 |
couturad |
929 |
system((char*)"chmod 744 ves"); |
1513 |
couturad |
971 |
|
1514 |
couturad |
968 |
return OK; |
1515 |
couturad |
929 |
} |
1516 |
|
|
|
1517 |
couturad |
971 |
int PARAMETRES::generer_script_post_traitement(bool etude_mecanique, |
1518 |
|
|
bool etude_thermique, |
1519 |
|
|
int type_inclusion, |
1520 |
|
|
bool fem_maill_lin, |
1521 |
|
|
bool fem_maill_quad, |
1522 |
|
|
double epaisseur_couche_erosion, |
1523 |
|
|
fonction_affiche *fonc_affiche) |
1524 |
couturad |
951 |
{ |
1525 |
couturad |
968 |
std::ofstream ofstrm((char*)"post_traitement",std::ios::out|std::ios::trunc); |
1526 |
couturad |
951 |
ofstrm.precision(16); |
1527 |
|
|
ofstrm.setf(std::ios::showpoint); |
1528 |
|
|
ofstrm << "#!/bin/bash" << std::endl; |
1529 |
couturad |
968 |
ofstrm << "CHEMINCOMPILE=$1" << std::endl; |
1530 |
couturad |
958 |
ofstrm << "if [ -z ${CHEMINCOMPILE// } ]" << std::endl; |
1531 |
|
|
ofstrm << "then" << std::endl; |
1532 |
|
|
ofstrm << " if [ -z $PATHMAGICEXEAPP ]" << std::endl; |
1533 |
|
|
ofstrm << " then" << std::endl; |
1534 |
|
|
ofstrm << " echo \"Erreur : Chemin vers exe/app manquant\"" << std::endl; |
1535 |
|
|
ofstrm << " exit" << std::endl; |
1536 |
|
|
ofstrm << " else" << std::endl; |
1537 |
|
|
ofstrm << " CHEMINCOMPILE=$PATHMAGICEXEAPP" << std::endl; |
1538 |
|
|
ofstrm << " fi" << std::endl; |
1539 |
|
|
ofstrm << "fi" << std::endl; |
1540 |
couturad |
951 |
ofstrm << "function executer" << std::endl; |
1541 |
|
|
ofstrm << "{" << std::endl; |
1542 |
|
|
ofstrm << "$*" << std::endl; |
1543 |
|
|
ofstrm << "VAR=$?" << std::endl; |
1544 |
|
|
ofstrm << "if (( $VAR )) ; then " << std::endl; |
1545 |
|
|
ofstrm << " STATUSTXT=\"ERREUR dans les tests\"; " << std::endl; |
1546 |
|
|
ofstrm << " STAT=$VAR;" << std::endl; |
1547 |
|
|
ofstrm << " exit $STAT" << std::endl; |
1548 |
|
|
ofstrm << "fi" << std::endl; |
1549 |
|
|
ofstrm << "}" << std::endl; |
1550 |
|
|
ofstrm << "STATUSTXT=\"Test sans ERREUR\"" << std::endl; |
1551 |
|
|
ofstrm << "echo \"*******************************\"" << std::endl; |
1552 |
|
|
ofstrm << "echo \"Generation d'une microstructure\"" << std::endl; |
1553 |
|
|
ofstrm << "echo \"*******************************\"" << std::endl; |
1554 |
|
|
ofstrm << "STAT=$?" << std::endl; |
1555 |
|
|
ofstrm << "" << std::endl; |
1556 |
|
|
ofstrm << "mkdir resultats" << std::endl; |
1557 |
|
|
ofstrm << "" << std::endl; |
1558 |
|
|
ofstrm << "#Geometrie" << std::endl; |
1559 |
|
|
ofstrm << "mkdir -p resultats/cao" << std::endl; |
1560 |
couturad |
1029 |
ofstrm << "find . -name \"ves_geo_post.ves\" | sort > tmp_lst_ves_geo_post.txt" << std::endl; |
1561 |
couturad |
968 |
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -cumuler_post_traitement -lstves tmp_lst_ves_geo_post.txt -lstparam parametre/post_traitement/lstparam_post_geometrie.txt -dossier resultats/cao" << std::endl; |
1562 |
|
|
ofstrm << "rm tmp_lst_ves_geo_post.txt" << std::endl; |
1563 |
couturad |
951 |
ofstrm << "" << std::endl; |
1564 |
|
|
ofstrm << "#MG Maillage" << std::endl; |
1565 |
|
|
ofstrm << "mkdir -p resultats/maillage_mg" << std::endl; |
1566 |
couturad |
1029 |
ofstrm << "find . -name \"ves_mg_maill_post.ves\" | sort > tmp_lst_ves_mg_maill_post.txt" << std::endl; |
1567 |
couturad |
968 |
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -cumuler_post_traitement -lstves tmp_lst_ves_mg_maill_post.txt -lstparam parametre/post_traitement/lstparam_post_mg_maillage.txt -dossier resultats/maillage_mg" << std::endl; |
1568 |
|
|
ofstrm << "rm tmp_lst_ves_mg_maill_post.txt" << std::endl; |
1569 |
couturad |
951 |
ofstrm << "" << std::endl; |
1570 |
|
|
ofstrm << "#Fem Maillage" << std::endl; |
1571 |
|
|
if(fem_maill_lin) |
1572 |
|
|
{ |
1573 |
couturad |
968 |
ofstrm << "mkdir -p resultats/maillage_fem/lin" << std::endl; |
1574 |
couturad |
1029 |
ofstrm << "find . -name \"ves_fem_maill_post_lin.ves\" | sort > tmp_lst_ves_fem_maill_post_lin.txt" << std::endl; |
1575 |
couturad |
968 |
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -cumuler_post_traitement -lstves tmp_lst_ves_fem_maill_post_lin.txt -lstparam parametre/post_traitement/lstparam_post_fem_maillage.txt -dossier resultats/maillage_fem/lin" << std::endl; |
1576 |
|
|
ofstrm << "rm tmp_lst_ves_fem_maill_post_lin.txt" << std::endl; |
1577 |
couturad |
951 |
} |
1578 |
|
|
if(fem_maill_quad) |
1579 |
|
|
{ |
1580 |
couturad |
968 |
ofstrm << "mkdir -p resultats/maillage_fem/quad" << std::endl; |
1581 |
couturad |
1029 |
ofstrm << "find . -name \"ves_fem_maill_post_quad.ves\" | sort > tmp_lst_ves_fem_maill_post_quad.txt" << std::endl; |
1582 |
couturad |
968 |
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -cumuler_post_traitement -lstves tmp_lst_ves_fem_maill_post_quad.txt -lstparam parametre/post_traitement/lstparam_post_fem_maillage.txt -dossier resultats/maillage_fem/quad" << std::endl; |
1583 |
|
|
ofstrm << "rm tmp_lst_ves_fem_maill_post_quad.txt" << std::endl; |
1584 |
couturad |
951 |
} |
1585 |
|
|
ofstrm << "" << std::endl; |
1586 |
|
|
ofstrm << "#Calculs" << std::endl; |
1587 |
|
|
if(fem_maill_lin) |
1588 |
couturad |
968 |
{ |
1589 |
couturad |
971 |
if(etude_mecanique) |
1590 |
|
|
{ |
1591 |
|
|
ofstrm << "mkdir -p resultats/champ/DH/sph/lin" << std::endl; |
1592 |
|
|
ofstrm << "mkdir -p resultats/champ/DH/dev/lin" << std::endl; |
1593 |
|
|
ofstrm << "mkdir -p resultats/champ/CH/sph/lin" << std::endl; |
1594 |
|
|
ofstrm << "mkdir -p resultats/champ/CH/dev/lin" << std::endl; |
1595 |
|
|
ofstrm << "mkdir -p resultats/modules_elasticite/DH/lin" << std::endl; |
1596 |
|
|
ofstrm << "mkdir -p resultats/modules_elasticite/CH/lin" << std::endl; |
1597 |
couturad |
1029 |
ofstrm << "find . -name \"ves_calcul_CLDH_sph_post_lin.ves\" | sort > tmp_lst_ves_calcul_CLDH_sph_post_lin.txt" << std::endl; |
1598 |
|
|
ofstrm << "find . -name \"ves_calcul_CLCH_sph_post_lin.ves\" | sort > tmp_lst_ves_calcul_CLCH_sph_post_lin.txt" << std::endl; |
1599 |
|
|
ofstrm << "find . -name \"ves_calcul_CLDH_dev_post_lin.ves\" | sort > tmp_lst_ves_calcul_CLDH_dev_post_lin.txt" << std::endl; |
1600 |
|
|
ofstrm << "find . -name \"ves_calcul_CLCH_dev_post_lin.ves\" | sort > tmp_lst_ves_calcul_CLCH_dev_post_lin.txt" << std::endl; |
1601 |
|
|
ofstrm << "find . -name \"ves_calcul_CLDH_sph_ecart_chargement_post_lin.ves\" | sort > tmp_lst_ves_calcul_CLDH_sph_ecart_chargement_post_lin.txt" << std::endl; |
1602 |
|
|
ofstrm << "find . -name \"ves_calcul_CLCH_sph_ecart_chargement_post_lin.ves\" | sort > tmp_lst_ves_calcul_CLCH_sph_ecart_chargement_post_lin.txt" << std::endl; |
1603 |
|
|
ofstrm << "find . -name \"ves_calcul_CLDH_dev_ecart_chargement_post_lin.ves\" | sort > tmp_lst_ves_calcul_CLDH_dev_ecart_chargement_post_lin.txt" << std::endl; |
1604 |
|
|
ofstrm << "find . -name \"ves_calcul_CLCH_dev_ecart_chargement_post_lin.ves\" | sort > tmp_lst_ves_calcul_CLCH_dev_ecart_chargement_post_lin.txt" << std::endl; |
1605 |
|
|
ofstrm << "find . -name \"ves_CLDH_modules_elasticite_post_lin.ves\" | sort > tmp_lst_ves_CLDH_modules_elasticite_post_lin.txt" << std::endl; |
1606 |
|
|
ofstrm << "find . -name \"ves_CLCH_modules_elasticite_post_lin.ves\" | sort > tmp_lst_ves_CLCH_modules_elasticite_post_lin.txt" << std::endl; |
1607 |
couturad |
971 |
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -cumuler_post_traitement -lstves tmp_lst_ves_calcul_CLDH_sph_post_lin.txt -lstparam parametre/post_traitement/lstparam_post_champ_meca.txt -dossier resultats/champ/DH/sph/lin" << std::endl; |
1608 |
|
|
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -cumuler_post_traitement -lstves tmp_lst_ves_calcul_CLCH_sph_post_lin.txt -lstparam parametre/post_traitement/lstparam_post_champ_meca.txt -dossier resultats/champ/CH/sph/lin" << std::endl; |
1609 |
|
|
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -cumuler_post_traitement -lstves tmp_lst_ves_calcul_CLDH_dev_post_lin.txt -lstparam parametre/post_traitement/lstparam_post_champ_meca.txt -dossier resultats/champ/DH/dev/lin" << std::endl; |
1610 |
|
|
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -cumuler_post_traitement -lstves tmp_lst_ves_calcul_CLCH_dev_post_lin.txt -lstparam parametre/post_traitement/lstparam_post_champ_meca.txt -dossier resultats/champ/CH/dev/lin" << std::endl; |
1611 |
|
|
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -cumuler_post_traitement -lstves tmp_lst_ves_calcul_CLDH_sph_ecart_chargement_post_lin.txt -lstparam parametre/post_traitement/lstparam_post_champ_meca_ecart_chargement_sph.txt -dossier resultats/champ/DH/sph/lin" << std::endl; |
1612 |
|
|
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -cumuler_post_traitement -lstves tmp_lst_ves_calcul_CLCH_sph_ecart_chargement_post_lin.txt -lstparam parametre/post_traitement/lstparam_post_champ_meca_ecart_chargement_sph.txt -dossier resultats/champ/CH/sph/lin" << std::endl; |
1613 |
|
|
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -cumuler_post_traitement -lstves tmp_lst_ves_calcul_CLDH_dev_ecart_chargement_post_lin.txt -lstparam parametre/post_traitement/lstparam_post_champ_meca_ecart_chargement_dev.txt -dossier resultats/champ/DH/dev/lin" << std::endl; |
1614 |
|
|
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -cumuler_post_traitement -lstves tmp_lst_ves_calcul_CLCH_dev_ecart_chargement_post_lin.txt -lstparam parametre/post_traitement/lstparam_post_champ_meca_ecart_chargement_dev.txt -dossier resultats/champ/CH/dev/lin" << std::endl; |
1615 |
|
|
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -cumuler_post_traitement -lstves tmp_lst_ves_CLDH_modules_elasticite_post_lin.txt -param parametre/post_traitement/params_post_modules_elasticite.txt -dossier resultats/modules_elasticite/DH/lin" << std::endl; |
1616 |
|
|
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -cumuler_post_traitement -lstves tmp_lst_ves_CLCH_modules_elasticite_post_lin.txt -param parametre/post_traitement/params_post_modules_elasticite.txt -dossier resultats/modules_elasticite/CH/lin" << std::endl; |
1617 |
|
|
ofstrm << "rm tmp_lst_ves_calcul_CLDH_sph_post_lin.txt" << std::endl; |
1618 |
|
|
ofstrm << "rm tmp_lst_ves_calcul_CLCH_sph_post_lin.txt" << std::endl; |
1619 |
|
|
ofstrm << "rm tmp_lst_ves_calcul_CLDH_dev_post_lin.txt" << std::endl; |
1620 |
|
|
ofstrm << "rm tmp_lst_ves_calcul_CLCH_dev_post_lin.txt" << std::endl; |
1621 |
|
|
ofstrm << "rm tmp_lst_ves_calcul_CLDH_sph_ecart_chargement_post_lin.txt" << std::endl; |
1622 |
|
|
ofstrm << "rm tmp_lst_ves_calcul_CLCH_sph_ecart_chargement_post_lin.txt" << std::endl; |
1623 |
|
|
ofstrm << "rm tmp_lst_ves_calcul_CLDH_dev_ecart_chargement_post_lin.txt" << std::endl; |
1624 |
|
|
ofstrm << "rm tmp_lst_ves_calcul_CLCH_dev_ecart_chargement_post_lin.txt" << std::endl; |
1625 |
|
|
ofstrm << "rm tmp_lst_ves_CLDH_modules_elasticite_post_lin.txt" << std::endl; |
1626 |
|
|
ofstrm << "rm tmp_lst_ves_CLCH_modules_elasticite_post_lin.txt" << std::endl; |
1627 |
|
|
} |
1628 |
|
|
if(etude_thermique) |
1629 |
|
|
{ |
1630 |
|
|
ofstrm << "mkdir -p resultats/champ/FH/F_x/lin" << std::endl; |
1631 |
|
|
ofstrm << "mkdir -p resultats/champ/FH/F_y/lin" << std::endl; |
1632 |
|
|
ofstrm << "mkdir -p resultats/champ/FH/F_z/lin" << std::endl; |
1633 |
|
|
ofstrm << "mkdir -p resultats/champ/GH/G_x/lin" << std::endl; |
1634 |
|
|
ofstrm << "mkdir -p resultats/champ/GH/G_y/lin" << std::endl; |
1635 |
|
|
ofstrm << "mkdir -p resultats/champ/GH/G_z/lin" << std::endl; |
1636 |
|
|
ofstrm << "mkdir -p resultats/conductivite_thermique/FH/lin" << std::endl; |
1637 |
|
|
ofstrm << "mkdir -p resultats/conductivite_thermique/GH/lin" << std::endl; |
1638 |
couturad |
1029 |
ofstrm << "find . -name \"ves_calcul_CLF_x_post_lin.ves\" | sort > tmp_lst_ves_calcul_CLF_x_post_lin.txt" << std::endl; |
1639 |
|
|
ofstrm << "find . -name \"ves_calcul_CLF_y_post_lin.ves\" | sort > tmp_lst_ves_calcul_CLF_y_post_lin.txt" << std::endl; |
1640 |
|
|
ofstrm << "find . -name \"ves_calcul_CLF_z_post_lin.ves\" | sort > tmp_lst_ves_calcul_CLF_z_post_lin.txt" << std::endl; |
1641 |
|
|
ofstrm << "find . -name \"ves_calcul_CLG_x_post_lin.ves\" | sort > tmp_lst_ves_calcul_CLG_x_post_lin.txt" << std::endl; |
1642 |
|
|
ofstrm << "find . -name \"ves_calcul_CLG_y_post_lin.ves\" | sort > tmp_lst_ves_calcul_CLG_y_post_lin.txt" << std::endl; |
1643 |
|
|
ofstrm << "find . -name \"ves_calcul_CLG_z_post_lin.ves\" | sort > tmp_lst_ves_calcul_CLG_z_post_lin.txt" << std::endl; |
1644 |
|
|
ofstrm << "find . -name \"ves_CLF_conductivite_thermique_post_lin.ves\" | sort > tmp_lst_ves_CLF_conductivite_thermique_post_lin.txt" << std::endl; |
1645 |
|
|
ofstrm << "find . -name \"ves_CLG_conductivite_thermique_post_lin.ves\" | sort > tmp_lst_ves_CLG_conductivite_thermique_post_lin.txt" << std::endl; |
1646 |
couturad |
971 |
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -cumuler_post_traitement -lstves tmp_lst_ves_calcul_CLF_x_post_lin.txt -lstparam parametre/post_traitement/lstparam_post_champ_ther.txt -dossier resultats/champ/FH/F_x/lin" << std::endl; |
1647 |
|
|
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -cumuler_post_traitement -lstves tmp_lst_ves_calcul_CLF_y_post_lin.txt -lstparam parametre/post_traitement/lstparam_post_champ_ther.txt -dossier resultats/champ/FH/F_y/lin" << std::endl; |
1648 |
|
|
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -cumuler_post_traitement -lstves tmp_lst_ves_calcul_CLF_z_post_lin.txt -lstparam parametre/post_traitement/lstparam_post_champ_ther.txt -dossier resultats/champ/FH/F_z/lin" << std::endl; |
1649 |
|
|
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -cumuler_post_traitement -lstves tmp_lst_ves_calcul_CLG_x_post_lin.txt -lstparam parametre/post_traitement/lstparam_post_champ_ther.txt -dossier resultats/champ/GH/G_x/lin" << std::endl; |
1650 |
|
|
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -cumuler_post_traitement -lstves tmp_lst_ves_calcul_CLG_y_post_lin.txt -lstparam parametre/post_traitement/lstparam_post_champ_ther.txt -dossier resultats/champ/GH/G_y/lin" << std::endl; |
1651 |
couturad |
982 |
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -cumuler_post_traitement -lstves tmp_lst_ves_calcul_CLG_z_post_lin.txt -lstparam parametre/post_traitement/lstparam_post_champ_ther.txt -dossier resultats/champ/GH/G_z/lin" << std::endl; |
1652 |
|
|
|
1653 |
|
|
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -cumuler_post_traitement -lstves tmp_lst_ves_calcul_CLF_x_post_lin.txt -param parametre/post_traitement/params_post_conductivite_thermique_x.txt -dossier resultats/champ/FH/F_x/lin" << std::endl; |
1654 |
|
|
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -cumuler_post_traitement -lstves tmp_lst_ves_calcul_CLF_y_post_lin.txt -param parametre/post_traitement/params_post_conductivite_thermique_y.txt -dossier resultats/champ/FH/F_y/lin" << std::endl; |
1655 |
|
|
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -cumuler_post_traitement -lstves tmp_lst_ves_calcul_CLF_z_post_lin.txt -param parametre/post_traitement/params_post_conductivite_thermique_z.txt -dossier resultats/champ/FH/F_z/lin" << std::endl; |
1656 |
|
|
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -cumuler_post_traitement -lstves tmp_lst_ves_calcul_CLG_x_post_lin.txt -param parametre/post_traitement/params_post_conductivite_thermique_x.txt -dossier resultats/champ/GH/G_x/lin" << std::endl; |
1657 |
|
|
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -cumuler_post_traitement -lstves tmp_lst_ves_calcul_CLG_y_post_lin.txt -param parametre/post_traitement/params_post_conductivite_thermique_y.txt -dossier resultats/champ/GH/G_y/lin" << std::endl; |
1658 |
|
|
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -cumuler_post_traitement -lstves tmp_lst_ves_calcul_CLG_z_post_lin.txt -param parametre/post_traitement/params_post_conductivite_thermique_z.txt -dossier resultats/champ/GH/G_z/lin" << std::endl; |
1659 |
|
|
|
1660 |
couturad |
971 |
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -cumuler_post_traitement -lstves tmp_lst_ves_CLF_conductivite_thermique_post_lin.txt -param parametre/post_traitement/params_post_conductivite_thermique.txt -dossier resultats/conductivite_thermique/FH/lin" << std::endl; |
1661 |
|
|
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -cumuler_post_traitement -lstves tmp_lst_ves_CLG_conductivite_thermique_post_lin.txt -param parametre/post_traitement/params_post_conductivite_thermique.txt -dossier resultats/conductivite_thermique/GH/lin" << std::endl; |
1662 |
|
|
ofstrm << "rm tmp_lst_ves_calcul_CLF_x_post_lin.txt" << std::endl; |
1663 |
|
|
ofstrm << "rm tmp_lst_ves_calcul_CLF_y_post_lin.txt" << std::endl; |
1664 |
|
|
ofstrm << "rm tmp_lst_ves_calcul_CLF_z_post_lin.txt" << std::endl; |
1665 |
|
|
ofstrm << "rm tmp_lst_ves_calcul_CLG_x_post_lin.txt" << std::endl; |
1666 |
|
|
ofstrm << "rm tmp_lst_ves_calcul_CLG_y_post_lin.txt" << std::endl; |
1667 |
|
|
ofstrm << "rm tmp_lst_ves_calcul_CLG_z_post_lin.txt" << std::endl; |
1668 |
|
|
ofstrm << "rm tmp_lst_ves_CLF_conductivite_thermique_post_lin.txt" << std::endl; |
1669 |
|
|
ofstrm << "rm tmp_lst_ves_CLG_conductivite_thermique_post_lin.txt" << std::endl; |
1670 |
|
|
} |
1671 |
couturad |
951 |
} |
1672 |
|
|
if(fem_maill_quad) |
1673 |
|
|
{ |
1674 |
couturad |
971 |
if(etude_mecanique) |
1675 |
|
|
{ |
1676 |
|
|
ofstrm << "mkdir -p resultats/champ/DH/sph/quad" << std::endl; |
1677 |
|
|
ofstrm << "mkdir -p resultats/champ/DH/dev/quad" << std::endl; |
1678 |
|
|
ofstrm << "mkdir -p resultats/champ/CH/sph/quad" << std::endl; |
1679 |
|
|
ofstrm << "mkdir -p resultats/champ/CH/dev/quad" << std::endl; |
1680 |
|
|
ofstrm << "mkdir -p resultats/modules_elasticite/DH/quad" << std::endl; |
1681 |
|
|
ofstrm << "mkdir -p resultats/modules_elasticite/CH/quad" << std::endl; |
1682 |
couturad |
1029 |
ofstrm << "find . -name \"ves_calcul_CLDH_sph_post_quad.ves\" | sort > tmp_lst_ves_calcul_CLDH_sph_post_quad.txt" << std::endl; |
1683 |
|
|
ofstrm << "find . -name \"ves_calcul_CLCH_sph_post_quad.ves\" | sort > tmp_lst_ves_calcul_CLCH_sph_post_quad.txt" << std::endl; |
1684 |
|
|
ofstrm << "find . -name \"ves_calcul_CLDH_dev_post_quad.ves\" | sort > tmp_lst_ves_calcul_CLDH_dev_post_quad.txt" << std::endl; |
1685 |
|
|
ofstrm << "find . -name \"ves_calcul_CLCH_dev_post_quad.ves\" | sort > tmp_lst_ves_calcul_CLCH_dev_post_quad.txt" << std::endl; |
1686 |
|
|
ofstrm << "find . -name \"ves_calcul_CLDH_sph_ecart_chargement_post_quad.ves\" | sort > tmp_lst_ves_calcul_CLDH_sph_ecart_chargement_post_quad.txt" << std::endl; |
1687 |
|
|
ofstrm << "find . -name \"ves_calcul_CLCH_sph_ecart_chargement_post_quad.ves\" | sort > tmp_lst_ves_calcul_CLCH_sph_ecart_chargement_post_quad.txt" << std::endl; |
1688 |
|
|
ofstrm << "find . -name \"ves_calcul_CLDH_dev_ecart_chargement_post_quad.ves\" | sort > tmp_lst_ves_calcul_CLDH_dev_ecart_chargement_post_quad.txt" << std::endl; |
1689 |
|
|
ofstrm << "find . -name \"ves_calcul_CLCH_dev_ecart_chargement_post_quad.ves\" | sort > tmp_lst_ves_calcul_CLCH_dev_ecart_chargement_post_quad.txt" << std::endl; |
1690 |
|
|
ofstrm << "find . -name \"ves_CLDH_modules_elasticite_post_quad.ves\" | sort > tmp_lst_ves_CLDH_modules_elasticite_post_quad.txt" << std::endl; |
1691 |
|
|
ofstrm << "find . -name \"ves_CLCH_modules_elasticite_post_quad.ves\" | sort > tmp_lst_ves_CLCH_modules_elasticite_post_quad.txt" << std::endl; |
1692 |
couturad |
971 |
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -cumuler_post_traitement -lstves tmp_lst_ves_calcul_CLDH_sph_post_quad.txt -lstparam parametre/post_traitement/lstparam_post_champ_meca.txt -dossier resultats/champ/DH/sph/quad" << std::endl; |
1693 |
|
|
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -cumuler_post_traitement -lstves tmp_lst_ves_calcul_CLCH_sph_post_quad.txt -lstparam parametre/post_traitement/lstparam_post_champ_meca.txt -dossier resultats/champ/CH/sph/quad" << std::endl; |
1694 |
|
|
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -cumuler_post_traitement -lstves tmp_lst_ves_calcul_CLDH_dev_post_quad.txt -lstparam parametre/post_traitement/lstparam_post_champ_meca.txt -dossier resultats/champ/DH/dev/quad" << std::endl; |
1695 |
|
|
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -cumuler_post_traitement -lstves tmp_lst_ves_calcul_CLCH_dev_post_quad.txt -lstparam parametre/post_traitement/lstparam_post_champ_meca.txt -dossier resultats/champ/CH/dev/quad" << std::endl; |
1696 |
|
|
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -cumuler_post_traitement -lstves tmp_lst_ves_calcul_CLDH_sph_ecart_chargement_post_quad.txt -lstparam parametre/post_traitement/lstparam_post_champ_meca_ecart_chargement_sph.txt -dossier resultats/champ/DH/sph/quad" << std::endl; |
1697 |
|
|
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -cumuler_post_traitement -lstves tmp_lst_ves_calcul_CLCH_sph_ecart_chargement_post_quad.txt -lstparam parametre/post_traitement/lstparam_post_champ_meca_ecart_chargement_sph.txt -dossier resultats/champ/CH/sph/quad" << std::endl; |
1698 |
|
|
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -cumuler_post_traitement -lstves tmp_lst_ves_calcul_CLDH_dev_ecart_chargement_post_quad.txt -lstparam parametre/post_traitement/lstparam_post_champ_meca_ecart_chargement_dev.txt -dossier resultats/champ/DH/dev/quad" << std::endl; |
1699 |
|
|
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -cumuler_post_traitement -lstves tmp_lst_ves_calcul_CLCH_dev_ecart_chargement_post_quad.txt -lstparam parametre/post_traitement/lstparam_post_champ_meca_ecart_chargement_dev.txt -dossier resultats/champ/CH/dev/quad" << std::endl; |
1700 |
|
|
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -cumuler_post_traitement -lstves tmp_lst_ves_CLDH_modules_elasticite_post_quad.txt -param parametre/post_traitement/params_post_modules_elasticite.txt -dossier resultats/modules_elasticite/DH/quad" << std::endl; |
1701 |
|
|
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -cumuler_post_traitement -lstves tmp_lst_ves_CLCH_modules_elasticite_post_quad.txt -param parametre/post_traitement/params_post_modules_elasticite.txt -dossier resultats/modules_elasticite/CH/quad" << std::endl; |
1702 |
|
|
ofstrm << "rm tmp_lst_ves_calcul_CLDH_sph_post_quad.txt" << std::endl; |
1703 |
|
|
ofstrm << "rm tmp_lst_ves_calcul_CLCH_sph_post_quad.txt" << std::endl; |
1704 |
|
|
ofstrm << "rm tmp_lst_ves_calcul_CLDH_dev_post_quad.txt" << std::endl; |
1705 |
|
|
ofstrm << "rm tmp_lst_ves_calcul_CLCH_dev_post_quad.txt" << std::endl; |
1706 |
|
|
ofstrm << "rm tmp_lst_ves_calcul_CLDH_sph_ecart_chargement_post_quad.txt" << std::endl; |
1707 |
|
|
ofstrm << "rm tmp_lst_ves_calcul_CLCH_sph_ecart_chargement_post_quad.txt" << std::endl; |
1708 |
|
|
ofstrm << "rm tmp_lst_ves_calcul_CLDH_dev_ecart_chargement_post_quad.txt" << std::endl; |
1709 |
|
|
ofstrm << "rm tmp_lst_ves_calcul_CLCH_dev_ecart_chargement_post_quad.txt" << std::endl; |
1710 |
|
|
ofstrm << "rm tmp_lst_ves_CLDH_modules_elasticite_post_quad.txt" << std::endl; |
1711 |
|
|
ofstrm << "rm tmp_lst_ves_CLCH_modules_elasticite_post_quad.txt" << std::endl; |
1712 |
|
|
} |
1713 |
|
|
if(etude_thermique) |
1714 |
|
|
{ |
1715 |
|
|
ofstrm << "mkdir -p resultats/champ/FH/F_x/quad" << std::endl; |
1716 |
|
|
ofstrm << "mkdir -p resultats/champ/FH/F_y/quad" << std::endl; |
1717 |
|
|
ofstrm << "mkdir -p resultats/champ/FH/F_z/quad" << std::endl; |
1718 |
|
|
ofstrm << "mkdir -p resultats/champ/GH/G_x/quad" << std::endl; |
1719 |
|
|
ofstrm << "mkdir -p resultats/champ/GH/G_y/quad" << std::endl; |
1720 |
|
|
ofstrm << "mkdir -p resultats/champ/GH/G_z/quad" << std::endl; |
1721 |
|
|
ofstrm << "mkdir -p resultats/conductivite_thermique/FH/quad" << std::endl; |
1722 |
|
|
ofstrm << "mkdir -p resultats/conductivite_thermique/GH/quad" << std::endl; |
1723 |
couturad |
1029 |
ofstrm << "find . -name \"ves_calcul_CLF_x_post_quad.ves\" | sort > tmp_lst_ves_calcul_CLF_x_post_quad.txt" << std::endl; |
1724 |
|
|
ofstrm << "find . -name \"ves_calcul_CLF_y_post_quad.ves\" | sort > tmp_lst_ves_calcul_CLF_y_post_quad.txt" << std::endl; |
1725 |
|
|
ofstrm << "find . -name \"ves_calcul_CLF_z_post_quad.ves\" | sort > tmp_lst_ves_calcul_CLF_z_post_quad.txt" << std::endl; |
1726 |
|
|
ofstrm << "find . -name \"ves_calcul_CLG_x_post_quad.ves\" | sort > tmp_lst_ves_calcul_CLG_x_post_quad.txt" << std::endl; |
1727 |
|
|
ofstrm << "find . -name \"ves_calcul_CLG_y_post_quad.ves\" | sort > tmp_lst_ves_calcul_CLG_y_post_quad.txt" << std::endl; |
1728 |
|
|
ofstrm << "find . -name \"ves_calcul_CLG_z_post_quad.ves\" | sort > tmp_lst_ves_calcul_CLG_z_post_quad.txt" << std::endl; |
1729 |
|
|
ofstrm << "find . -name \"ves_CLF_conductivite_thermique_post_quad.ves\" | sort > tmp_lst_ves_CLF_conductivite_thermique_post_quad.txt" << std::endl; |
1730 |
|
|
ofstrm << "find . -name \"ves_CLG_conductivite_thermique_post_quad.ves\" | sort > tmp_lst_ves_CLG_conductivite_thermique_post_quad.txt" << std::endl; |
1731 |
couturad |
971 |
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -cumuler_post_traitement -lstves tmp_lst_ves_calcul_CLF_x_post_quad.txt -lstparam parametre/post_traitement/lstparam_post_champ_ther.txt -dossier resultats/champ/FH/F_x/quad" << std::endl; |
1732 |
|
|
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -cumuler_post_traitement -lstves tmp_lst_ves_calcul_CLF_y_post_quad.txt -lstparam parametre/post_traitement/lstparam_post_champ_ther.txt -dossier resultats/champ/FH/F_y/quad" << std::endl; |
1733 |
|
|
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -cumuler_post_traitement -lstves tmp_lst_ves_calcul_CLF_z_post_quad.txt -lstparam parametre/post_traitement/lstparam_post_champ_ther.txt -dossier resultats/champ/FH/F_z/quad" << std::endl; |
1734 |
|
|
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -cumuler_post_traitement -lstves tmp_lst_ves_calcul_CLG_x_post_quad.txt -lstparam parametre/post_traitement/lstparam_post_champ_ther.txt -dossier resultats/champ/GH/G_x/quad" << std::endl; |
1735 |
|
|
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -cumuler_post_traitement -lstves tmp_lst_ves_calcul_CLG_y_post_quad.txt -lstparam parametre/post_traitement/lstparam_post_champ_ther.txt -dossier resultats/champ/GH/G_y/quad" << std::endl; |
1736 |
couturad |
982 |
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -cumuler_post_traitement -lstves tmp_lst_ves_calcul_CLG_z_post_quad.txt -lstparam parametre/post_traitement/lstparam_post_champ_ther.txt -dossier resultats/champ/GH/G_z/quad" << std::endl; |
1737 |
|
|
|
1738 |
|
|
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -cumuler_post_traitement -lstves tmp_lst_ves_calcul_CLF_x_post_quad.txt -param parametre/post_traitement/params_post_conductivite_thermique_x.txt -dossier resultats/champ/FH/F_x/quad" << std::endl; |
1739 |
|
|
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -cumuler_post_traitement -lstves tmp_lst_ves_calcul_CLF_y_post_quad.txt -param parametre/post_traitement/params_post_conductivite_thermique_y.txt -dossier resultats/champ/FH/F_y/quad" << std::endl; |
1740 |
|
|
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -cumuler_post_traitement -lstves tmp_lst_ves_calcul_CLF_z_post_quad.txt -param parametre/post_traitement/params_post_conductivite_thermique_z.txt -dossier resultats/champ/FH/F_z/quad" << std::endl; |
1741 |
|
|
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -cumuler_post_traitement -lstves tmp_lst_ves_calcul_CLG_x_post_quad.txt -param parametre/post_traitement/params_post_conductivite_thermique_x.txt -dossier resultats/champ/GH/G_x/quad" << std::endl; |
1742 |
|
|
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -cumuler_post_traitement -lstves tmp_lst_ves_calcul_CLG_y_post_quad.txt -param parametre/post_traitement/params_post_conductivite_thermique_y.txt -dossier resultats/champ/GH/G_y/quad" << std::endl; |
1743 |
|
|
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -cumuler_post_traitement -lstves tmp_lst_ves_calcul_CLG_z_post_quad.txt -param parametre/post_traitement/params_post_conductivite_thermique_z.txt -dossier resultats/champ/GH/G_z/quad" << std::endl; |
1744 |
|
|
|
1745 |
couturad |
971 |
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -cumuler_post_traitement -lstves tmp_lst_ves_CLF_conductivite_thermique_post_quad.txt -param parametre/post_traitement/params_post_conductivite_thermique.txt -dossier resultats/conductivite_thermique/FH/quad" << std::endl; |
1746 |
|
|
ofstrm << "executer $CHEMINCOMPILE/microstructure/microstructure.exe -cumuler_post_traitement -lstves tmp_lst_ves_CLG_conductivite_thermique_post_quad.txt -param parametre/post_traitement/params_post_conductivite_thermique.txt -dossier resultats/conductivite_thermique/GH/quad" << std::endl; |
1747 |
|
|
ofstrm << "rm tmp_lst_ves_calcul_CLF_x_post_quad.txt" << std::endl; |
1748 |
|
|
ofstrm << "rm tmp_lst_ves_calcul_CLF_y_post_quad.txt" << std::endl; |
1749 |
|
|
ofstrm << "rm tmp_lst_ves_calcul_CLF_z_post_quad.txt" << std::endl; |
1750 |
|
|
ofstrm << "rm tmp_lst_ves_calcul_CLG_x_post_quad.txt" << std::endl; |
1751 |
|
|
ofstrm << "rm tmp_lst_ves_calcul_CLG_y_post_quad.txt" << std::endl; |
1752 |
|
|
ofstrm << "rm tmp_lst_ves_calcul_CLG_z_post_quad.txt" << std::endl; |
1753 |
|
|
ofstrm << "rm tmp_lst_ves_CLF_conductivite_thermique_post_quad.txt" << std::endl; |
1754 |
|
|
ofstrm << "rm tmp_lst_ves_CLG_conductivite_thermique_post_quad.txt" << std::endl; |
1755 |
|
|
} |
1756 |
couturad |
951 |
} |
1757 |
|
|
ofstrm << "" << std::endl; |
1758 |
couturad |
968 |
ofstrm << "./produire_figures 0" << std::endl; |
1759 |
|
|
ofstrm << "echo \"**********************\"" << std::endl; |
1760 |
|
|
ofstrm << "echo \" FIN \"" << std::endl; |
1761 |
|
|
ofstrm << "echo \"**********************\"" << std::endl; |
1762 |
|
|
ofstrm << "exit $STAT" << std::endl; |
1763 |
|
|
ofstrm.close(); |
1764 |
|
|
if(fonc_affiche!=NULL) fonc_affiche((char*)"post_traitement"); |
1765 |
|
|
system((char*)"chmod 744 post_traitement"); |
1766 |
couturad |
951 |
|
1767 |
couturad |
968 |
|
1768 |
|
|
|
1769 |
|
|
|
1770 |
|
|
ofstrm.open((char*)"produire_figures",std::ios::out|std::ios::trunc); |
1771 |
|
|
ofstrm.precision(16); |
1772 |
|
|
ofstrm.setf(std::ios::showpoint); |
1773 |
|
|
ofstrm << "#!/bin/bash" << std::endl; |
1774 |
|
|
ofstrm << "COUCHE_REF=\"$1\"" << std::endl; |
1775 |
couturad |
951 |
ofstrm << "#Data pour graph" << std::endl; |
1776 |
|
|
ofstrm << "PWD=pwd" << std::endl; |
1777 |
couturad |
968 |
ofstrm << "mkdir -p resultats/data_graph resultats/graph" << std::endl; |
1778 |
|
|
if(type_inclusion==MSTRUCT::TYPE_INCLUSION::CYLINDRE) |
1779 |
couturad |
951 |
{ |
1780 |
|
|
ofstrm << "#Orientation" << std::endl; |
1781 |
couturad |
968 |
ofstrm << "awk 'NR>=2 {print $1,($2+$3+$4+$5+$6+$7)}' resultats/cao/cumul_Orientation_Particule_ecart.txt > resultats/data_graph/cumul_Err_abs_ori.txt" << std::endl; |
1782 |
|
|
ofstrm << "sed -i '1s/^/Nb_ves somme_ecart_absolu\\n/' resultats/data_graph/cumul_Err_abs_ori.txt" << std::endl; |
1783 |
|
|
if(fem_maill_lin) |
1784 |
couturad |
951 |
{ |
1785 |
couturad |
968 |
ofstrm << "awk 'NR>=2 {print $1,$2,($2+$3+$4+$5+$6+$7)}' resultats/maillage_fem/lin/cumul_erosion_Orientation_Particule_ponderee_ecart.txt > resultats/data_graph/cumul_erosion_Err_abs_ori_lin.txt" << std::endl; |
1786 |
|
|
ofstrm << "sed -i '1s/^/Couche Nb_ves somme_ecart_absolu\\n/' resultats/data_graph/cumul_erosion_Err_abs_ori_lin.txt" << std::endl; |
1787 |
couturad |
951 |
} |
1788 |
couturad |
968 |
if(fem_maill_quad) |
1789 |
couturad |
951 |
{ |
1790 |
couturad |
968 |
ofstrm << "awk 'NR>=2 {print $1,$2,($2+$3+$4+$5+$6+$7)}' resultats/maillage_fem/quad/cumul_erosion_Orientation_Particule_ponderee_ecart.txt > resultats/data_graph/cumul_erosion_Err_abs_ori_quad.txt" << std::endl; |
1791 |
|
|
ofstrm << "sed -i '1s/^/Couche Nb_ves somme_ecart_absolu\\n/' resultats/data_graph/cumul_erosion_Err_abs_ori_quad.txt" << std::endl; |
1792 |
couturad |
951 |
} |
1793 |
couturad |
968 |
} |
1794 |
couturad |
951 |
if(fem_maill_lin) |
1795 |
|
|
{ |
1796 |
couturad |
968 |
ofstrm << "awk 'NR>=2 {print $1,$2,$7,$8}' resultats/maillage_fem/lin/cumul_erosion_FEM_maillage_Particule.txt > resultats/data_graph/tmp_erosion_fem_maill_lin" << std::endl; |
1797 |
couturad |
969 |
ofstrm << "awk 'NR>=2 {print $1,$3}' resultats/maillage_fem/lin/c_$COUCHE_REF/liste_FEM_maillage_Particule.txt > resultats/data_graph/tmp_liste_fem_maill_lin" << std::endl; |
1798 |
couturad |
971 |
if(etude_mecanique) |
1799 |
|
|
{ |
1800 |
|
|
ofstrm << "#Module elasticite" << std::endl; |
1801 |
|
|
ofstrm << "awk 'NR>=2 {print $3,$4,$7,$8,$11,$12,$15,$16}' resultats/modules_elasticite/CH/lin/cumul_erosion_Modules_elasticite.txt > resultats/data_graph/tmp_erosion_Modules_app_CH_lin" << std::endl; |
1802 |
|
|
ofstrm << "awk 'NR>=2 {print $3,$4,$7,$8,$11,$12,$15,$16}' resultats/modules_elasticite/DH/lin/cumul_erosion_Modules_elasticite.txt > resultats/data_graph/tmp_erosion_Modules_app_DH_lin" << std::endl; |
1803 |
|
|
ofstrm << "paste -d ' ' resultats/data_graph/tmp_erosion_fem_maill_lin resultats/data_graph/tmp_erosion_Modules_app_CH_lin > resultats/data_graph/erosion_Modules_app_CH_lin.txt" << std::endl; |
1804 |
|
|
ofstrm << "paste -d ' ' resultats/data_graph/tmp_erosion_fem_maill_lin resultats/data_graph/tmp_erosion_Modules_app_DH_lin > resultats/data_graph/erosion_Modules_app_DH_lin.txt" << std::endl; |
1805 |
|
|
ofstrm << "sed -i '1s/^/Couche Nb_ves Fvol(moy ±) Eapp(moy ±) Nuapp(moy ±) Gapp(moy ±) Kapp(moy ±)\\n/' resultats/data_graph/erosion_Modules_app_CH_lin.txt" << std::endl; |
1806 |
|
|
ofstrm << "sed -i '1s/^/Couche Nb_ves Fvol(moy ±) Eapp(moy ±) Nuapp(moy ±) Gapp(moy ±) Kapp(moy ±)\\n/' resultats/data_graph/erosion_Modules_app_DH_lin.txt" << std::endl; |
1807 |
|
|
ofstrm << "rm resultats/data_graph/tmp_erosion_Modules_app_CH_lin resultats/data_graph/tmp_erosion_Modules_app_DH_lin" << std::endl; |
1808 |
|
|
ofstrm << "awk 'NR>=2 {print $2,$3,$4,$5}' resultats/modules_elasticite/CH/lin/c_$COUCHE_REF/liste_Modules_elasticite.txt > resultats/data_graph/tmp_Modules_app_CH_lin" << std::endl; |
1809 |
|
|
ofstrm << "awk 'NR>=2 {print $2,$3,$4,$5}' resultats/modules_elasticite/DH/lin/c_$COUCHE_REF/liste_Modules_elasticite.txt > resultats/data_graph/tmp_Modules_app_DH_lin" << std::endl; |
1810 |
|
|
ofstrm << "paste -d ' ' resultats/data_graph/tmp_liste_fem_maill_lin resultats/data_graph/tmp_Modules_app_CH_lin > resultats/data_graph/liste_Modules_app_CH_lin.txt" << std::endl; |
1811 |
|
|
ofstrm << "paste -d ' ' resultats/data_graph/tmp_liste_fem_maill_lin resultats/data_graph/tmp_Modules_app_DH_lin > resultats/data_graph/liste_Modules_app_DH_lin.txt" << std::endl; |
1812 |
|
|
ofstrm << "sed -i '1s/^/# Fvol Eapp Nuapp Gapp Kapp\\n/' resultats/data_graph/liste_Modules_app_CH_lin.txt" << std::endl; |
1813 |
|
|
ofstrm << "sed -i '1s/^/# Fvol Eapp Nuapp Gapp Kapp\\n/' resultats/data_graph/liste_Modules_app_DH_lin.txt" << std::endl; |
1814 |
couturad |
974 |
ofstrm << "rm resultats/data_graph/tmp_Modules_app_CH_lin resultats/data_graph/tmp_Modules_app_DH_lin" << std::endl; |
1815 |
couturad |
971 |
} |
1816 |
|
|
if(etude_thermique) |
1817 |
|
|
{ |
1818 |
|
|
ofstrm << "#Conductivite thermique" << std::endl; |
1819 |
|
|
ofstrm << "awk 'NR>=2 {print $3,$4}' resultats/conductivite_thermique/FH/lin/cumul_erosion_Conductivite_thermique.txt > resultats/data_graph/tmp_erosion_Conductivite_thermique_app_FH_lin" << std::endl; |
1820 |
|
|
ofstrm << "awk 'NR>=2 {print $3,$4}' resultats/conductivite_thermique/GH/lin/cumul_erosion_Conductivite_thermique.txt > resultats/data_graph/tmp_erosion_Conductivite_thermique_app_GH_lin" << std::endl; |
1821 |
|
|
ofstrm << "paste -d ' ' resultats/data_graph/tmp_erosion_fem_maill_lin resultats/data_graph/tmp_erosion_Conductivite_thermique_app_FH_lin > resultats/data_graph/erosion_Conductivite_thermique_app_FH_lin.txt" << std::endl; |
1822 |
|
|
ofstrm << "paste -d ' ' resultats/data_graph/tmp_erosion_fem_maill_lin resultats/data_graph/tmp_erosion_Conductivite_thermique_app_GH_lin > resultats/data_graph/erosion_Conductivite_thermique_app_GH_lin.txt" << std::endl; |
1823 |
|
|
ofstrm << "sed -i '1s/^/Couche Nb_ves Fvol(moy ±) Lambda(moy ±)\\n/' resultats/data_graph/erosion_Conductivite_thermique_app_FH_lin.txt" << std::endl; |
1824 |
|
|
ofstrm << "sed -i '1s/^/Couche Nb_ves Fvol(moy ±) Lambda(moy ±)\\n/' resultats/data_graph/erosion_Conductivite_thermique_app_GH_lin.txt" << std::endl; |
1825 |
|
|
ofstrm << "rm resultats/data_graph/tmp_erosion_Conductivite_thermique_app_FH_lin resultats/data_graph/tmp_erosion_Conductivite_thermique_app_GH_lin" << std::endl; |
1826 |
|
|
ofstrm << "awk 'NR>=2 {print $2}' resultats/conductivite_thermique/FH/lin/c_$COUCHE_REF/liste_Conductivite_thermique.txt > resultats/data_graph/tmp_Conductivite_thermique_app_FH_lin" << std::endl; |
1827 |
|
|
ofstrm << "awk 'NR>=2 {print $2}' resultats/conductivite_thermique/GH/lin/c_$COUCHE_REF/liste_Conductivite_thermique.txt > resultats/data_graph/tmp_Conductivite_thermique_app_GH_lin" << std::endl; |
1828 |
|
|
ofstrm << "paste -d ' ' resultats/data_graph/tmp_liste_fem_maill_lin resultats/data_graph/tmp_Conductivite_thermique_app_FH_lin > resultats/data_graph/liste_Conductivite_thermique_app_FH_lin.txt" << std::endl; |
1829 |
|
|
ofstrm << "paste -d ' ' resultats/data_graph/tmp_liste_fem_maill_lin resultats/data_graph/tmp_Conductivite_thermique_app_GH_lin > resultats/data_graph/liste_Conductivite_thermique_app_GH_lin.txt" << std::endl; |
1830 |
|
|
ofstrm << "sed -i '1s/^/# Fvol Lambda_app\\n/' resultats/data_graph/liste_Conductivite_thermique_app_FH_lin.txt" << std::endl; |
1831 |
|
|
ofstrm << "sed -i '1s/^/# Fvol Lambda_app\\n/' resultats/data_graph/liste_Conductivite_thermique_app_GH_lin.txt" << std::endl; |
1832 |
|
|
ofstrm << "rm resultats/data_graph/tmp_Conductivite_thermique_app_FH_lin resultats/data_graph/tmp_Conductivite_thermique_app_GH_lin" << std::endl; |
1833 |
|
|
} |
1834 |
|
|
ofstrm << "rm resultats/data_graph/tmp_erosion_fem_maill_lin resultats/data_graph/tmp_liste_fem_maill_lin" << std::endl; |
1835 |
couturad |
951 |
} |
1836 |
|
|
if(fem_maill_quad) |
1837 |
|
|
{ |
1838 |
couturad |
968 |
ofstrm << "awk 'NR>=2 {print $1,$2,$7,$8}' resultats/maillage_fem/quad/cumul_erosion_FEM_maillage_Particule.txt > resultats/data_graph/tmp_erosion_fem_maill_quad" << std::endl; |
1839 |
couturad |
969 |
ofstrm << "awk 'NR>=2 {print $1,$3}' resultats/maillage_fem/quad/c_$COUCHE_REF/liste_FEM_maillage_Particule.txt > resultats/data_graph/tmp_liste_fem_maill_quad" << std::endl; |
1840 |
couturad |
971 |
if(etude_mecanique) |
1841 |
|
|
{ |
1842 |
|
|
ofstrm << "#Module elasticite" << std::endl; |
1843 |
|
|
ofstrm << "awk 'NR>=2 {print $3,$4,$7,$8,$11,$12,$15,$16}' resultats/modules_elasticite/CH/quad/cumul_erosion_Modules_elasticite.txt > resultats/data_graph/tmp_erosion_Modules_app_CH_quad" << std::endl; |
1844 |
|
|
ofstrm << "awk 'NR>=2 {print $3,$4,$7,$8,$11,$12,$15,$16}' resultats/modules_elasticite/DH/quad/cumul_erosion_Modules_elasticite.txt > resultats/data_graph/tmp_erosion_Modules_app_DH_quad" << std::endl; |
1845 |
|
|
ofstrm << "paste -d ' ' resultats/data_graph/tmp_erosion_fem_maill_quad resultats/data_graph/tmp_erosion_Modules_app_CH_quad > resultats/data_graph/erosion_Modules_app_CH_quad.txt" << std::endl; |
1846 |
|
|
ofstrm << "paste -d ' ' resultats/data_graph/tmp_erosion_fem_maill_quad resultats/data_graph/tmp_erosion_Modules_app_DH_quad > resultats/data_graph/erosion_Modules_app_DH_quad.txt" << std::endl; |
1847 |
|
|
ofstrm << "sed -i '1s/^/Couche Nb_ves Fvol(moy ±) Eapp(moy ±) Nuapp(moy ±) Gapp(moy ±) Kapp(moy ±)\\n/' resultats/data_graph/erosion_Modules_app_CH_quad.txt" << std::endl; |
1848 |
|
|
ofstrm << "sed -i '1s/^/Couche Nb_ves Fvol(moy ±) Eapp(moy ±) Nuapp(moy ±) Gapp(moy ±) Kapp(moy ±)\\n/' resultats/data_graph/erosion_Modules_app_DH_quad.txt" << std::endl; |
1849 |
|
|
ofstrm << "rm resultats/data_graph/tmp_erosion_Modules_app_CH_quad resultats/data_graph/tmp_erosion_Modules_app_DH_quad" << std::endl; |
1850 |
|
|
ofstrm << "awk 'NR>=2 {print $2,$3,$4,$5}' resultats/modules_elasticite/CH/quad/c_$COUCHE_REF/liste_Modules_elasticite.txt > resultats/data_graph/tmp_Modules_app_CH_quad" << std::endl; |
1851 |
|
|
ofstrm << "awk 'NR>=2 {print $2,$3,$4,$5}' resultats/modules_elasticite/DH/quad/c_$COUCHE_REF/liste_Modules_elasticite.txt > resultats/data_graph/tmp_Modules_app_DH_quad" << std::endl; |
1852 |
|
|
ofstrm << "paste -d ' ' resultats/data_graph/tmp_liste_fem_maill_quad resultats/data_graph/tmp_Modules_app_CH_quad > resultats/data_graph/liste_Modules_app_CH_quad.txt" << std::endl; |
1853 |
|
|
ofstrm << "paste -d ' ' resultats/data_graph/tmp_liste_fem_maill_quad resultats/data_graph/tmp_Modules_app_DH_quad > resultats/data_graph/liste_Modules_app_DH_quad.txt" << std::endl; |
1854 |
|
|
ofstrm << "sed -i '1s/^/# Fvol Eapp Nuapp Gapp Kapp\\n/' resultats/data_graph/liste_Modules_app_CH_quad.txt" << std::endl; |
1855 |
|
|
ofstrm << "sed -i '1s/^/# Fvol Eapp Nuapp Gapp Kapp\\n/' resultats/data_graph/liste_Modules_app_DH_quad.txt" << std::endl; |
1856 |
|
|
ofstrm << "rm resultats/data_graph/tmp_Modules_app_CH_quad resultats/data_graph/tmp_Modules_app_DH_quad" << std::endl; |
1857 |
|
|
} |
1858 |
|
|
if(etude_thermique) |
1859 |
|
|
{ |
1860 |
|
|
ofstrm << "#Conductivite thermique" << std::endl; |
1861 |
|
|
ofstrm << "awk 'NR>=2 {print $3,$4}' resultats/conductivite_thermique/FH/quad/cumul_erosion_Conductivite_thermique.txt > resultats/data_graph/tmp_erosion_Conductivite_thermique_app_FH_quad" << std::endl; |
1862 |
|
|
ofstrm << "awk 'NR>=2 {print $3,$4}' resultats/conductivite_thermique/GH/quad/cumul_erosion_Conductivite_thermique.txt > resultats/data_graph/tmp_erosion_Conductivite_thermique_app_GH_quad" << std::endl; |
1863 |
|
|
ofstrm << "paste -d ' ' resultats/data_graph/tmp_erosion_fem_maill_quad resultats/data_graph/tmp_erosion_Conductivite_thermique_app_FH_quad > resultats/data_graph/erosion_Conductivite_thermique_app_FH_quad.txt" << std::endl; |
1864 |
|
|
ofstrm << "paste -d ' ' resultats/data_graph/tmp_erosion_fem_maill_quad resultats/data_graph/tmp_erosion_Conductivite_thermique_app_GH_quad > resultats/data_graph/erosion_Conductivite_thermique_app_GH_quad.txt" << std::endl; |
1865 |
|
|
ofstrm << "sed -i '1s/^/Couche Nb_ves Fvol(moy ±) Lambda(moy ±)\\n/' resultats/data_graph/erosion_Conductivite_thermique_app_FH_quad.txt" << std::endl; |
1866 |
|
|
ofstrm << "sed -i '1s/^/Couche Nb_ves Fvol(moy ±) Lambda(moy ±)\\n/' resultats/data_graph/erosion_Conductivite_thermique_app_GH_quad.txt" << std::endl; |
1867 |
|
|
ofstrm << "rm resultats/data_graph/tmp_erosion_Conductivite_thermique_app_FH_quad resultats/data_graph/tmp_erosion_Conductivite_thermique_app_GH_quad" << std::endl; |
1868 |
|
|
ofstrm << "awk 'NR>=2 {print $2}' resultats/conductivite_thermique/FH/quad/c_$COUCHE_REF/liste_Conductivite_thermique.txt > resultats/data_graph/tmp_Conductivite_thermique_app_FH_quad" << std::endl; |
1869 |
|
|
ofstrm << "awk 'NR>=2 {print $2}' resultats/conductivite_thermique/GH/quad/c_$COUCHE_REF/liste_Conductivite_thermique.txt > resultats/data_graph/tmp_Conductivite_thermique_app_GH_quad" << std::endl; |
1870 |
|
|
ofstrm << "paste -d ' ' resultats/data_graph/tmp_liste_fem_maill_quad resultats/data_graph/tmp_Conductivite_thermique_app_FH_quad > resultats/data_graph/liste_Conductivite_thermique_app_FH_quad.txt" << std::endl; |
1871 |
|
|
ofstrm << "paste -d ' ' resultats/data_graph/tmp_liste_fem_maill_quad resultats/data_graph/tmp_Conductivite_thermique_app_GH_quad > resultats/data_graph/liste_Conductivite_thermique_app_GH_quad.txt" << std::endl; |
1872 |
|
|
ofstrm << "sed -i '1s/^/# Fvol Lambda_app\\n/' resultats/data_graph/liste_Conductivite_thermique_app_FH_quad.txt" << std::endl; |
1873 |
|
|
ofstrm << "sed -i '1s/^/# Fvol Lambda_app\\n/' resultats/data_graph/liste_Conductivite_thermique_app_GH_quad.txt" << std::endl; |
1874 |
|
|
ofstrm << "rm resultats/data_graph/tmp_Conductivite_thermique_app_FH_quad resultats/data_graph/tmp_Conductivite_thermique_app_GH_quad" << std::endl; |
1875 |
|
|
} |
1876 |
|
|
ofstrm << "rm resultats/data_graph/tmp_erosion_fem_maill_quad resultats/data_graph/tmp_liste_fem_maill_quad" << std::endl; |
1877 |
couturad |
951 |
} |
1878 |
couturad |
974 |
ofstrm << "gnuplot -e \"couche_ref=0\" fig.gnu" << std::endl; |
1879 |
couturad |
968 |
if(fonc_affiche!=NULL) fonc_affiche((char*)"produire_figures"); |
1880 |
|
|
system((char*)"chmod 744 produire_figures"); |
1881 |
couturad |
964 |
ofstrm.close(); |
1882 |
|
|
|
1883 |
couturad |
951 |
|
1884 |
couturad |
968 |
ofstrm.open((char*)"fig.gnu",std::ios::out|std::ios::trunc); |
1885 |
couturad |
951 |
ofstrm.precision(16); |
1886 |
|
|
ofstrm.setf(std::ios::showpoint); |
1887 |
couturad |
993 |
ofstrm << "" << std::endl; |
1888 |
|
|
ofstrm << "" << std::endl; |
1889 |
couturad |
974 |
ofstrm << "if (!exists(\"couche_ref\")) couche_ref=0" << std::endl; |
1890 |
|
|
ofstrm << "print sprintf(\"couche ref : c_%i\",couche_ref)" << std::endl; |
1891 |
couturad |
951 |
ofstrm << "" << std::endl; |
1892 |
couturad |
993 |
ofstrm << "set terminal pdf size 8,4 font 'Helvetica,20'" << std::endl; |
1893 |
|
|
ofstrm << "set lmargin 10" << std::endl; |
1894 |
|
|
ofstrm << "set rmargin 15 " << std::endl; |
1895 |
couturad |
982 |
ofstrm << "set key outside" << std::endl; |
1896 |
couturad |
993 |
ofstrm << "set grid" << std::endl; |
1897 |
couturad |
982 |
ofstrm << "c1(c)=c" << std::endl; |
1898 |
|
|
ofstrm << "c2(c)=1.0-c" << std::endl; |
1899 |
|
|
ofstrm << "" << std::endl; |
1900 |
couturad |
993 |
ofstrm << "E1=real(system(sprintf(\"grep 'Mu_E' parametre/materiau/param_mat_particule.txt | awk '{print $3/(1000000000)}'\")))" << std::endl; |
1901 |
|
|
ofstrm << "nu1=real(system(sprintf(\"grep 'Mu_nu' parametre/materiau/param_mat_particule.txt | awk '{print $3}'\")))" << std::endl; |
1902 |
|
|
ofstrm << "E2=real(system(sprintf(\"grep 'Mu_E' parametre/materiau/param_mat_matrice.txt | awk '{print $3/(1000000000)}'\")))" << std::endl; |
1903 |
|
|
ofstrm << "nu2=real(system(sprintf(\"grep 'Mu_nu' parametre/materiau/param_mat_matrice.txt | awk '{print $3}'\")))" << std::endl; |
1904 |
|
|
ofstrm << "print sprintf(\"E1 = %f GPa, nu1 = %f\",E1,nu1)" << std::endl; |
1905 |
|
|
ofstrm << "print sprintf(\"E2 = %f GPa, nu2 = %f\",E2,nu2)" << std::endl; |
1906 |
|
|
ofstrm << "transfk(E,nu)=E/(3.0*(1.0-2.0*nu))" << std::endl; |
1907 |
|
|
ofstrm << "transfmu(E,nu)=E*0.5/(1.0+nu)" << std::endl; |
1908 |
|
|
ofstrm << "transfE(k,mu)=9.0*mu*k/(3.0*k+mu)" << std::endl; |
1909 |
|
|
ofstrm << "transfnu(k,mu)=(3.0*k-2.0*mu)/(6.0*k+2.0*mu)" << std::endl; |
1910 |
|
|
ofstrm << "fk(c,mu)=k1+c2(c)*(k2-k1)/(1.0+c1(c)*(k2-k1)/(k1+4.0*mu/3.0))" << std::endl; |
1911 |
|
|
ofstrm << "fm(c,k,mu)=mu1+c2(c)*(mu2-mu1)/(1.0+c1(c)*(mu2-mu1)/(mu1+(1.5/((1.0/mu)+(10.0/(9.0*k+8.0*mu))))))" << std::endl; |
1912 |
|
|
ofstrm << "mu1=transfmu(E1,nu1)" << std::endl; |
1913 |
|
|
ofstrm << "k1=transfk(E1,nu1)" << std::endl; |
1914 |
|
|
ofstrm << "mu2=transfmu(E2,nu2)" << std::endl; |
1915 |
|
|
ofstrm << "k2=transfk(E2,nu2)" << std::endl; |
1916 |
|
|
ofstrm << "k_voigt(c)=c1(c)*k1+c2(c)*k2" << std::endl; |
1917 |
|
|
ofstrm << "mu_voigt(c)=c1(c)*mu1+c2(c)*mu2" << std::endl; |
1918 |
|
|
ofstrm << "k_reuss(c)=(k1*k2)/(c1(c)*k2+c2(c)*k1)" << std::endl; |
1919 |
|
|
ofstrm << "mu_reuss(c)=(mu1*mu2)/(c1(c)*mu2+c2(c)*mu1)" << std::endl; |
1920 |
|
|
ofstrm << "E_voigt(c)=transfE(k_voigt(c),mu_voigt(c))" << std::endl; |
1921 |
|
|
ofstrm << "nu_voigt(c)=transfnu(k_voigt(c),mu_voigt(c))" << std::endl; |
1922 |
|
|
ofstrm << "E_reuss(c)=transfE(k_reuss(c),mu_reuss(c))" << std::endl; |
1923 |
|
|
ofstrm << "nu_reuss(c)=transfnu(k_reuss(c),mu_reuss(c))" << std::endl; |
1924 |
|
|
ofstrm << "ka(c)=fk(c,mu1)" << std::endl; |
1925 |
|
|
ofstrm << "kb(c)=fk(c,mu2)" << std::endl; |
1926 |
|
|
ofstrm << "k_hs_inf(c)=ka(c)<kb(c) ? ka(c) : kb(c)" << std::endl; |
1927 |
|
|
ofstrm << "k_hs_sup(c)=ka(c)<kb(c) ? kb(c) : ka(c)" << std::endl; |
1928 |
|
|
ofstrm << "mua(c)=((mu1-mu2)*(k1-k2))>=0. ? fm(c,k1,mu1) : fm(c,k2,mu1)" << std::endl; |
1929 |
|
|
ofstrm << "mub(c)=((mu1-mu2)*(k1-k2))>=0. ? fm(c,k2,mu2) : fm(c,k1,mu2)" << std::endl; |
1930 |
|
|
ofstrm << "mu_hs_inf(c)=mua(c)<mub(c) ? mua(c) : mub(c)" << std::endl; |
1931 |
|
|
ofstrm << "mu_hs_sup(c)=mua(c)<mub(c) ? mub(c) : mua(c)" << std::endl; |
1932 |
|
|
ofstrm << "E_hs_inf(c)=transfE(k_hs_inf(c),mu_hs_inf(c))" << std::endl; |
1933 |
|
|
ofstrm << "E_hs_sup(c)=transfE(k_hs_sup(c),mu_hs_sup(c))" << std::endl; |
1934 |
|
|
ofstrm << "lambda1=real(system(sprintf(\"grep 'Mu_Lambda' parametre/materiau/param_mat_particule.txt | awk '{print $3}'\")))" << std::endl; |
1935 |
|
|
ofstrm << "lambda2=real(system(sprintf(\"grep 'Mu_Lambda' parametre/materiau/param_mat_matrice.txt | awk '{print $3}'\")))" << std::endl; |
1936 |
|
|
ofstrm << "print sprintf(\"lambda1 = %f (W/(mK))\",lambda1)" << std::endl; |
1937 |
|
|
ofstrm << "print sprintf(\"lambda2 = %f (W/(mK))\",lambda2)" << std::endl; |
1938 |
|
|
ofstrm << "lambda_voigt(c)=c1(c)*lambda1+c2(c)*lambda2" << std::endl; |
1939 |
|
|
ofstrm << "lambda_reuss(c)=1.0/((c1(c)/lambda1)+(c2(c)/lambda2))" << std::endl; |
1940 |
|
|
ofstrm << "lambda_a(c)=lambda1+(c2(c)/((1.0/(lambda2-lambda1))+(c1(c)/(3.0*lambda1))))" << std::endl; |
1941 |
|
|
ofstrm << "lambda_b(c)=lambda2+(c1(c)/((1.0/(lambda1-lambda2))+(c2(c)/(3.0*lambda2))))" << std::endl; |
1942 |
|
|
ofstrm << "lambda_hs_inf(c)=(lambda_a(c)>lambda_b(c)) ? lambda_b(c) : lambda_a(c)" << std::endl; |
1943 |
|
|
ofstrm << "lambda_hs_sup(c)=(lambda_a(c)>lambda_b(c)) ? lambda_a(c) : lambda_b(c)" << std::endl; |
1944 |
|
|
ofstrm << "" << std::endl; |
1945 |
|
|
ofstrm << "#print sprintf(\"K_voigt = %f\",k_voigt(0.099))" << std::endl; |
1946 |
|
|
ofstrm << "#print sprintf(\"K_hs_sup = %f\",k_hs_sup(0.099))" << std::endl; |
1947 |
|
|
ofstrm << "#print sprintf(\"K_hs_inf = %f\",k_hs_inf(0.099))" << std::endl; |
1948 |
|
|
ofstrm << "#print sprintf(\"K_reuss = %f\",k_reuss(0.099))" << std::endl; |
1949 |
|
|
ofstrm << "#print sprintf(\"G_voigt = %f\",mu_voigt(0.099))" << std::endl; |
1950 |
|
|
ofstrm << "#print sprintf(\"G_hs_sup = %f\",mu_hs_sup(0.099))" << std::endl; |
1951 |
|
|
ofstrm << "#print sprintf(\"G_hs_inf = %f\",mu_hs_inf(0.099))" << std::endl; |
1952 |
|
|
ofstrm << "#print sprintf(\"G_reuss = %f\",mu_reuss(0.099))" << std::endl; |
1953 |
|
|
ofstrm << "#print sprintf(\"E_voigt = %f\",E_voigt(0.099))" << std::endl; |
1954 |
|
|
ofstrm << "#print sprintf(\"E_hs_sup = %f\",E_hs_sup(0.099))" << std::endl; |
1955 |
|
|
ofstrm << "#print sprintf(\"E_hs_inf = %f\",E_hs_inf(0.099))" << std::endl; |
1956 |
|
|
ofstrm << "#print sprintf(\"E_reuss = %f\",E_reuss(0.099))" << std::endl; |
1957 |
|
|
ofstrm << "#print sprintf(\"lambda_voigt = %f\",lambda_voigt(0.099))" << std::endl; |
1958 |
|
|
ofstrm << "#print sprintf(\"lambda_hs_sup = %f\",lambda_hs_sup(0.099))" << std::endl; |
1959 |
|
|
ofstrm << "#print sprintf(\"lambda_hs_inf = %f\",lambda_hs_inf(0.099))" << std::endl; |
1960 |
|
|
ofstrm << "#print sprintf(\"lambda_reuss = %f\",lambda_reuss(0.099))" << std::endl; |
1961 |
|
|
ofstrm << "" << std::endl; |
1962 |
couturad |
971 |
if(etude_mecanique) |
1963 |
couturad |
951 |
{ |
1964 |
couturad |
993 |
ofstrm << "#Nuage Eapp" << std::endl; |
1965 |
|
|
if(fem_maill_lin) |
1966 |
couturad |
971 |
{ |
1967 |
couturad |
993 |
ofstrm << "set output \"resultats/graph/nuage_Eapp_lin.pdf\"" << std::endl; |
1968 |
|
|
ofstrm << "#set xrange [0:100]" << std::endl; |
1969 |
|
|
ofstrm << "#set yrange [3:6]" << std::endl; |
1970 |
|
|
ofstrm << "#set title \"Module de Young (GPa)\"" << std::endl; |
1971 |
|
|
ofstrm << "set xlabel \"Fraction volumique (%)\"" << std::endl; |
1972 |
|
|
ofstrm << "set ylabel \"Module de Young (GPa)\"" << std::endl; |
1973 |
|
|
ofstrm << "plot \"resultats/data_graph/liste_Modules_app_DH_lin.txt\" u ($2*100):($3/(1000000000)) pt 4 ps 0.5 lc rgb 'blue' lw 1 title \"DH\",\\" << std::endl; |
1974 |
|
|
ofstrm << "\"resultats/data_graph/liste_Modules_app_CH_lin.txt\" u ($2*100):($3/(1000000000)) pt 4 ps 0.5 lc rgb 'red' lw 1 title \"CH\",\\" << std::endl; |
1975 |
|
|
ofstrm << "E_reuss(x/100.0) with line lw 2 lc rgb 'black' lt 2 title \"E_{Reuss}\" ,\\" << std::endl; |
1976 |
|
|
ofstrm << "E_hs_inf(x/100.0) with line lw 2 lc rgb 'black' lt 2 dashtype 2 title \"E_{HS-}\" ,\\" << std::endl; |
1977 |
|
|
ofstrm << "E_hs_sup(x/100.0) with line lw 2 lc rgb 'black' lt 2 dashtype 2 title \"E_{HS+}\" ,\\" << std::endl; |
1978 |
|
|
ofstrm << "E_voigt(x/100.0) with line lw 2 lc rgb 'grey' lt 2 dashtype 2 title \"E_{Voigt}\"" << std::endl; |
1979 |
couturad |
971 |
} |
1980 |
couturad |
993 |
if(fem_maill_quad) |
1981 |
couturad |
971 |
{ |
1982 |
couturad |
993 |
ofstrm << "set output \"resultats/graph/nuage_Eapp_quad.pdf\"" << std::endl; |
1983 |
|
|
ofstrm << "#set xrange [0:100]" << std::endl; |
1984 |
|
|
ofstrm << "#set yrange [3:6]" << std::endl; |
1985 |
|
|
ofstrm << "#set title \"Module de Young (GPa)\"" << std::endl; |
1986 |
|
|
ofstrm << "set xlabel \"Fraction volumique (%)\"" << std::endl; |
1987 |
|
|
ofstrm << "set ylabel \"Module de Young (GPa)\"" << std::endl; |
1988 |
|
|
ofstrm << "plot \"resultats/data_graph/liste_Modules_app_DH_quad.txt\" u ($2*100):($3/(1000000000)) pt 5 ps 0.5 lc rgb 'blue' lw 1 title \"DH\",\\" << std::endl; |
1989 |
|
|
ofstrm << "\"resultats/data_graph/liste_Modules_app_CH_quad.txt\" u ($2*100):($3/(1000000000)) pt 5 ps 0.5 lc rgb 'red' lw 1 title \"CH\",\\" << std::endl; |
1990 |
|
|
ofstrm << "E_reuss(x/100.0) with line lw 2 lc rgb 'black' lt 2 title \"E_{Reuss}\" ,\\" << std::endl; |
1991 |
|
|
ofstrm << "E_hs_inf(x/100.0) with line lw 2 lc rgb 'black' lt 2 dashtype 2 title \"E_{HS-}\" ,\\" << std::endl; |
1992 |
|
|
ofstrm << "E_hs_sup(x/100.0) with line lw 2 lc rgb 'black' lt 2 dashtype 2 title \"E_{HS+}\" ,\\" << std::endl; |
1993 |
|
|
ofstrm << "E_voigt(x/100.0) with line lw 2 lc rgb 'grey' lt 2 dashtype 2 title \"E_{Voigt}\"" << std::endl; |
1994 |
couturad |
971 |
} |
1995 |
couturad |
993 |
if(fem_maill_lin && fem_maill_quad) |
1996 |
couturad |
971 |
{ |
1997 |
couturad |
993 |
ofstrm << "set output \"resultats/graph/nuage_Eapp_lin_quad.pdf\"" << std::endl; |
1998 |
|
|
ofstrm << "#set xrange [0:100]" << std::endl; |
1999 |
|
|
ofstrm << "#set yrange [3:6]" << std::endl; |
2000 |
|
|
ofstrm << "#set title \"Module de Young (GPa)\"" << std::endl; |
2001 |
|
|
ofstrm << "set xlabel \"Fraction volumique (%)\"" << std::endl; |
2002 |
|
|
ofstrm << "set ylabel \"Module de Young (GPa)\"" << std::endl; |
2003 |
|
|
ofstrm << "plot \"resultats/data_graph/liste_Modules_app_DH_lin.txt\" u ($2*100):($3/(1000000000)) pt 4 ps 0.5 lc rgb 'blue' lw 1 title \"DH lin\",\\" << std::endl; |
2004 |
|
|
ofstrm << "\"resultats/data_graph/liste_Modules_app_CH_lin.txt\" u ($2*100):($3/(1000000000)) pt 4 ps 0.5 lc rgb 'red' lw 1 title \"CH lin\",\\" << std::endl; |
2005 |
|
|
ofstrm << "\"resultats/data_graph/liste_Modules_app_DH_quad.txt\" u ($2*100):($3/(1000000000)) pt 5 ps 0.5 lc rgb 'blue' lw 1 title \"DH quad\",\\" << std::endl; |
2006 |
|
|
ofstrm << "\"resultats/data_graph/liste_Modules_app_CH_quad.txt\" u ($2*100):($3/(1000000000)) pt 5 ps 0.5 lc rgb 'red' lw 1 title \"CH quad\",\\" << std::endl; |
2007 |
|
|
ofstrm << "E_reuss(x/100.0) with line lw 2 lc rgb 'black' lt 2 title \"E_{Reuss}\" ,\\" << std::endl; |
2008 |
|
|
ofstrm << "E_hs_inf(x/100.0) with line lw 2 lc rgb 'black' lt 2 dashtype 2 title \"E_{HS-}\" ,\\" << std::endl; |
2009 |
|
|
ofstrm << "E_hs_sup(x/100.0) with line lw 2 lc rgb 'black' lt 2 dashtype 2 title \"E_{HS+}\" ,\\" << std::endl; |
2010 |
|
|
ofstrm << "E_voigt(x/100.0) with line lw 2 lc rgb 'grey' lt 2 dashtype 2 title \"E_{Voigt}\"" << std::endl; |
2011 |
couturad |
971 |
} |
2012 |
|
|
|
2013 |
|
|
ofstrm << "" << std::endl; |
2014 |
couturad |
993 |
ofstrm << "#Cumul Eapp" << std::endl; |
2015 |
|
|
if(fem_maill_lin) |
2016 |
couturad |
971 |
{ |
2017 |
couturad |
993 |
ofstrm << "set output \"resultats/graph/cumul_Eapp_lin.pdf\"" << std::endl; |
2018 |
|
|
ofstrm << "#set title \"Module de Young (GPa)\"" << std::endl; |
2019 |
|
|
ofstrm << "set xlabel \"Fraction volumique (%)\"" << std::endl; |
2020 |
|
|
ofstrm << "set ylabel \"Module de Young (GPa)\"" << std::endl; |
2021 |
|
|
ofstrm << "plot sprintf(\"<(sed -n %ip resultats/data_graph/erosion_Modules_app_DH_lin.txt)\",couche_ref+2) u ($3*100):($5/(1000000000)):($4*100):($6/(1000000000)) with xyerrorbars pt 4 ps 0.5 lc rgb 'blue' lw 1 title \"DH\",\\" << std::endl; |
2022 |
|
|
ofstrm << "sprintf(\"<(sed -n %ip resultats/data_graph/erosion_Modules_app_CH_lin.txt)\",couche_ref+2) u ($3*100):($5/(1000000000)):($4*100):($6/(1000000000)) with xyerrorbars pt 4 ps 0.5 lc rgb 'red' lw 1 title \"CH\",\\" << std::endl; |
2023 |
|
|
ofstrm << "E_reuss(x/100.0) with line lw 2 lc rgb 'grey' lt 2 title \"E_{Reuss}\" ,\\" << std::endl; |
2024 |
|
|
ofstrm << "E_hs_inf(x/100.0) with line lw 2 lc rgb 'black' lt 2 title \"E_{HS-}\" ,\\" << std::endl; |
2025 |
|
|
ofstrm << "E_hs_sup(x/100.0) with line lw 2 lc rgb 'black' lt 2 dashtype 2 title \"E_{HS+}\" ,\\" << std::endl; |
2026 |
|
|
ofstrm << "E_voigt(x/100.0) with line lw 2 lc rgb 'grey' lt 2 dashtype 2 title \"E_{Voigt}\"" << std::endl; |
2027 |
couturad |
971 |
} |
2028 |
couturad |
993 |
if(fem_maill_quad) |
2029 |
couturad |
971 |
{ |
2030 |
couturad |
993 |
ofstrm << "set output \"resultats/graph/cumul_Eapp_quad.pdf\"" << std::endl; |
2031 |
|
|
ofstrm << "#set title \"Module de Young (GPa)\"" << std::endl; |
2032 |
|
|
ofstrm << "set xlabel \"Fraction volumique (%)\"" << std::endl; |
2033 |
|
|
ofstrm << "set ylabel \"Module de Young (GPa)\"" << std::endl; |
2034 |
|
|
ofstrm << "plot sprintf(\"<(sed -n %ip resultats/data_graph/erosion_Modules_app_DH_quad.txt)\",couche_ref+2) u ($3*100):($5/(1000000000)):($4*100):($6/(1000000000)) with xyerrorbars pt 5 ps 0.5 lc rgb 'blue' lw 1 title \"DH\",\\" << std::endl; |
2035 |
|
|
ofstrm << "sprintf(\"<(sed -n %ip resultats/data_graph/erosion_Modules_app_CH_quad.txt)\",couche_ref+2) u ($3*100):($5/(1000000000)):($4*100):($6/(1000000000)) with xyerrorbars pt 5 ps 0.5 lc rgb 'red' lw 1 title \"CH\",\\" << std::endl; |
2036 |
|
|
ofstrm << "E_reuss(x/100.0) with line lw 2 lc rgb 'grey' lt 2 title \"E_{Reuss}\" ,\\" << std::endl; |
2037 |
|
|
ofstrm << "E_hs_inf(x/100.0) with line lw 2 lc rgb 'black' lt 2 title \"E_{HS-}\" ,\\" << std::endl; |
2038 |
|
|
ofstrm << "E_hs_sup(x/100.0) with line lw 2 lc rgb 'black' lt 2 dashtype 2 title \"E_{HS+}\" ,\\" << std::endl; |
2039 |
|
|
ofstrm << "E_voigt(x/100.0) with line lw 2 lc rgb 'grey' lt 2 dashtype 2 title \"E_{Voigt}\"" << std::endl; |
2040 |
couturad |
971 |
} |
2041 |
|
|
if(fem_maill_lin && fem_maill_quad) |
2042 |
|
|
{ |
2043 |
couturad |
993 |
ofstrm << "set output \"resultats/graph/cumul_Eapp_lin_quad.pdf\"" << std::endl; |
2044 |
|
|
ofstrm << "#set title \"Module de Young (GPa)\"" << std::endl; |
2045 |
|
|
ofstrm << "set xlabel \"Fraction volumique (%)\"" << std::endl; |
2046 |
|
|
ofstrm << "set ylabel \"Module de Young (GPa)\"" << std::endl; |
2047 |
|
|
ofstrm << "plot sprintf(\"<(sed -n %ip resultats/data_graph/erosion_Modules_app_DH_lin.txt)\",couche_ref+2) u ($3*100):($5/(1000000000)):($4*100):($6/(1000000000)) with xyerrorbars pt 4 ps 0.5 lc rgb 'blue' lw 1 title \"DH lin\",\\" << std::endl; |
2048 |
|
|
ofstrm << "sprintf(\"<(sed -n %ip resultats/data_graph/erosion_Modules_app_CH_lin.txt)\",couche_ref+2) u ($3*100):($5/(1000000000)):($4*100):($6/(1000000000)) with xyerrorbars pt 4 ps 0.5 lc rgb 'red' lw 1 title \"CH lin\",\\" << std::endl; |
2049 |
|
|
ofstrm << "sprintf(\"<(sed -n %ip resultats/data_graph/erosion_Modules_app_DH_quad.txt)\",couche_ref+2) u ($3*100):($5/(1000000000)):($4*100):($6/(1000000000)) with xyerrorbars pt 5 ps 0.5 lc rgb 'blue' lw 1 title \"DH quad\",\\" << std::endl; |
2050 |
|
|
ofstrm << "sprintf(\"<(sed -n %ip resultats/data_graph/erosion_Modules_app_CH_quad.txt)\",couche_ref+2) u ($3*100):($5/(1000000000)):($4*100):($6/(1000000000)) with xyerrorbars pt 5 ps 0.5 lc rgb 'red' lw 1 title \"CH quad\",\\" << std::endl; |
2051 |
|
|
ofstrm << "E_reuss(x/100.0) with line lw 2 lc rgb 'grey' lt 2 title \"E_{Reuss}\" ,\\" << std::endl; |
2052 |
|
|
ofstrm << "E_hs_inf(x/100.0) with line lw 2 lc rgb 'black' lt 2 title \"E_{HS-}\" ,\\" << std::endl; |
2053 |
|
|
ofstrm << "E_hs_sup(x/100.0) with line lw 2 lc rgb 'black' lt 2 dashtype 2 title \"E_{HS+}\" ,\\" << std::endl; |
2054 |
|
|
ofstrm << "E_voigt(x/100.0) with line lw 2 lc rgb 'grey' lt 2 dashtype 2 title \"E_{Voigt}\"" << std::endl; |
2055 |
couturad |
971 |
} |
2056 |
couturad |
982 |
|
2057 |
couturad |
993 |
ofstrm << "" << std::endl; |
2058 |
|
|
ofstrm << "#Cumul erosion Eapp" << std::endl; |
2059 |
|
|
if(fem_maill_lin) |
2060 |
couturad |
971 |
{ |
2061 |
couturad |
993 |
ofstrm << "set terminal pdf size 10,8 font 'Helvetica,20'" << std::endl; |
2062 |
|
|
ofstrm << "set output \"resultats/graph/multi_cumul_erosion_Eapp_lin.pdf\"" << std::endl; |
2063 |
|
|
ofstrm << "set lmargin 10" << std::endl; |
2064 |
|
|
ofstrm << "set rmargin 18" << std::endl; |
2065 |
|
|
ofstrm << "set multiplot layout 2, 1" << std::endl; |
2066 |
|
|
ofstrm << "#set xrange [0:0.41]" << std::endl; |
2067 |
|
|
ofstrm << "#set title \"Module de Young (GPa)\"" << std::endl; |
2068 |
|
|
ofstrm << "unset xlabel" << std::endl; |
2069 |
|
|
ofstrm << "unset xtic" << std::endl; |
2070 |
|
|
ofstrm << "set ylabel \"Module de Young (GPa)\"" << std::endl; |
2071 |
|
|
ofstrm << "set ytics nomirror" << std::endl; |
2072 |
|
|
ofstrm << "#set yrange [4.0:5]" << std::endl; |
2073 |
|
|
ofstrm << "set size 1,0.7" << std::endl; |
2074 |
|
|
ofstrm << "set origin 0,0.3" << std::endl; |
2075 |
|
|
ofstrm << "plot \"resultats/data_graph/erosion_Modules_app_DH_lin.txt\" u ($1*" << epaisseur_couche_erosion << "):($5/(1000000000)) with linespoint pt 4 ps 1.0 lc rgb 'blue' lw 2 title \"DH\" ,\\" << std::endl; |
2076 |
|
|
ofstrm << "\"resultats/data_graph/erosion_Modules_app_DH_lin.txt\" u ($1*" << epaisseur_couche_erosion << "):($5/(1000000000)):($6/(1000000000)) with yerrorbars pt 4 ps 1.0 lc rgb 'blue' lw 2 notitle ,\\" << std::endl; |
2077 |
|
|
ofstrm << "\"resultats/data_graph/erosion_Modules_app_CH_lin.txt\" u ($1*" << epaisseur_couche_erosion << "):($5/(1000000000)) with linespoint pt 4 ps 1.0 lc rgb 'red' lw 2 title \"CH\" axes x1y1 ,\\" << std::endl; |
2078 |
|
|
ofstrm << "\"resultats/data_graph/erosion_Modules_app_CH_lin.txt\" u ($1*" << epaisseur_couche_erosion << "):($5/(1000000000)):($6/(1000000000)) with yerrorbars pt 4 ps 1.0 lc rgb 'red' lw 2 notitle ,\\" << std::endl; |
2079 |
|
|
ofstrm << "\"resultats/data_graph/erosion_Modules_app_CH_lin.txt\" u ($1*" << epaisseur_couche_erosion << "):(E_hs_inf($3)) with linespoint pt 9 ps 1.0 lw 2 lc rgb 'black' lt 2 title \"E_{HS-}\" #,\\" << std::endl; |
2080 |
|
|
ofstrm << "\"resultats/data_graph/erosion_Modules_app_CH_lin.txt\" u ($1*" << epaisseur_couche_erosion << "):(E_reuss($3)) with line lw 2 lc rgb 'grey' lt 2 title \"E_{Reuss}\" ,\\" << std::endl; |
2081 |
|
|
ofstrm << "\"resultats/data_graph/erosion_Modules_app_CH_lin.txt\" u ($1*" << epaisseur_couche_erosion << "):(E_hs_sup($3)) with line lw 2 lc rgb 'grey' lt 2 dashtype 2 title \"E_{HS+}\" ,\\" << std::endl; |
2082 |
|
|
ofstrm << "\"resultats/data_graph/erosion_Modules_app_CH_lin.txt\" u ($1*" << epaisseur_couche_erosion << "):(E_voigt($3)) with line lw 2 lc rgb 'black' lt 2 dashtype 2 title \"E_{Voigt}\"" << std::endl; |
2083 |
|
|
ofstrm << "set xlabel \"Distance d'erosion d_e\"" << std::endl; |
2084 |
|
|
ofstrm << "set ylabel \"Fraction volumique (%)\"" << std::endl; |
2085 |
|
|
ofstrm << "unset yrange" << std::endl; |
2086 |
|
|
ofstrm << "set size 1,0.3" << std::endl; |
2087 |
|
|
ofstrm << "set origin 0,0" << std::endl; |
2088 |
|
|
ofstrm << "set xtics" << std::endl; |
2089 |
|
|
ofstrm << "#set yrange [9:14]" << std::endl; |
2090 |
|
|
ofstrm << "plot \"resultats/data_graph/erosion_Modules_app_CH_lin.txt\" u ($1*" << epaisseur_couche_erosion << "):($3*100) with linespoint lc rgb 'black' lt 2 lw 2 pt 6 ps 1.0 title \"Frac. Vol.\" ,\\" << std::endl; |
2091 |
|
|
ofstrm << "\"resultats/data_graph/erosion_Modules_app_CH_lin.txt\" u ($1*" << epaisseur_couche_erosion << "):($3*100):($4*100) with yerrorbars lc rgb 'black' pt 6 ps 1.0 notitle" << std::endl; |
2092 |
|
|
ofstrm << "unset yrange" << std::endl; |
2093 |
|
|
ofstrm << "#unset lmargin" << std::endl; |
2094 |
|
|
ofstrm << "#unset rmargin" << std::endl; |
2095 |
|
|
ofstrm << "unset multiplot" << std::endl; |
2096 |
couturad |
971 |
} |
2097 |
couturad |
993 |
if(fem_maill_quad) |
2098 |
couturad |
971 |
{ |
2099 |
couturad |
993 |
ofstrm << "set terminal pdf size 10,8 font 'Helvetica,20'" << std::endl; |
2100 |
|
|
ofstrm << "set output \"resultats/graph/multi_cumul_erosion_Eapp_quad.pdf\"" << std::endl; |
2101 |
|
|
ofstrm << "set lmargin 10" << std::endl; |
2102 |
|
|
ofstrm << "set rmargin 18" << std::endl; |
2103 |
|
|
ofstrm << "set multiplot layout 2, 1" << std::endl; |
2104 |
|
|
ofstrm << "#set xrange [0:0.41]" << std::endl; |
2105 |
|
|
ofstrm << "#set title \"Module de Young (GPa)\"" << std::endl; |
2106 |
|
|
ofstrm << "unset xlabel" << std::endl; |
2107 |
|
|
ofstrm << "unset xtic" << std::endl; |
2108 |
|
|
ofstrm << "set ylabel \"Module de Young (GPa)\"" << std::endl; |
2109 |
|
|
ofstrm << "set ytics nomirror" << std::endl; |
2110 |
|
|
ofstrm << "#set yrange [4.0:5]" << std::endl; |
2111 |
|
|
ofstrm << "set size 1,0.7" << std::endl; |
2112 |
|
|
ofstrm << "set origin 0,0.3" << std::endl; |
2113 |
|
|
ofstrm << "plot \"resultats/data_graph/erosion_Modules_app_DH_quad.txt\" u ($1*" << epaisseur_couche_erosion << "):($5/(1000000000)) with linespoint pt 5 ps 1.0 lc rgb 'blue' lw 2 title \"DH\" ,\\" << std::endl; |
2114 |
|
|
ofstrm << "\"resultats/data_graph/erosion_Modules_app_DH_quad.txt\" u ($1*" << epaisseur_couche_erosion << "):($5/(1000000000)):($6/(1000000000)) with yerrorbars pt 5 ps 1.0 lc rgb 'blue' lw 2 notitle ,\\" << std::endl; |
2115 |
|
|
ofstrm << "\"resultats/data_graph/erosion_Modules_app_CH_quad.txt\" u ($1*" << epaisseur_couche_erosion << "):($5/(1000000000)) with linespoint pt 5 ps 1.0 lc rgb 'red' lw 2 title \"CH\" axes x1y1 ,\\" << std::endl; |
2116 |
|
|
ofstrm << "\"resultats/data_graph/erosion_Modules_app_CH_quad.txt\" u ($1*" << epaisseur_couche_erosion << "):($5/(1000000000)):($6/(1000000000)) with yerrorbars pt 5 ps 1.0 lc rgb 'red' lw 2 notitle ,\\" << std::endl; |
2117 |
|
|
ofstrm << "\"resultats/data_graph/erosion_Modules_app_CH_quad.txt\" u ($1*" << epaisseur_couche_erosion << "):(E_hs_inf($3)) with linespoint pt 9 ps 1.0 lw 2 lc rgb 'black' lt 2 title \"E_{HS-}\" #,\\" << std::endl; |
2118 |
|
|
ofstrm << "\"resultats/data_graph/erosion_Modules_app_CH_quad.txt\" u ($1*" << epaisseur_couche_erosion << "):(E_reuss($3)) with line lw 2 lc rgb 'grey' lt 2 title \"E_{Reuss}\" ,\\" << std::endl; |
2119 |
|
|
ofstrm << "\"resultats/data_graph/erosion_Modules_app_CH_quad.txt\" u ($1*" << epaisseur_couche_erosion << "):(E_hs_sup($3)) with line lw 2 lc rgb 'grey' lt 2 dashtype 2 title \"E_{HS+}\" ,\\" << std::endl; |
2120 |
|
|
ofstrm << "\"resultats/data_graph/erosion_Modules_app_CH_quad.txt\" u ($1*" << epaisseur_couche_erosion << "):(E_voigt($3)) with line lw 2 lc rgb 'black' lt 2 dashtype 2 title \"E_{Voigt}\"" << std::endl; |
2121 |
|
|
ofstrm << "set xlabel \"Distance d'erosion d_e\"" << std::endl; |
2122 |
|
|
ofstrm << "set ylabel \"Fraction volumique (%)\"" << std::endl; |
2123 |
|
|
ofstrm << "unset yrange" << std::endl; |
2124 |
|
|
ofstrm << "set size 1,0.3" << std::endl; |
2125 |
|
|
ofstrm << "set origin 0,0" << std::endl; |
2126 |
|
|
ofstrm << "set xtics" << std::endl; |
2127 |
|
|
ofstrm << "#set yrange [9:14]" << std::endl; |
2128 |
|
|
ofstrm << "plot \"resultats/data_graph/erosion_Modules_app_CH_quad.txt\" u ($1*" << epaisseur_couche_erosion << "):($3*100) with linespoint lc rgb 'black' lt 2 lw 2 pt 7 ps 1.0 title \"Frac. Vol.\" ,\\" << std::endl; |
2129 |
|
|
ofstrm << "\"resultats/data_graph/erosion_Modules_app_CH_quad.txt\" u ($1*" << epaisseur_couche_erosion << "):($3*100):($4*100) with yerrorbars lc rgb 'black' pt 7 ps 1.0 notitle" << std::endl; |
2130 |
|
|
ofstrm << "unset yrange" << std::endl; |
2131 |
|
|
ofstrm << "#unset lmargin" << std::endl; |
2132 |
|
|
ofstrm << "#unset rmargin" << std::endl; |
2133 |
|
|
ofstrm << "unset multiplot" << std::endl; |
2134 |
couturad |
971 |
} |
2135 |
|
|
if(fem_maill_lin && fem_maill_quad) |
2136 |
|
|
{ |
2137 |
couturad |
993 |
ofstrm << "set terminal pdf size 10,8 font 'Helvetica,20'" << std::endl; |
2138 |
|
|
ofstrm << "set output \"resultats/graph/multi_cumul_erosion_Eapp_lin_quad.pdf\"" << std::endl; |
2139 |
|
|
ofstrm << "set lmargin 10" << std::endl; |
2140 |
|
|
ofstrm << "set rmargin 18" << std::endl; |
2141 |
|
|
ofstrm << "set multiplot layout 2, 1" << std::endl; |
2142 |
|
|
ofstrm << "#set xrange [0:0.41]" << std::endl; |
2143 |
|
|
ofstrm << "#set title \"Module de Young (GPa)\"" << std::endl; |
2144 |
|
|
ofstrm << "unset xlabel" << std::endl; |
2145 |
|
|
ofstrm << "unset xtic" << std::endl; |
2146 |
|
|
ofstrm << "set ylabel \"Module de Young (GPa)\"" << std::endl; |
2147 |
|
|
ofstrm << "set ytics nomirror" << std::endl; |
2148 |
|
|
ofstrm << "#set yrange [4.0:5]" << std::endl; |
2149 |
|
|
ofstrm << "set size 1,0.7" << std::endl; |
2150 |
|
|
ofstrm << "set origin 0,0.3" << std::endl; |
2151 |
|
|
ofstrm << "plot \"resultats/data_graph/erosion_Modules_app_DH_lin.txt\" u ($1*" << epaisseur_couche_erosion << "):($5/(1000000000)) with linespoint pt 4 ps 1.0 lc rgb 'blue' lw 2 title \"DH lin\" ,\\" << std::endl; |
2152 |
|
|
ofstrm << "\"resultats/data_graph/erosion_Modules_app_DH_lin.txt\" u ($1*" << epaisseur_couche_erosion << "):($5/(1000000000)):($6/(1000000000)) with yerrorbars pt 4 ps 1.0 lc rgb 'blue' lw 2 notitle ,\\" << std::endl; |
2153 |
|
|
ofstrm << "\"resultats/data_graph/erosion_Modules_app_CH_lin.txt\" u ($1*" << epaisseur_couche_erosion << "):($5/(1000000000)) with linespoint pt 4 ps 1.0 lc rgb 'red' lw 2 title \"CH lin\" axes x1y1 ,\\" << std::endl; |
2154 |
|
|
ofstrm << "\"resultats/data_graph/erosion_Modules_app_CH_lin.txt\" u ($1*" << epaisseur_couche_erosion << "):($5/(1000000000)):($6/(1000000000)) with yerrorbars pt 4 ps 1.0 lc rgb 'red' lw 2 notitle ,\\" << std::endl; |
2155 |
|
|
ofstrm << "\"resultats/data_graph/erosion_Modules_app_DH_quad.txt\" u ($1*" << epaisseur_couche_erosion << "):($5/(1000000000)) with linespoint pt 5 ps 1.0 lc rgb 'blue' lw 2 title \"DH quad\" ,\\" << std::endl; |
2156 |
|
|
ofstrm << "\"resultats/data_graph/erosion_Modules_app_DH_quad.txt\" u ($1*" << epaisseur_couche_erosion << "):($5/(1000000000)):($6/(1000000000)) with yerrorbars pt 5 ps 1.0 lc rgb 'blue' lw 2 notitle ,\\" << std::endl; |
2157 |
|
|
ofstrm << "\"resultats/data_graph/erosion_Modules_app_CH_quad.txt\" u ($1*" << epaisseur_couche_erosion << "):($5/(1000000000)) with linespoint pt 5 ps 1.0 lc rgb 'red' lw 2 title \"CH quad\" axes x1y1 ,\\" << std::endl; |
2158 |
|
|
ofstrm << "\"resultats/data_graph/erosion_Modules_app_CH_quad.txt\" u ($1*" << epaisseur_couche_erosion << "):($5/(1000000000)):($6/(1000000000)) with yerrorbars pt 5 ps 1.0 lc rgb 'red' lw 2 notitle" << std::endl; |
2159 |
|
|
ofstrm << "set xlabel \"Distance d'erosion d_e\"" << std::endl; |
2160 |
|
|
ofstrm << "set ylabel \"Fraction volumique (%)\"" << std::endl; |
2161 |
|
|
ofstrm << "unset yrange" << std::endl; |
2162 |
|
|
ofstrm << "set size 1,0.3" << std::endl; |
2163 |
|
|
ofstrm << "set origin 0,0" << std::endl; |
2164 |
|
|
ofstrm << "set xtics" << std::endl; |
2165 |
|
|
ofstrm << "#set yrange [9:14]" << std::endl; |
2166 |
|
|
ofstrm << "plot \"resultats/data_graph/erosion_Modules_app_CH_lin.txt\" u ($1*" << epaisseur_couche_erosion << "):($3*100) with linespoint lc rgb 'black' lt 2 lw 2 pt 6 ps 1.0 title \"Frac. Vol. lin\" ,\\" << std::endl; |
2167 |
|
|
ofstrm << "\"resultats/data_graph/erosion_Modules_app_CH_lin.txt\" u ($1*" << epaisseur_couche_erosion << "):($3*100):($4*100) with yerrorbars lc rgb 'black' pt 6 ps 1.0 notitle ,\\" << std::endl; |
2168 |
|
|
ofstrm << "\"resultats/data_graph/erosion_Modules_app_CH_quad.txt\" u ($1*" << epaisseur_couche_erosion << "):($3*100) with linespoint lc rgb 'black' lt 2 lw 2 pt 7 ps 1.0 title \"Frac. Vol. quad\" ,\\" << std::endl; |
2169 |
|
|
ofstrm << "\"resultats/data_graph/erosion_Modules_app_CH_quad.txt\" u ($1*" << epaisseur_couche_erosion << "):($3*100):($4*100) with yerrorbars lc rgb 'black' pt 7 ps 1.0 notitle" << std::endl; |
2170 |
|
|
ofstrm << "unset yrange" << std::endl; |
2171 |
|
|
ofstrm << "unset multiplot" << std::endl; |
2172 |
couturad |
971 |
} |
2173 |
couturad |
982 |
|
2174 |
couturad |
993 |
ofstrm << "" << std::endl; |
2175 |
|
|
ofstrm << "#Cumul erosion energie" << std::endl; |
2176 |
|
|
if(fem_maill_lin) |
2177 |
couturad |
982 |
{ |
2178 |
couturad |
993 |
ofstrm << "set terminal pdf size 10,8 font 'Helvetica,20'" << std::endl; |
2179 |
|
|
ofstrm << "set output \"resultats/graph/multi_cumul_erosion_energie_lin.pdf\"" << std::endl; |
2180 |
|
|
ofstrm << "set lmargin 10" << std::endl; |
2181 |
|
|
ofstrm << "set rmargin 18" << std::endl; |
2182 |
|
|
ofstrm << "set multiplot layout 2, 1" << std::endl; |
2183 |
|
|
ofstrm << "#set xrange [0:0.41]" << std::endl; |
2184 |
|
|
ofstrm << "unset xlabel" << std::endl; |
2185 |
|
|
ofstrm << "unset xtic" << std::endl; |
2186 |
|
|
ofstrm << "set ytics nomirror" << std::endl; |
2187 |
|
|
ofstrm << "#set yrange [-20:5]" << std::endl; |
2188 |
|
|
ofstrm << "set size 1,0.7" << std::endl; |
2189 |
|
|
ofstrm << "set origin 0,0.3" << std::endl; |
2190 |
|
|
ofstrm << "set xlabel \"Distance d'erosion d_e\"" << std::endl; |
2191 |
|
|
ofstrm << "set ylabel \"Ecart d'energie relatif (%)\"" << std::endl; |
2192 |
|
|
ofstrm << "plot \"resultats/champ/CH/dev/lin/cumul_erosion_Champ_ENERGIE_ecart.txt\" u ($1*0.02):($3*100.0) with linespoint pt 4 ps 0.5 lc rgb 'red' dt 1 lw 1 title \"CH dev\",\\" << std::endl; |
2193 |
|
|
ofstrm << "\"resultats/champ/CH/sph/lin/cumul_erosion_Champ_ENERGIE_ecart.txt\" u ($1*0.02):($3*100.0) with linespoint pt 4 ps 0.5 lc rgb 'red' dt 2 lw 1 title \"CH sph\",\\" << std::endl; |
2194 |
|
|
ofstrm << "\"resultats/champ/DH/dev/lin/cumul_erosion_Champ_ENERGIE_ecart.txt\" u ($1*0.02):($3*100.0) with linespoint pt 4 ps 0.5 lc rgb 'blue' dt 1 lw 1 title \"DH dev\",\\" << std::endl; |
2195 |
|
|
ofstrm << "\"resultats/champ/DH/sph/lin/cumul_erosion_Champ_ENERGIE_ecart.txt\" u ($1*0.02):($3*100.0) with linespoint pt 4 ps 0.5 lc rgb 'blue' dt 2 lw 1 title \"DH sph\"" << std::endl; |
2196 |
|
|
ofstrm << "set xlabel \"Distance d'erosion d_e\"" << std::endl; |
2197 |
|
|
ofstrm << "set ylabel \"Fraction volumique (%)\"" << std::endl; |
2198 |
|
|
ofstrm << "unset yrange" << std::endl; |
2199 |
|
|
ofstrm << "set size 1,0.3" << std::endl; |
2200 |
|
|
ofstrm << "set origin 0,0" << std::endl; |
2201 |
|
|
ofstrm << "set xtics" << std::endl; |
2202 |
|
|
ofstrm << "#set yrange [9:14]" << std::endl; |
2203 |
|
|
ofstrm << "plot \"resultats/data_graph/erosion_Modules_app_CH_lin.txt\" u ($1*" << epaisseur_couche_erosion << "):($3*100) with linespoint lc rgb 'black' lt 2 lw 2 pt 6 ps 1.0 title \"Frac. Vol.\" ,\\" << std::endl; |
2204 |
|
|
ofstrm << "\"resultats/data_graph/erosion_Modules_app_CH_lin.txt\" u ($1*" << epaisseur_couche_erosion << "):($3*100):($4*100) with yerrorbars lc rgb 'black' pt 6 ps 1.0 notitle" << std::endl; |
2205 |
|
|
ofstrm << "unset yrange" << std::endl; |
2206 |
|
|
ofstrm << "unset multiplot" << std::endl; |
2207 |
couturad |
982 |
} |
2208 |
couturad |
993 |
if(fem_maill_quad) |
2209 |
couturad |
982 |
{ |
2210 |
couturad |
993 |
ofstrm << "set terminal pdf size 10,8 font 'Helvetica,20'" << std::endl; |
2211 |
|
|
ofstrm << "set output \"resultats/graph/multi_cumul_erosion_energie_quad.pdf\"" << std::endl; |
2212 |
|
|
ofstrm << "set lmargin 10" << std::endl; |
2213 |
|
|
ofstrm << "set rmargin 18" << std::endl; |
2214 |
|
|
ofstrm << "set multiplot layout 2, 1" << std::endl; |
2215 |
|
|
ofstrm << "#set xrange [0:0.41]" << std::endl; |
2216 |
|
|
ofstrm << "unset xlabel" << std::endl; |
2217 |
|
|
ofstrm << "unset xtic" << std::endl; |
2218 |
|
|
ofstrm << "set ytics nomirror" << std::endl; |
2219 |
|
|
ofstrm << "#set yrange [-20:5]" << std::endl; |
2220 |
|
|
ofstrm << "set size 1,0.7" << std::endl; |
2221 |
|
|
ofstrm << "set origin 0,0.3" << std::endl; |
2222 |
|
|
ofstrm << "set xlabel \"Distance d'erosion d_e\"" << std::endl; |
2223 |
|
|
ofstrm << "set ylabel \"Ecart d'energie relatif (%)\"" << std::endl; |
2224 |
|
|
ofstrm << "plot \"resultats/champ/CH/dev/quad/cumul_erosion_Champ_ENERGIE_ecart.txt\" u ($1*0.02):($3*100.0) with linespoint pt 5 ps 0.5 lc rgb 'red' dt 1 lw 1 title \"CH dev\",\\" << std::endl; |
2225 |
|
|
ofstrm << "\"resultats/champ/CH/sph/quad/cumul_erosion_Champ_ENERGIE_ecart.txt\" u ($1*0.02):($3*100.0) with linespoint pt 5 ps 0.5 lc rgb 'red' dt 2 lw 1 title \"CH sph\",\\" << std::endl; |
2226 |
|
|
ofstrm << "\"resultats/champ/DH/dev/quad/cumul_erosion_Champ_ENERGIE_ecart.txt\" u ($1*0.02):($3*100.0) with linespoint pt 5 ps 0.5 lc rgb 'blue' dt 1 lw 1 title \"DH dev\",\\" << std::endl; |
2227 |
|
|
ofstrm << "\"resultats/champ/DH/sph/quad/cumul_erosion_Champ_ENERGIE_ecart.txt\" u ($1*0.02):($3*100.0) with linespoint pt 5 ps 0.5 lc rgb 'blue' dt 2 lw 1 title \"DH sph\"" << std::endl; |
2228 |
|
|
ofstrm << "set xlabel \"Distance d'erosion d_e\"" << std::endl; |
2229 |
|
|
ofstrm << "set ylabel \"Fraction volumique (%)\"" << std::endl; |
2230 |
|
|
ofstrm << "unset yrange" << std::endl; |
2231 |
|
|
ofstrm << "set size 1,0.3" << std::endl; |
2232 |
|
|
ofstrm << "set origin 0,0" << std::endl; |
2233 |
|
|
ofstrm << "set xtics" << std::endl; |
2234 |
|
|
ofstrm << "#set yrange [9:14]" << std::endl; |
2235 |
|
|
ofstrm << "plot \"resultats/data_graph/erosion_Modules_app_CH_quad.txt\" u ($1*" << epaisseur_couche_erosion << "):($3*100) with linespoint lc rgb 'black' lt 2 lw 2 pt 7 ps 1.0 title \"Frac. Vol.\" ,\\" << std::endl; |
2236 |
|
|
ofstrm << "\"resultats/data_graph/erosion_Modules_app_CH_quad.txt\" u ($1*" << epaisseur_couche_erosion << "):($3*100):($4*100) with yerrorbars lc rgb 'black' pt 7 ps 1.0 notitle" << std::endl; |
2237 |
|
|
ofstrm << "unset yrange" << std::endl; |
2238 |
|
|
ofstrm << "unset multiplot" << std::endl; |
2239 |
couturad |
982 |
} |
2240 |
couturad |
971 |
if(fem_maill_lin && fem_maill_quad) |
2241 |
|
|
{ |
2242 |
couturad |
993 |
ofstrm << "set terminal pdf size 10,8 font 'Helvetica,20'" << std::endl; |
2243 |
|
|
ofstrm << "set output \"resultats/graph/multi_cumul_erosion_energie_lin_quad.pdf\"" << std::endl; |
2244 |
|
|
ofstrm << "set lmargin 10" << std::endl; |
2245 |
|
|
ofstrm << "set rmargin 18" << std::endl; |
2246 |
|
|
ofstrm << "set multiplot layout 2, 1" << std::endl; |
2247 |
|
|
ofstrm << "#set xrange [0:0.41]" << std::endl; |
2248 |
|
|
ofstrm << "unset xlabel" << std::endl; |
2249 |
|
|
ofstrm << "unset xtic" << std::endl; |
2250 |
|
|
ofstrm << "set ytics nomirror" << std::endl; |
2251 |
|
|
ofstrm << "#set yrange [-20:5]" << std::endl; |
2252 |
|
|
ofstrm << "set size 1,0.7" << std::endl; |
2253 |
|
|
ofstrm << "set origin 0,0.3" << std::endl; |
2254 |
|
|
ofstrm << "set xlabel \"Distance d'erosion d_e\"" << std::endl; |
2255 |
|
|
ofstrm << "set ylabel \"Ecart d'energie relatif (%)\"" << std::endl; |
2256 |
|
|
ofstrm << "plot \"resultats/champ/CH/dev/lin/cumul_erosion_Champ_ENERGIE_ecart.txt\" u ($1*0.02):($3*100.0) with linespoint pt 4 ps 0.5 lc rgb 'red' dt 1 lw 1 title \"CH dev lin\",\\" << std::endl; |
2257 |
|
|
ofstrm << "\"resultats/champ/CH/sph/lin/cumul_erosion_Champ_ENERGIE_ecart.txt\" u ($1*0.02):($3*100.0) with linespoint pt 4 ps 0.5 lc rgb 'red' dt 2 lw 1 title \"CH sph lin\",\\" << std::endl; |
2258 |
|
|
ofstrm << "\"resultats/champ/DH/dev/lin/cumul_erosion_Champ_ENERGIE_ecart.txt\" u ($1*0.02):($3*100.0) with linespoint pt 4 ps 0.5 lc rgb 'blue' dt 1 lw 1 title \"DH dev lin\",\\" << std::endl; |
2259 |
|
|
ofstrm << "\"resultats/champ/DH/sph/lin/cumul_erosion_Champ_ENERGIE_ecart.txt\" u ($1*0.02):($3*100.0) with linespoint pt 4 ps 0.5 lc rgb 'blue' dt 2 lw 1 title \"DH sph lin\",\\" << std::endl; |
2260 |
|
|
ofstrm << "\"resultats/champ/CH/dev/quad/cumul_erosion_Champ_ENERGIE_ecart.txt\" u ($1*0.02):($3*100.0) with linespoint pt 5 ps 0.5 lc rgb 'red' dt 1 lw 1 title \"CH dev quad\",\\" << std::endl; |
2261 |
|
|
ofstrm << "\"resultats/champ/CH/sph/quad/cumul_erosion_Champ_ENERGIE_ecart.txt\" u ($1*0.02):($3*100.0) with linespoint pt 5 ps 0.5 lc rgb 'red' dt 2 lw 1 title \"CH sph quad\",\\" << std::endl; |
2262 |
|
|
ofstrm << "\"resultats/champ/DH/dev/quad/cumul_erosion_Champ_ENERGIE_ecart.txt\" u ($1*0.02):($3*100.0) with linespoint pt 5 ps 0.5 lc rgb 'blue' dt 1 lw 1 title \"DH dev quad\",\\" << std::endl; |
2263 |
|
|
ofstrm << "\"resultats/champ/DH/sph/quad/cumul_erosion_Champ_ENERGIE_ecart.txt\" u ($1*0.02):($3*100.0) with linespoint pt 5 ps 0.5 lc rgb 'blue' dt 2 lw 1 title \"DH sph quad\"" << std::endl; |
2264 |
|
|
ofstrm << "set xlabel \"Distance d'erosion d_e\"" << std::endl; |
2265 |
|
|
ofstrm << "set ylabel \"Fraction volumique (%)\"" << std::endl; |
2266 |
|
|
ofstrm << "unset yrange" << std::endl; |
2267 |
|
|
ofstrm << "set size 1,0.3" << std::endl; |
2268 |
|
|
ofstrm << "set origin 0,0" << std::endl; |
2269 |
|
|
ofstrm << "set xtics" << std::endl; |
2270 |
|
|
ofstrm << "#set yrange [9:14]" << std::endl; |
2271 |
|
|
ofstrm << "plot \"resultats/data_graph/erosion_Modules_app_CH_lin.txt\" u ($1*" << epaisseur_couche_erosion << "):($3*100) with linespoint lc rgb 'black' lt 2 lw 2 pt 7 ps 1.0 title \"Frac. Vol. lin\" ,\\" << std::endl; |
2272 |
|
|
ofstrm << "\"resultats/data_graph/erosion_Modules_app_CH_lin.txt\" u ($1*" << epaisseur_couche_erosion << "):($3*100):($4*100) with yerrorbars lc rgb 'black' pt 7 ps 1.0 notitle ,\\" << std::endl; |
2273 |
|
|
ofstrm << "\"resultats/data_graph/erosion_Modules_app_CH_quad.txt\" u ($1*" << epaisseur_couche_erosion << "):($3*100) with linespoint lc rgb 'black' lt 2 lw 2 pt 7 ps 1.0 title \"Frac. Vol. quad\" ,\\" << std::endl; |
2274 |
|
|
ofstrm << "\"resultats/data_graph/erosion_Modules_app_CH_quad.txt\" u ($1*" << epaisseur_couche_erosion << "):($3*100):($4*100) with yerrorbars lc rgb 'black' pt 7 ps 1.0 notitle" << std::endl; |
2275 |
|
|
ofstrm << "unset yrange" << std::endl; |
2276 |
|
|
ofstrm << "unset multiplot" << std::endl; |
2277 |
couturad |
971 |
} |
2278 |
couturad |
982 |
|
2279 |
couturad |
993 |
ofstrm << "" << std::endl; |
2280 |
|
|
ofstrm << "#Cumul erosion fraction volumique" << std::endl; |
2281 |
|
|
if(fem_maill_lin) |
2282 |
couturad |
982 |
{ |
2283 |
couturad |
993 |
ofstrm << "set terminal pdf size 8,4 font 'Helvetica,20'" << std::endl; |
2284 |
|
|
ofstrm << "set output \"resultats/graph/cumul_erosion_fraction_volumique_lin.pdf\"" << std::endl; |
2285 |
|
|
ofstrm << "#set xrange [0:0.41]" << std::endl; |
2286 |
|
|
ofstrm << "set xlabel \"Distance d'erosion d_e\"" << std::endl; |
2287 |
|
|
ofstrm << "set ylabel \"Fraction volumique (%)\"" << std::endl; |
2288 |
|
|
ofstrm << "set xtics" << std::endl; |
2289 |
|
|
ofstrm << "plot \"resultats/data_graph/erosion_Modules_app_CH_lin.txt\" u ($1*" << epaisseur_couche_erosion << "):($3*100) with linespoint lc rgb 'black' lt 2 lw 2 pt 6 ps 1.0 title \"Frac. Vol.\" ,\\" << std::endl; |
2290 |
|
|
ofstrm << "\"resultats/data_graph/erosion_Modules_app_CH_lin.txt\" u ($1*" << epaisseur_couche_erosion << "):($3*100):($4*100) with yerrorbars lc rgb 'black' pt 6 ps 1.0 notitle" << std::endl; |
2291 |
couturad |
982 |
} |
2292 |
couturad |
993 |
if(fem_maill_quad) |
2293 |
couturad |
982 |
{ |
2294 |
couturad |
993 |
ofstrm << "set terminal pdf size 8,4 font 'Helvetica,20'" << std::endl; |
2295 |
|
|
ofstrm << "set output \"resultats/graph/cumul_erosion_fraction_volumique_quad.pdf\"" << std::endl; |
2296 |
|
|
ofstrm << "#set xrange [0:0.41]" << std::endl; |
2297 |
|
|
ofstrm << "set xlabel \"Distance d'erosion d_e\"" << std::endl; |
2298 |
|
|
ofstrm << "set ylabel \"Fraction volumique (%)\"" << std::endl; |
2299 |
|
|
ofstrm << "set xtics" << std::endl; |
2300 |
|
|
ofstrm << "plot \"resultats/data_graph/erosion_Modules_app_CH_quad.txt\" u ($1*" << epaisseur_couche_erosion << "):($3*100) with linespoint lc rgb 'black' lt 2 lw 2 pt 7 ps 1.0 title \"Frac. Vol.\" ,\\" << std::endl; |
2301 |
|
|
ofstrm << "\"resultats/data_graph/erosion_Modules_app_CH_quad.txt\" u ($1*" << epaisseur_couche_erosion << "):($3*100):($4*100) with yerrorbars lc rgb 'black' pt 7 ps 1.0 notitle" << std::endl; |
2302 |
couturad |
982 |
} |
2303 |
couturad |
974 |
if(fem_maill_lin && fem_maill_quad) |
2304 |
|
|
{ |
2305 |
couturad |
993 |
ofstrm << "set terminal pdf size 8,4 font 'Helvetica,20'" << std::endl; |
2306 |
|
|
ofstrm << "set output \"resultats/graph/cumul_erosion_fraction_volumique_lin_quad.pdf\"" << std::endl; |
2307 |
|
|
ofstrm << "#set xrange [0:0.41]" << std::endl; |
2308 |
|
|
ofstrm << "set xlabel \"Distance d'erosion d_e\"" << std::endl; |
2309 |
|
|
ofstrm << "set ylabel \"Fraction volumique (%)\"" << std::endl; |
2310 |
|
|
ofstrm << "set xtics" << std::endl; |
2311 |
|
|
ofstrm << "plot \"resultats/data_graph/erosion_Modules_app_CH_lin.txt\" u ($1*" << epaisseur_couche_erosion << "):($3*100) with linespoint lc rgb 'black' lt 2 lw 2 pt 6 ps 1.0 title \"Frac. Vol. lin\" ,\\" << std::endl; |
2312 |
|
|
ofstrm << "\"resultats/data_graph/erosion_Modules_app_CH_lin.txt\" u ($1*" << epaisseur_couche_erosion << "):($3*100):($4*100) with yerrorbars lc rgb 'black' pt 6 ps 1.0 notitle ,\\" << std::endl; |
2313 |
|
|
ofstrm << "\"resultats/data_graph/erosion_Modules_app_CH_quad.txt\" u ($1*" << epaisseur_couche_erosion << "):($3*100) with linespoint lc rgb 'black' lt 2 lw 2 pt 7 ps 1.0 title \"Frac. Vol. quad\" ,\\" << std::endl; |
2314 |
|
|
ofstrm << "\"resultats/data_graph/erosion_Modules_app_CH_quad.txt\" u ($1*" << epaisseur_couche_erosion << "):($3*100):($4*100) with yerrorbars lc rgb 'black' pt 7 ps 1.0 notitle" << std::endl; |
2315 |
couturad |
974 |
} |
2316 |
couturad |
993 |
|
2317 |
|
|
ofstrm << "" << std::endl; |
2318 |
|
|
ofstrm << "#Cumul erosion ecart chargement sph" << std::endl; |
2319 |
|
|
if(fem_maill_lin) |
2320 |
couturad |
974 |
{ |
2321 |
couturad |
993 |
ofstrm << "set terminal pdf size 10,8 font 'Helvetica,20'" << std::endl; |
2322 |
|
|
ofstrm << "set output \"resultats/graph/multi_cumul_erosion_ecart_chargement_sph_lin.pdf\"" << std::endl; |
2323 |
|
|
ofstrm << "set lmargin 10" << std::endl; |
2324 |
|
|
ofstrm << "set rmargin 15" << std::endl; |
2325 |
|
|
ofstrm << "set bmargin 2" << std::endl; |
2326 |
|
|
ofstrm << "set multiplot layout 2, 1" << std::endl; |
2327 |
|
|
ofstrm << "#set xrange [0:0.41]" << std::endl; |
2328 |
|
|
ofstrm << "unset xlabel" << std::endl; |
2329 |
|
|
ofstrm << "unset xtic" << std::endl; |
2330 |
|
|
ofstrm << "set ytics nomirror" << std::endl; |
2331 |
|
|
ofstrm << "set size 1,0.5" << std::endl; |
2332 |
|
|
ofstrm << "set origin 0,0.5" << std::endl; |
2333 |
|
|
ofstrm << "set ylabel \"Ecart de chargement (%)\"" << std::endl; |
2334 |
|
|
ofstrm << "set xtics" << std::endl; |
2335 |
|
|
ofstrm << "set grid" << std::endl; |
2336 |
|
|
ofstrm << "plot \"resultats/champ/CH/sph/lin/cumul_erosion_Champ_EPSILON_ecart_chargement_sph.txt\" u ($1*0.02):($3*100.0) with linespoint pt 6 ps 1.0 lc rgb 'web-green' dt 1 lw 1 title \"CH {/Symbol E}\",\\" << std::endl; |
2337 |
|
|
ofstrm << "\"resultats/champ/CH/sph/lin/cumul_erosion_Champ_EPSILON_ecart_chargement_sph.txt\" u ($1*0.02):($3*100.0):($4*100.0) with yerrorbars pt 6 ps 1.0 lc rgb 'web-green' lw 1 notitle,\\" << std::endl; |
2338 |
|
|
ofstrm << "\"resultats/champ/CH/sph/lin/cumul_erosion_Champ_SIGMA_ecart_chargement_sph.txt\" u ($1*0.02):($3*100.0) with linespoint pt 8 ps 1.0 lc rgb 'brown4' dt 2 lw 1 title \"CH {/Symbol S}\",\\" << std::endl; |
2339 |
|
|
ofstrm << "\"resultats/champ/CH/sph/lin/cumul_erosion_Champ_SIGMA_ecart_chargement_sph.txt\" u ($1*0.02):($3*100.0):($4*100.0) with yerrorbars pt 8 ps 1.0 lc rgb 'brown4' lw 1 notitle" << std::endl; |
2340 |
|
|
ofstrm << "set xlabel \"Distance d'erosion d_e\" offset 0,0.2" << std::endl; |
2341 |
|
|
ofstrm << "set ylabel \"Fraction volumique (%)\"" << std::endl; |
2342 |
|
|
ofstrm << "unset yrange" << std::endl; |
2343 |
|
|
ofstrm << "set size 1,0.5" << std::endl; |
2344 |
|
|
ofstrm << "set origin 0,0.03" << std::endl; |
2345 |
|
|
ofstrm << "set bmargin 2" << std::endl; |
2346 |
|
|
ofstrm << "plot \"resultats/champ/DH/sph/lin/cumul_erosion_Champ_EPSILON_ecart_chargement_sph.txt\" u ($1*0.02):($3*100.0) with linespoint pt 6 ps 1.0 lc rgb 'web-green' dt 1 lw 1 title \"DH {/Symbol E}\",\\" << std::endl; |
2347 |
|
|
ofstrm << "\"resultats/champ/DH/sph/lin/cumul_erosion_Champ_EPSILON_ecart_chargement_sph.txt\" u ($1*0.02):($3*100.0):($4*100.0) with yerrorbars pt 6 ps 1.0 lc rgb 'web-green' lw 1 notitle,\\" << std::endl; |
2348 |
|
|
ofstrm << "\"resultats/champ/DH/sph/lin/cumul_erosion_Champ_SIGMA_ecart_chargement_sph.txt\" u ($1*0.02):($3*100.0) with linespoint pt 8 ps 1.0 lc rgb 'brown4' dt 2 lw 1 title \"DH {/Symbol S}\",\\" << std::endl; |
2349 |
|
|
ofstrm << "\"resultats/champ/DH/sph/lin/cumul_erosion_Champ_SIGMA_ecart_chargement_sph.txt\" u ($1*0.02):($3*100.0):($4*100.0) with yerrorbars pt 8 ps 1.0 lc rgb 'brown4' lw 1 notitle" << std::endl; |
2350 |
|
|
ofstrm << "unset yrange" << std::endl; |
2351 |
|
|
ofstrm << "unset tmargin" << std::endl; |
2352 |
|
|
ofstrm << "unset bmargin" << std::endl; |
2353 |
|
|
ofstrm << "unset multiplot" << std::endl; |
2354 |
couturad |
974 |
} |
2355 |
couturad |
993 |
if(fem_maill_quad) |
2356 |
couturad |
974 |
{ |
2357 |
couturad |
993 |
ofstrm << "set terminal pdf size 10,8 font 'Helvetica,20'" << std::endl; |
2358 |
|
|
ofstrm << "set output \"resultats/graph/multi_cumul_erosion_ecart_chargement_sph_quad.pdf\"" << std::endl; |
2359 |
|
|
ofstrm << "set lmargin 10" << std::endl; |
2360 |
|
|
ofstrm << "set rmargin 15" << std::endl; |
2361 |
|
|
ofstrm << "set bmargin 2" << std::endl; |
2362 |
|
|
ofstrm << "set multiplot layout 2, 1" << std::endl; |
2363 |
|
|
ofstrm << "#set xrange [0:0.41]" << std::endl; |
2364 |
|
|
ofstrm << "unset xlabel" << std::endl; |
2365 |
|
|
ofstrm << "unset xtic" << std::endl; |
2366 |
|
|
ofstrm << "set ytics nomirror" << std::endl; |
2367 |
|
|
ofstrm << "set size 1,0.5" << std::endl; |
2368 |
|
|
ofstrm << "set origin 0,0.5" << std::endl; |
2369 |
|
|
ofstrm << "set ylabel \"Ecart de chargement (%)\"" << std::endl; |
2370 |
|
|
ofstrm << "set xtics" << std::endl; |
2371 |
|
|
ofstrm << "set grid" << std::endl; |
2372 |
|
|
ofstrm << "plot \"resultats/champ/CH/sph/quad/cumul_erosion_Champ_EPSILON_ecart_chargement_sph.txt\" u ($1*0.02):($3*100.0) with linespoint pt 7 ps 1.0 lc rgb 'web-green' dt 1 lw 1 title \"CH {/Symbol E}\",\\" << std::endl; |
2373 |
|
|
ofstrm << "\"resultats/champ/CH/sph/quad/cumul_erosion_Champ_EPSILON_ecart_chargement_sph.txt\" u ($1*0.02):($3*100.0):($4*100.0) with yerrorbars pt 7 ps 1.0 lc rgb 'web-green' lw 1 notitle,\\" << std::endl; |
2374 |
|
|
ofstrm << "\"resultats/champ/CH/sph/quad/cumul_erosion_Champ_SIGMA_ecart_chargement_sph.txt\" u ($1*0.02):($3*100.0) with linespoint pt 9 ps 1.0 lc rgb 'brown4' dt 2 lw 1 title \"CH {/Symbol S}\",\\" << std::endl; |
2375 |
|
|
ofstrm << "\"resultats/champ/CH/sph/quad/cumul_erosion_Champ_SIGMA_ecart_chargement_sph.txt\" u ($1*0.02):($3*100.0):($4*100.0) with yerrorbars pt 9 ps 1.0 lc rgb 'brown4' lw 1 notitle" << std::endl; |
2376 |
|
|
ofstrm << "set xlabel \"Distance d'erosion d_e\" offset 0,0.2" << std::endl; |
2377 |
|
|
ofstrm << "set ylabel \"Fraction volumique (%)\"" << std::endl; |
2378 |
|
|
ofstrm << "unset yrange" << std::endl; |
2379 |
|
|
ofstrm << "set size 1,0.5" << std::endl; |
2380 |
|
|
ofstrm << "set origin 0,0.03" << std::endl; |
2381 |
|
|
ofstrm << "set bmargin 2" << std::endl; |
2382 |
|
|
ofstrm << "plot \"resultats/champ/DH/sph/quad/cumul_erosion_Champ_EPSILON_ecart_chargement_sph.txt\" u ($1*0.02):($3*100.0) with linespoint pt 7 ps 1.0 lc rgb 'web-green' dt 1 lw 1 title \"DH {/Symbol E}\",\\" << std::endl; |
2383 |
|
|
ofstrm << "\"resultats/champ/DH/sph/quad/cumul_erosion_Champ_EPSILON_ecart_chargement_sph.txt\" u ($1*0.02):($3*100.0):($4*100.0) with yerrorbars pt 7 ps 1.0 lc rgb 'web-green' lw 1 notitle,\\" << std::endl; |
2384 |
|
|
ofstrm << "\"resultats/champ/DH/sph/quad/cumul_erosion_Champ_SIGMA_ecart_chargement_sph.txt\" u ($1*0.02):($3*100.0) with linespoint pt 9 ps 1.0 lc rgb 'brown4' dt 2 lw 1 title \"DH {/Symbol S}\",\\" << std::endl; |
2385 |
|
|
ofstrm << "\"resultats/champ/DH/sph/quad/cumul_erosion_Champ_SIGMA_ecart_chargement_sph.txt\" u ($1*0.02):($3*100.0):($4*100.0) with yerrorbars pt 9 ps 1.0 lc rgb 'brown4' lw 1 notitle" << std::endl; |
2386 |
|
|
ofstrm << "unset yrange" << std::endl; |
2387 |
|
|
ofstrm << "unset tmargin" << std::endl; |
2388 |
|
|
ofstrm << "unset bmargin" << std::endl; |
2389 |
|
|
ofstrm << "unset multiplot" << std::endl; |
2390 |
couturad |
982 |
} |
2391 |
|
|
if(fem_maill_lin && fem_maill_quad) |
2392 |
|
|
{ |
2393 |
couturad |
993 |
ofstrm << "set terminal pdf size 10,8 font 'Helvetica,20'" << std::endl; |
2394 |
|
|
ofstrm << "set output \"resultats/graph/multi_cumul_erosion_ecart_chargement_sph_lin_quad.pdf\"" << std::endl; |
2395 |
|
|
ofstrm << "set lmargin 10" << std::endl; |
2396 |
|
|
ofstrm << "set rmargin 15" << std::endl; |
2397 |
|
|
ofstrm << "set bmargin 2" << std::endl; |
2398 |
|
|
ofstrm << "set multiplot layout 2, 1" << std::endl; |
2399 |
|
|
ofstrm << "#set xrange [0:0.41]" << std::endl; |
2400 |
|
|
ofstrm << "unset xlabel" << std::endl; |
2401 |
|
|
ofstrm << "unset xtic" << std::endl; |
2402 |
|
|
ofstrm << "set ytics nomirror" << std::endl; |
2403 |
|
|
ofstrm << "set size 1,0.5" << std::endl; |
2404 |
|
|
ofstrm << "set origin 0,0.5" << std::endl; |
2405 |
|
|
ofstrm << "set ylabel \"Ecart de chargement (%)\"" << std::endl; |
2406 |
|
|
ofstrm << "set xtics" << std::endl; |
2407 |
|
|
ofstrm << "set grid" << std::endl; |
2408 |
|
|
ofstrm << "plot \"resultats/champ/CH/sph/lin/cumul_erosion_Champ_EPSILON_ecart_chargement_sph.txt\" u ($1*0.02):($3*100.0) with linespoint pt 6 ps 1.0 lc rgb 'web-green' dt 1 lw 1 title \"CH {/Symbol E} lin\",\\" << std::endl; |
2409 |
|
|
ofstrm << "\"resultats/champ/CH/sph/lin/cumul_erosion_Champ_EPSILON_ecart_chargement_sph.txt\" u ($1*0.02):($3*100.0):($4*100.0) with yerrorbars pt 6 ps 1.0 lc rgb 'web-green' lw 1 notitle,\\" << std::endl; |
2410 |
|
|
ofstrm << "\"resultats/champ/CH/sph/lin/cumul_erosion_Champ_SIGMA_ecart_chargement_sph.txt\" u ($1*0.02):($3*100.0) with linespoint pt 8 ps 1.0 lc rgb 'brown4' dt 2 lw 1 title \"CH {/Symbol S} lin\",\\" << std::endl; |
2411 |
|
|
ofstrm << "\"resultats/champ/CH/sph/lin/cumul_erosion_Champ_SIGMA_ecart_chargement_sph.txt\" u ($1*0.02):($3*100.0):($4*100.0) with yerrorbars pt 8 ps 1.0 lc rgb 'brown4' lw 1 notitle ,\\" << std::endl; |
2412 |
|
|
ofstrm << "\"resultats/champ/CH/sph/quad/cumul_erosion_Champ_EPSILON_ecart_chargement_sph.txt\" u ($1*0.02):($3*100.0) with linespoint pt 7 ps 1.0 lc rgb 'web-green' dt 1 lw 1 title \"CH {/Symbol E} quad\",\\" << std::endl; |
2413 |
|
|
ofstrm << "\"resultats/champ/CH/sph/quad/cumul_erosion_Champ_EPSILON_ecart_chargement_sph.txt\" u ($1*0.02):($3*100.0):($4*100.0) with yerrorbars pt 7 ps 1.0 lc rgb 'web-green' lw 1 notitle,\\" << std::endl; |
2414 |
|
|
ofstrm << "\"resultats/champ/CH/sph/quad/cumul_erosion_Champ_SIGMA_ecart_chargement_sph.txt\" u ($1*0.02):($3*100.0) with linespoint pt 9 ps 1.0 lc rgb 'brown4' dt 2 lw 1 title \"CH {/Symbol S} quad\",\\" << std::endl; |
2415 |
|
|
ofstrm << "\"resultats/champ/CH/sph/quad/cumul_erosion_Champ_SIGMA_ecart_chargement_sph.txt\" u ($1*0.02):($3*100.0):($4*100.0) with yerrorbars pt 9 ps 1.0 lc rgb 'brown4' lw 1 notitle" << std::endl; |
2416 |
|
|
ofstrm << "set xlabel \"Distance d'erosion d_e\" offset 0,0.2" << std::endl; |
2417 |
|
|
ofstrm << "set ylabel \"Fraction volumique (%)\"" << std::endl; |
2418 |
|
|
ofstrm << "unset yrange" << std::endl; |
2419 |
|
|
ofstrm << "set size 1,0.5" << std::endl; |
2420 |
|
|
ofstrm << "set origin 0,0.03" << std::endl; |
2421 |
|
|
ofstrm << "set bmargin 2" << std::endl; |
2422 |
|
|
ofstrm << "plot \"resultats/champ/DH/sph/quad/cumul_erosion_Champ_EPSILON_ecart_chargement_sph.txt\" u ($1*0.02):($3*100.0) with linespoint pt 7 ps 1.0 lc rgb 'web-green' dt 1 lw 1 title \"DH {/Symbol E} lin\",\\" << std::endl; |
2423 |
|
|
ofstrm << "\"resultats/champ/DH/sph/quad/cumul_erosion_Champ_EPSILON_ecart_chargement_sph.txt\" u ($1*0.02):($3*100.0):($4*100.0) with yerrorbars pt 7 ps 1.0 lc rgb 'web-green' lw 1 notitle,\\" << std::endl; |
2424 |
|
|
ofstrm << "\"resultats/champ/DH/sph/quad/cumul_erosion_Champ_SIGMA_ecart_chargement_sph.txt\" u ($1*0.02):($3*100.0) with linespoint pt 9 ps 1.0 lc rgb 'brown4' dt 2 lw 1 title \"DH {/Symbol S} lin\",\\" << std::endl; |
2425 |
|
|
ofstrm << "\"resultats/champ/DH/sph/quad/cumul_erosion_Champ_SIGMA_ecart_chargement_sph.txt\" u ($1*0.02):($3*100.0):($4*100.0) with yerrorbars pt 9 ps 1.0 lc rgb 'brown4' lw 1 notitle ,\\" << std::endl; |
2426 |
|
|
ofstrm << "\"resultats/champ/DH/sph/lin/cumul_erosion_Champ_EPSILON_ecart_chargement_sph.txt\" u ($1*0.02):($3*100.0) with linespoint pt 6 ps 1.0 lc rgb 'web-green' dt 1 lw 1 title \"DH {/Symbol E} quad\",\\" << std::endl; |
2427 |
|
|
ofstrm << "\"resultats/champ/DH/sph/lin/cumul_erosion_Champ_EPSILON_ecart_chargement_sph.txt\" u ($1*0.02):($3*100.0):($4*100.0) with yerrorbars pt 6 ps 1.0 lc rgb 'web-green' lw 1 notitle,\\" << std::endl; |
2428 |
|
|
ofstrm << "\"resultats/champ/DH/sph/lin/cumul_erosion_Champ_SIGMA_ecart_chargement_sph.txt\" u ($1*0.02):($3*100.0) with linespoint pt 8 ps 1.0 lc rgb 'brown4' dt 2 lw 1 title \"DH {/Symbol S} quad\",\\" << std::endl; |
2429 |
|
|
ofstrm << "\"resultats/champ/DH/sph/lin/cumul_erosion_Champ_SIGMA_ecart_chargement_sph.txt\" u ($1*0.02):($3*100.0):($4*100.0) with yerrorbars pt 8 ps 1.0 lc rgb 'brown4' lw 1 notitle" << std::endl; |
2430 |
|
|
ofstrm << "unset yrange" << std::endl; |
2431 |
|
|
ofstrm << "unset tmargin" << std::endl; |
2432 |
|
|
ofstrm << "unset bmargin" << std::endl; |
2433 |
|
|
ofstrm << "unset multiplot" << std::endl; |
2434 |
couturad |
982 |
} |
2435 |
couturad |
993 |
|
2436 |
|
|
ofstrm << "" << std::endl; |
2437 |
|
|
ofstrm << "#Cumul erosion ecart chargement dev" << std::endl; |
2438 |
|
|
if(fem_maill_lin) |
2439 |
couturad |
982 |
{ |
2440 |
couturad |
993 |
ofstrm << "set terminal pdf size 10,8 font 'Helvetica,20'" << std::endl; |
2441 |
|
|
ofstrm << "set output \"resultats/graph/multi_cumul_erosion_ecart_chargement_dev_lin.pdf\"" << std::endl; |
2442 |
|
|
ofstrm << "set lmargin 10" << std::endl; |
2443 |
|
|
ofstrm << "set rmargin 15" << std::endl; |
2444 |
|
|
ofstrm << "set bmargin 2" << std::endl; |
2445 |
|
|
ofstrm << "set multiplot layout 2, 1" << std::endl; |
2446 |
|
|
ofstrm << "#set xrange [0:0.41]" << std::endl; |
2447 |
|
|
ofstrm << "unset xlabel" << std::endl; |
2448 |
|
|
ofstrm << "unset xtic" << std::endl; |
2449 |
|
|
ofstrm << "set ytics nomirror" << std::endl; |
2450 |
|
|
ofstrm << "set size 1,0.5" << std::endl; |
2451 |
|
|
ofstrm << "set origin 0,0.5" << std::endl; |
2452 |
|
|
ofstrm << "set ylabel \"Ecart de chargement (%)\"" << std::endl; |
2453 |
|
|
ofstrm << "set xtics" << std::endl; |
2454 |
|
|
ofstrm << "set grid" << std::endl; |
2455 |
|
|
ofstrm << "plot \"resultats/champ/CH/dev/lin/cumul_erosion_Champ_EPSILON_ecart_chargement_dev.txt\" u ($1*0.02):($3*100.0) with linespoint pt 6 ps 1.0 lc rgb 'web-green' dt 1 lw 1 title \"CH {/Symbol E}\",\\" << std::endl; |
2456 |
|
|
ofstrm << "\"resultats/champ/CH/dev/lin/cumul_erosion_Champ_EPSILON_ecart_chargement_dev.txt\" u ($1*0.02):($3*100.0):($4*100.0) with yerrorbars pt 6 ps 1.0 lc rgb 'web-green' lw 1 notitle,\\" << std::endl; |
2457 |
|
|
ofstrm << "\"resultats/champ/CH/dev/lin/cumul_erosion_Champ_SIGMA_ecart_chargement_dev.txt\" u ($1*0.02):($3*100.0) with linespoint pt 8 ps 1.0 lc rgb 'brown4' dt 2 lw 1 title \"CH {/Symbol S}\",\\" << std::endl; |
2458 |
|
|
ofstrm << "\"resultats/champ/CH/dev/lin/cumul_erosion_Champ_SIGMA_ecart_chargement_dev.txt\" u ($1*0.02):($3*100.0):($4*100.0) with yerrorbars pt 8 ps 1.0 lc rgb 'brown4' lw 1 notitle" << std::endl; |
2459 |
|
|
ofstrm << "set xlabel \"Distance d'erosion d_e\" offset 0,0.2" << std::endl; |
2460 |
|
|
ofstrm << "set ylabel \"Fraction volumique (%)\"" << std::endl; |
2461 |
|
|
ofstrm << "unset yrange" << std::endl; |
2462 |
|
|
ofstrm << "set size 1,0.5" << std::endl; |
2463 |
|
|
ofstrm << "set origin 0,0.03" << std::endl; |
2464 |
|
|
ofstrm << "set bmargin 2" << std::endl; |
2465 |
|
|
ofstrm << "plot \"resultats/champ/DH/dev/lin/cumul_erosion_Champ_EPSILON_ecart_chargement_dev.txt\" u ($1*0.02):($3*100.0) with linespoint pt 6 ps 1.0 lc rgb 'web-green' dt 1 lw 1 title \"DH {/Symbol E}\",\\" << std::endl; |
2466 |
|
|
ofstrm << "\"resultats/champ/DH/dev/lin/cumul_erosion_Champ_EPSILON_ecart_chargement_dev.txt\" u ($1*0.02):($3*100.0):($4*100.0) with yerrorbars pt 6 ps 1.0 lc rgb 'web-green' lw 1 notitle,\\" << std::endl; |
2467 |
|
|
ofstrm << "\"resultats/champ/DH/dev/lin/cumul_erosion_Champ_SIGMA_ecart_chargement_dev.txt\" u ($1*0.02):($3*100.0) with linespoint pt 8 ps 1.0 lc rgb 'brown4' dt 2 lw 1 title \"DH {/Symbol S}\",\\" << std::endl; |
2468 |
|
|
ofstrm << "\"resultats/champ/DH/dev/lin/cumul_erosion_Champ_SIGMA_ecart_chargement_dev.txt\" u ($1*0.02):($3*100.0):($4*100.0) with yerrorbars pt 8 ps 1.0 lc rgb 'brown4' lw 1 notitle" << std::endl; |
2469 |
|
|
ofstrm << "unset yrange" << std::endl; |
2470 |
|
|
ofstrm << "unset tmargin" << std::endl; |
2471 |
|
|
ofstrm << "unset bmargin" << std::endl; |
2472 |
|
|
ofstrm << "unset multiplot" << std::endl; |
2473 |
couturad |
982 |
} |
2474 |
couturad |
993 |
if(fem_maill_quad) |
2475 |
couturad |
982 |
{ |
2476 |
couturad |
993 |
ofstrm << "set terminal pdf size 10,8 font 'Helvetica,20'" << std::endl; |
2477 |
|
|
ofstrm << "set output \"resultats/graph/multi_cumul_erosion_ecart_chargement_dev_quad.pdf\"" << std::endl; |
2478 |
|
|
ofstrm << "set lmargin 10" << std::endl; |
2479 |
|
|
ofstrm << "set rmargin 15" << std::endl; |
2480 |
|
|
ofstrm << "set bmargin 2" << std::endl; |
2481 |
|
|
ofstrm << "set multiplot layout 2, 1" << std::endl; |
2482 |
|
|
ofstrm << "#set xrange [0:0.41]" << std::endl; |
2483 |
|
|
ofstrm << "unset xlabel" << std::endl; |
2484 |
|
|
ofstrm << "unset xtic" << std::endl; |
2485 |
|
|
ofstrm << "set ytics nomirror" << std::endl; |
2486 |
|
|
ofstrm << "set size 1,0.5" << std::endl; |
2487 |
|
|
ofstrm << "set origin 0,0.5" << std::endl; |
2488 |
|
|
ofstrm << "set ylabel \"Ecart de chargement (%)\"" << std::endl; |
2489 |
|
|
ofstrm << "set xtics" << std::endl; |
2490 |
|
|
ofstrm << "set grid" << std::endl; |
2491 |
|
|
ofstrm << "plot \"resultats/champ/CH/dev/quad/cumul_erosion_Champ_EPSILON_ecart_chargement_dev.txt\" u ($1*0.02):($3*100.0) with linespoint pt 7 ps 1.0 lc rgb 'web-green' dt 1 lw 1 title \"CH {/Symbol E}\",\\" << std::endl; |
2492 |
|
|
ofstrm << "\"resultats/champ/CH/dev/quad/cumul_erosion_Champ_EPSILON_ecart_chargement_dev.txt\" u ($1*0.02):($3*100.0):($4*100.0) with yerrorbars pt 7 ps 1.0 lc rgb 'web-green' lw 1 notitle,\\" << std::endl; |
2493 |
|
|
ofstrm << "\"resultats/champ/CH/dev/quad/cumul_erosion_Champ_SIGMA_ecart_chargement_dev.txt\" u ($1*0.02):($3*100.0) with linespoint pt 9 ps 1.0 lc rgb 'brown4' dt 2 lw 1 title \"CH {/Symbol S}\",\\" << std::endl; |
2494 |
|
|
ofstrm << "\"resultats/champ/CH/dev/quad/cumul_erosion_Champ_SIGMA_ecart_chargement_dev.txt\" u ($1*0.02):($3*100.0):($4*100.0) with yerrorbars pt 9 ps 1.0 lc rgb 'brown4' lw 1 notitle" << std::endl; |
2495 |
|
|
ofstrm << "set xlabel \"Distance d'erosion d_e\" offset 0,0.2" << std::endl; |
2496 |
|
|
ofstrm << "set ylabel \"Fraction volumique (%)\"" << std::endl; |
2497 |
|
|
ofstrm << "unset yrange" << std::endl; |
2498 |
|
|
ofstrm << "set size 1,0.5" << std::endl; |
2499 |
|
|
ofstrm << "set origin 0,0.03" << std::endl; |
2500 |
|
|
ofstrm << "set bmargin 2" << std::endl; |
2501 |
|
|
ofstrm << "plot \"resultats/champ/DH/dev/quad/cumul_erosion_Champ_EPSILON_ecart_chargement_dev.txt\" u ($1*0.02):($3*100.0) with linespoint pt 7 ps 1.0 lc rgb 'web-green' dt 1 lw 1 title \"DH {/Symbol E}\",\\" << std::endl; |
2502 |
|
|
ofstrm << "\"resultats/champ/DH/dev/quad/cumul_erosion_Champ_EPSILON_ecart_chargement_dev.txt\" u ($1*0.02):($3*100.0):($4*100.0) with yerrorbars pt 7 ps 1.0 lc rgb 'web-green' lw 1 notitle,\\" << std::endl; |
2503 |
|
|
ofstrm << "\"resultats/champ/DH/dev/quad/cumul_erosion_Champ_SIGMA_ecart_chargement_dev.txt\" u ($1*0.02):($3*100.0) with linespoint pt 9 ps 1.0 lc rgb 'brown4' dt 2 lw 1 title \"DH {/Symbol S}\",\\" << std::endl; |
2504 |
|
|
ofstrm << "\"resultats/champ/DH/dev/quad/cumul_erosion_Champ_SIGMA_ecart_chargement_dev.txt\" u ($1*0.02):($3*100.0):($4*100.0) with yerrorbars pt 9 ps 1.0 lc rgb 'brown4' lw 1 notitle" << std::endl; |
2505 |
|
|
ofstrm << "unset yrange" << std::endl; |
2506 |
|
|
ofstrm << "unset tmargin" << std::endl; |
2507 |
|
|
ofstrm << "unset bmargin" << std::endl; |
2508 |
|
|
ofstrm << "unset multiplot" << std::endl; |
2509 |
couturad |
982 |
} |
2510 |
|
|
if(fem_maill_lin && fem_maill_quad) |
2511 |
|
|
{ |
2512 |
couturad |
993 |
ofstrm << "set terminal pdf size 10,8 font 'Helvetica,20'" << std::endl; |
2513 |
|
|
ofstrm << "set output \"resultats/graph/multi_cumul_erosion_ecart_chargement_dev_lin_quad.pdf\"" << std::endl; |
2514 |
|
|
ofstrm << "set lmargin 10" << std::endl; |
2515 |
|
|
ofstrm << "set rmargin 15" << std::endl; |
2516 |
|
|
ofstrm << "set bmargin 2" << std::endl; |
2517 |
|
|
ofstrm << "set multiplot layout 2, 1" << std::endl; |
2518 |
|
|
ofstrm << "#set xrange [0:0.41]" << std::endl; |
2519 |
|
|
ofstrm << "unset xlabel" << std::endl; |
2520 |
|
|
ofstrm << "unset xtic" << std::endl; |
2521 |
|
|
ofstrm << "set ytics nomirror" << std::endl; |
2522 |
|
|
ofstrm << "set size 1,0.5" << std::endl; |
2523 |
|
|
ofstrm << "set origin 0,0.5" << std::endl; |
2524 |
|
|
ofstrm << "set ylabel \"Ecart de chargement (%)\"" << std::endl; |
2525 |
|
|
ofstrm << "set xtics" << std::endl; |
2526 |
|
|
ofstrm << "set grid" << std::endl; |
2527 |
|
|
ofstrm << "plot \"resultats/champ/CH/dev/lin/cumul_erosion_Champ_EPSILON_ecart_chargement_dev.txt\" u ($1*0.02):($3*100.0) with linespoint pt 6 ps 1.0 lc rgb 'web-green' dt 1 lw 1 title \"CH {/Symbol E} lin\",\\" << std::endl; |
2528 |
|
|
ofstrm << "\"resultats/champ/CH/dev/lin/cumul_erosion_Champ_EPSILON_ecart_chargement_dev.txt\" u ($1*0.02):($3*100.0):($4*100.0) with yerrorbars pt 6 ps 1.0 lc rgb 'web-green' lw 1 notitle,\\" << std::endl; |
2529 |
|
|
ofstrm << "\"resultats/champ/CH/dev/lin/cumul_erosion_Champ_SIGMA_ecart_chargement_dev.txt\" u ($1*0.02):($3*100.0) with linespoint pt 8 ps 1.0 lc rgb 'brown4' dt 2 lw 1 title \"CH {/Symbol S} lin\",\\" << std::endl; |
2530 |
|
|
ofstrm << "\"resultats/champ/CH/dev/lin/cumul_erosion_Champ_SIGMA_ecart_chargement_dev.txt\" u ($1*0.02):($3*100.0):($4*100.0) with yerrorbars pt 8 ps 1.0 lc rgb 'brown4' lw 1 notitle ,\\" << std::endl; |
2531 |
|
|
ofstrm << "\"resultats/champ/CH/dev/quad/cumul_erosion_Champ_EPSILON_ecart_chargement_dev.txt\" u ($1*0.02):($3*100.0) with linespoint pt 7 ps 1.0 lc rgb 'web-green' dt 1 lw 1 title \"CH {/Symbol E} quad\",\\" << std::endl; |
2532 |
|
|
ofstrm << "\"resultats/champ/CH/dev/quad/cumul_erosion_Champ_EPSILON_ecart_chargement_dev.txt\" u ($1*0.02):($3*100.0):($4*100.0) with yerrorbars pt 7 ps 1.0 lc rgb 'web-green' lw 1 notitle,\\" << std::endl; |
2533 |
|
|
ofstrm << "\"resultats/champ/CH/dev/quad/cumul_erosion_Champ_SIGMA_ecart_chargement_dev.txt\" u ($1*0.02):($3*100.0) with linespoint pt 9 ps 1.0 lc rgb 'brown4' dt 2 lw 1 title \"CH {/Symbol S} quad\",\\" << std::endl; |
2534 |
|
|
ofstrm << "\"resultats/champ/CH/dev/quad/cumul_erosion_Champ_SIGMA_ecart_chargement_dev.txt\" u ($1*0.02):($3*100.0):($4*100.0) with yerrorbars pt 9 ps 1.0 lc rgb 'brown4' lw 1 notitle" << std::endl; |
2535 |
|
|
ofstrm << "set xlabel \"Distance d'erosion d_e\" offset 0,0.2" << std::endl; |
2536 |
|
|
ofstrm << "set ylabel \"Fraction volumique (%)\"" << std::endl; |
2537 |
|
|
ofstrm << "unset yrange" << std::endl; |
2538 |
|
|
ofstrm << "set size 1,0.5" << std::endl; |
2539 |
|
|
ofstrm << "set origin 0,0.03" << std::endl; |
2540 |
|
|
ofstrm << "set bmargin 2" << std::endl; |
2541 |
|
|
ofstrm << "plot \"resultats/champ/DH/dev/lin/cumul_erosion_Champ_EPSILON_ecart_chargement_dev.txt\" u ($1*0.02):($3*100.0) with linespoint pt 6 ps 1.0 lc rgb 'web-green' dt 1 lw 1 title \"DH {/Symbol E} lin\",\\" << std::endl; |
2542 |
|
|
ofstrm << "\"resultats/champ/DH/dev/lin/cumul_erosion_Champ_EPSILON_ecart_chargement_dev.txt\" u ($1*0.02):($3*100.0):($4*100.0) with yerrorbars pt 6 ps 1.0 lc rgb 'web-green' lw 1 notitle,\\" << std::endl; |
2543 |
|
|
ofstrm << "\"resultats/champ/DH/dev/lin/cumul_erosion_Champ_SIGMA_ecart_chargement_dev.txt\" u ($1*0.02):($3*100.0) with linespoint pt 8 ps 1.0 lc rgb 'brown4' dt 2 lw 1 title \"DH {/Symbol S} lin\",\\" << std::endl; |
2544 |
|
|
ofstrm << "\"resultats/champ/DH/dev/lin/cumul_erosion_Champ_SIGMA_ecart_chargement_dev.txt\" u ($1*0.02):($3*100.0):($4*100.0) with yerrorbars pt 8 ps 1.0 lc rgb 'brown4' lw 1 notitle ,\\" << std::endl; |
2545 |
|
|
ofstrm << "\"resultats/champ/DH/dev/quad/cumul_erosion_Champ_EPSILON_ecart_chargement_dev.txt\" u ($1*0.02):($3*100.0) with linespoint pt 7 ps 1.0 lc rgb 'web-green' dt 1 lw 1 title \"DH {/Symbol E} quad\",\\" << std::endl; |
2546 |
|
|
ofstrm << "\"resultats/champ/DH/dev/quad/cumul_erosion_Champ_EPSILON_ecart_chargement_dev.txt\" u ($1*0.02):($3*100.0):($4*100.0) with yerrorbars pt 7 ps 1.0 lc rgb 'web-green' lw 1 notitle,\\" << std::endl; |
2547 |
|
|
ofstrm << "\"resultats/champ/DH/dev/quad/cumul_erosion_Champ_SIGMA_ecart_chargement_dev.txt\" u ($1*0.02):($3*100.0) with linespoint pt 9 ps 1.0 lc rgb 'brown4' dt 2 lw 1 title \"DH {/Symbol S} quad\",\\" << std::endl; |
2548 |
|
|
ofstrm << "\"resultats/champ/DH/dev/quad/cumul_erosion_Champ_SIGMA_ecart_chargement_dev.txt\" u ($1*0.02):($3*100.0):($4*100.0) with yerrorbars pt 9 ps 1.0 lc rgb 'brown4' lw 1 notitle" << std::endl; |
2549 |
|
|
ofstrm << "unset yrange" << std::endl; |
2550 |
|
|
ofstrm << "unset tmargin" << std::endl; |
2551 |
|
|
ofstrm << "unset bmargin" << std::endl; |
2552 |
|
|
ofstrm << "unset multiplot" << std::endl; |
2553 |
couturad |
982 |
} |
2554 |
couturad |
993 |
|
2555 |
|
|
ofstrm << "" << std::endl; |
2556 |
|
|
ofstrm << "#Distribution SIGMA sph xx" << std::endl; |
2557 |
|
|
if(fem_maill_lin) |
2558 |
couturad |
982 |
{ |
2559 |
couturad |
993 |
ofstrm << "set terminal pdf size 10,8 font 'Helvetica,20'" << std::endl; |
2560 |
|
|
ofstrm << "set output \"resultats/graph/multi_distribution_SIGMA_sph_xx_lin.pdf\"" << std::endl; |
2561 |
|
|
ofstrm << "set lmargin 10" << std::endl; |
2562 |
|
|
ofstrm << "set rmargin 25" << std::endl; |
2563 |
|
|
ofstrm << "set ylabel \"Densité de probabilité\"" << std::endl; |
2564 |
|
|
ofstrm << "set multiplot layout 3, 1" << std::endl; |
2565 |
|
|
ofstrm << "#set xrange [0.5:2.0]" << std::endl; |
2566 |
|
|
ofstrm << "unset xlabel" << std::endl; |
2567 |
|
|
ofstrm << "unset xtic" << std::endl; |
2568 |
|
|
ofstrm << "set xtics" << std::endl; |
2569 |
|
|
ofstrm << "plot sprintf(\"resultats/champ/DH/sph/lin/c_%i/histo_Champ_SIGMA_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{xx}\",\\" << std::endl; |
2570 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/sph/lin/c_%i/histo_Champ_SIGMA_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{xx}\"" << std::endl; |
2571 |
|
|
ofstrm << "plot sprintf(\"resultats/champ/DH/sph/lin/c_%i/histo_Champ_SIGMA_particule_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{xx} particules\",\\" << std::endl; |
2572 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/sph/lin/c_%i/histo_Champ_SIGMA_particule_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{xx} particules\"" << std::endl; |
2573 |
|
|
ofstrm << "plot sprintf(\"resultats/champ/DH/sph/lin/c_%i/histo_Champ_SIGMA_matrice_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{xx} matrice\",\\" << std::endl; |
2574 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/sph/lin/c_%i/histo_Champ_SIGMA_matrice_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{xx} matrice\"" << std::endl; |
2575 |
|
|
ofstrm << "unset lmargin" << std::endl; |
2576 |
|
|
ofstrm << "unset rmargin" << std::endl; |
2577 |
|
|
ofstrm << "unset multiplot" << std::endl; |
2578 |
couturad |
982 |
} |
2579 |
couturad |
993 |
if(fem_maill_quad) |
2580 |
couturad |
982 |
{ |
2581 |
couturad |
993 |
ofstrm << "set terminal pdf size 10,8 font 'Helvetica,20'" << std::endl; |
2582 |
|
|
ofstrm << "set output \"resultats/graph/multi_distribution_SIGMA_sph_xx_quad.pdf\"" << std::endl; |
2583 |
|
|
ofstrm << "set lmargin 10" << std::endl; |
2584 |
|
|
ofstrm << "set rmargin 25" << std::endl; |
2585 |
|
|
ofstrm << "set ylabel \"Densité de probabilité\"" << std::endl; |
2586 |
|
|
ofstrm << "set multiplot layout 3, 1" << std::endl; |
2587 |
|
|
ofstrm << "#set xrange [0.5:2.0]" << std::endl; |
2588 |
|
|
ofstrm << "unset xlabel" << std::endl; |
2589 |
|
|
ofstrm << "unset xtic" << std::endl; |
2590 |
|
|
ofstrm << "set xtics" << std::endl; |
2591 |
|
|
ofstrm << "plot sprintf(\"resultats/champ/DH/sph/quad/c_%i/histo_Champ_SIGMA_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{xx}\",\\" << std::endl; |
2592 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/sph/quad/c_%i/histo_Champ_SIGMA_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{xx}\"" << std::endl; |
2593 |
|
|
ofstrm << "plot sprintf(\"resultats/champ/DH/sph/quad/c_%i/histo_Champ_SIGMA_particule_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{xx} particules\",\\" << std::endl; |
2594 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/sph/quad/c_%i/histo_Champ_SIGMA_particule_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{xx} particules\"" << std::endl; |
2595 |
|
|
ofstrm << "plot sprintf(\"resultats/champ/DH/sph/quad/c_%i/histo_Champ_SIGMA_matrice_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{xx} matrice\",\\" << std::endl; |
2596 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/sph/quad/c_%i/histo_Champ_SIGMA_matrice_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{xx} matrice\"" << std::endl; |
2597 |
|
|
ofstrm << "unset lmargin" << std::endl; |
2598 |
|
|
ofstrm << "unset rmargin" << std::endl; |
2599 |
|
|
ofstrm << "unset multiplot" << std::endl; |
2600 |
couturad |
982 |
} |
2601 |
|
|
if(fem_maill_lin && fem_maill_quad) |
2602 |
|
|
{ |
2603 |
couturad |
993 |
ofstrm << "set terminal pdf size 10,8 font 'Helvetica,20'" << std::endl; |
2604 |
|
|
ofstrm << "set output \"resultats/graph/multi_distribution_SIGMA_sph_xx_lin_quad.pdf\"" << std::endl; |
2605 |
|
|
ofstrm << "set lmargin 10" << std::endl; |
2606 |
|
|
ofstrm << "set rmargin 25" << std::endl; |
2607 |
|
|
ofstrm << "set ylabel \"Densité de probabilité\"" << std::endl; |
2608 |
|
|
ofstrm << "set multiplot layout 3, 1" << std::endl; |
2609 |
|
|
ofstrm << "#set xrange [0.5:2.0]" << std::endl; |
2610 |
|
|
ofstrm << "unset xlabel" << std::endl; |
2611 |
|
|
ofstrm << "unset xtic" << std::endl; |
2612 |
|
|
ofstrm << "set xtics" << std::endl; |
2613 |
|
|
ofstrm << "plot sprintf(\"resultats/champ/DH/sph/lin/c_%i/histo_Champ_SIGMA_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{xx} lin\",\\" << std::endl; |
2614 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/sph/lin/c_%i/histo_Champ_SIGMA_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{xx} lin\" ,\\" << std::endl; |
2615 |
|
|
ofstrm << "sprintf(\"resultats/champ/DH/sph/quad/c_%i/histo_Champ_SIGMA_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{xx} quad\",\\" << std::endl; |
2616 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/sph/quad/c_%i/histo_Champ_SIGMA_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{xx} quad\"" << std::endl; |
2617 |
|
|
ofstrm << "plot sprintf(\"resultats/champ/DH/sph/lin/c_%i/histo_Champ_SIGMA_particule_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{xx} particules lin\",\\" << std::endl; |
2618 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/sph/lin/c_%i/histo_Champ_SIGMA_particule_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{xx} particules lin\" ,\\" << std::endl; |
2619 |
|
|
ofstrm << "sprintf(\"resultats/champ/DH/sph/quad/c_%i/histo_Champ_SIGMA_particule_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{xx} particules quad\",\\" << std::endl; |
2620 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/sph/quad/c_%i/histo_Champ_SIGMA_particule_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{xx} particules quad\"" << std::endl; |
2621 |
|
|
ofstrm << "plot sprintf(\"resultats/champ/DH/sph/lin/c_%i/histo_Champ_SIGMA_matrice_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{xx} matrice lin\",\\" << std::endl; |
2622 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/sph/lin/c_%i/histo_Champ_SIGMA_matrice_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{xx} matrice lin\",\\" << std::endl; |
2623 |
|
|
ofstrm << "sprintf(\"resultats/champ/DH/sph/quad/c_%i/histo_Champ_SIGMA_matrice_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{xx} matrice quad\",\\" << std::endl; |
2624 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/sph/quad/c_%i/histo_Champ_SIGMA_matrice_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{xx} matrice quad\"" << std::endl; |
2625 |
|
|
ofstrm << "unset lmargin" << std::endl; |
2626 |
|
|
ofstrm << "unset rmargin" << std::endl; |
2627 |
|
|
ofstrm << "unset multiplot" << std::endl; |
2628 |
couturad |
982 |
} |
2629 |
couturad |
974 |
|
2630 |
couturad |
993 |
ofstrm << "" << std::endl; |
2631 |
|
|
ofstrm << "#Distribution SIGMA sph yy" << std::endl; |
2632 |
|
|
if(fem_maill_lin) |
2633 |
couturad |
974 |
{ |
2634 |
couturad |
993 |
ofstrm << "set terminal pdf size 10,8 font 'Helvetica,20'" << std::endl; |
2635 |
|
|
ofstrm << "set output \"resultats/graph/multi_distribution_SIGMA_sph_yy_lin.pdf\"" << std::endl; |
2636 |
|
|
ofstrm << "set lmargin 10" << std::endl; |
2637 |
|
|
ofstrm << "set rmargin 25" << std::endl; |
2638 |
|
|
ofstrm << "set ylabel \"Densité de probabilité\"" << std::endl; |
2639 |
|
|
ofstrm << "set multiplot layout 3, 1" << std::endl; |
2640 |
|
|
ofstrm << "#set xrange [0.5:2.0]" << std::endl; |
2641 |
|
|
ofstrm << "unset xlabel" << std::endl; |
2642 |
|
|
ofstrm << "unset xtic" << std::endl; |
2643 |
|
|
ofstrm << "set xtics" << std::endl; |
2644 |
|
|
ofstrm << "plot sprintf(\"resultats/champ/DH/sph/lin/c_%i/histo_Champ_SIGMA_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{yy}\",\\" << std::endl; |
2645 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/sph/lin/c_%i/histo_Champ_SIGMA_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{yy}\"" << std::endl; |
2646 |
|
|
ofstrm << "plot sprintf(\"resultats/champ/DH/sph/lin/c_%i/histo_Champ_SIGMA_particule_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{yy} particules\",\\" << std::endl; |
2647 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/sph/lin/c_%i/histo_Champ_SIGMA_particule_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{yy} particules\"" << std::endl; |
2648 |
|
|
ofstrm << "plot sprintf(\"resultats/champ/DH/sph/lin/c_%i/histo_Champ_SIGMA_matrice_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{yy} matrice\",\\" << std::endl; |
2649 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/sph/lin/c_%i/histo_Champ_SIGMA_matrice_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{yy} matrice\"" << std::endl; |
2650 |
|
|
ofstrm << "unset lmargin" << std::endl; |
2651 |
|
|
ofstrm << "unset rmargin" << std::endl; |
2652 |
|
|
ofstrm << "unset multiplot" << std::endl; |
2653 |
couturad |
974 |
} |
2654 |
couturad |
993 |
if(fem_maill_quad) |
2655 |
couturad |
974 |
{ |
2656 |
couturad |
993 |
ofstrm << "set terminal pdf size 10,8 font 'Helvetica,20'" << std::endl; |
2657 |
|
|
ofstrm << "set output \"resultats/graph/multi_distribution_SIGMA_sph_yy_quad.pdf\"" << std::endl; |
2658 |
|
|
ofstrm << "set lmargin 10" << std::endl; |
2659 |
|
|
ofstrm << "set rmargin 25" << std::endl; |
2660 |
|
|
ofstrm << "set ylabel \"Densité de probabilité\"" << std::endl; |
2661 |
|
|
ofstrm << "set multiplot layout 3, 1" << std::endl; |
2662 |
|
|
ofstrm << "#set xrange [0.5:2.0]" << std::endl; |
2663 |
|
|
ofstrm << "unset xlabel" << std::endl; |
2664 |
|
|
ofstrm << "unset xtic" << std::endl; |
2665 |
|
|
ofstrm << "set xtics" << std::endl; |
2666 |
|
|
ofstrm << "plot sprintf(\"resultats/champ/DH/sph/quad/c_%i/histo_Champ_SIGMA_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{yy}\",\\" << std::endl; |
2667 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/sph/quad/c_%i/histo_Champ_SIGMA_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{yy}\"" << std::endl; |
2668 |
|
|
ofstrm << "plot sprintf(\"resultats/champ/DH/sph/quad/c_%i/histo_Champ_SIGMA_particule_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{yy} particules\",\\" << std::endl; |
2669 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/sph/quad/c_%i/histo_Champ_SIGMA_particule_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{yy} particules\"" << std::endl; |
2670 |
|
|
ofstrm << "plot sprintf(\"resultats/champ/DH/sph/quad/c_%i/histo_Champ_SIGMA_matrice_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{yy} matrice\",\\" << std::endl; |
2671 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/sph/quad/c_%i/histo_Champ_SIGMA_matrice_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{yy} matrice\"" << std::endl; |
2672 |
|
|
ofstrm << "unset lmargin" << std::endl; |
2673 |
|
|
ofstrm << "unset rmargin" << std::endl; |
2674 |
|
|
ofstrm << "unset multiplot" << std::endl; |
2675 |
couturad |
974 |
} |
2676 |
|
|
if(fem_maill_lin && fem_maill_quad) |
2677 |
|
|
{ |
2678 |
couturad |
993 |
ofstrm << "set terminal pdf size 10,8 font 'Helvetica,20'" << std::endl; |
2679 |
|
|
ofstrm << "set output \"resultats/graph/multi_distribution_SIGMA_sph_yy_lin_quad.pdf\"" << std::endl; |
2680 |
|
|
ofstrm << "set lmargin 10" << std::endl; |
2681 |
|
|
ofstrm << "set rmargin 25" << std::endl; |
2682 |
|
|
ofstrm << "set ylabel \"Densité de probabilité\"" << std::endl; |
2683 |
|
|
ofstrm << "set multiplot layout 3, 1" << std::endl; |
2684 |
|
|
ofstrm << "#set xrange [0.5:2.0]" << std::endl; |
2685 |
|
|
ofstrm << "unset xlabel" << std::endl; |
2686 |
|
|
ofstrm << "unset xtic" << std::endl; |
2687 |
|
|
ofstrm << "set xtics" << std::endl; |
2688 |
|
|
ofstrm << "plot sprintf(\"resultats/champ/DH/sph/lin/c_%i/histo_Champ_SIGMA_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{yy} lin\",\\" << std::endl; |
2689 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/sph/lin/c_%i/histo_Champ_SIGMA_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{yy} lin\" ,\\" << std::endl; |
2690 |
|
|
ofstrm << "sprintf(\"resultats/champ/DH/sph/quad/c_%i/histo_Champ_SIGMA_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{yy} quad\",\\" << std::endl; |
2691 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/sph/quad/c_%i/histo_Champ_SIGMA_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{yy} quad\"" << std::endl; |
2692 |
|
|
ofstrm << "plot sprintf(\"resultats/champ/DH/sph/lin/c_%i/histo_Champ_SIGMA_particule_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{yy} particules lin\",\\" << std::endl; |
2693 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/sph/lin/c_%i/histo_Champ_SIGMA_particule_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{yy} particules lin\" ,\\" << std::endl; |
2694 |
|
|
ofstrm << "sprintf(\"resultats/champ/DH/sph/quad/c_%i/histo_Champ_SIGMA_particule_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{yy} particules quad\",\\" << std::endl; |
2695 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/sph/quad/c_%i/histo_Champ_SIGMA_particule_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{yy} particules quad\"" << std::endl; |
2696 |
|
|
ofstrm << "plot sprintf(\"resultats/champ/DH/sph/lin/c_%i/histo_Champ_SIGMA_matrice_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{yy} matrice lin\",\\" << std::endl; |
2697 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/sph/lin/c_%i/histo_Champ_SIGMA_matrice_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{yy} matrice lin\",\\" << std::endl; |
2698 |
|
|
ofstrm << "sprintf(\"resultats/champ/DH/sph/quad/c_%i/histo_Champ_SIGMA_matrice_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{yy} matrice quad\",\\" << std::endl; |
2699 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/sph/quad/c_%i/histo_Champ_SIGMA_matrice_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{yy} matrice quad\"" << std::endl; |
2700 |
|
|
ofstrm << "unset lmargin" << std::endl; |
2701 |
|
|
ofstrm << "unset rmargin" << std::endl; |
2702 |
|
|
ofstrm << "unset multiplot" << std::endl; |
2703 |
couturad |
974 |
} |
2704 |
|
|
|
2705 |
couturad |
993 |
ofstrm << "" << std::endl; |
2706 |
|
|
ofstrm << "#Distribution SIGMA sph zz" << std::endl; |
2707 |
|
|
if(fem_maill_lin) |
2708 |
couturad |
974 |
{ |
2709 |
couturad |
993 |
ofstrm << "set terminal pdf size 10,8 font 'Helvetica,20'" << std::endl; |
2710 |
|
|
ofstrm << "set output \"resultats/graph/multi_distribution_SIGMA_sph_zz_lin.pdf\"" << std::endl; |
2711 |
|
|
ofstrm << "set lmargin 10" << std::endl; |
2712 |
|
|
ofstrm << "set rmargin 25" << std::endl; |
2713 |
|
|
ofstrm << "set ylabel \"Densité de probabilité\"" << std::endl; |
2714 |
|
|
ofstrm << "set multiplot layout 3, 1" << std::endl; |
2715 |
|
|
ofstrm << "#set xrange [0.5:2.0]" << std::endl; |
2716 |
|
|
ofstrm << "unset xlabel" << std::endl; |
2717 |
|
|
ofstrm << "unset xtic" << std::endl; |
2718 |
|
|
ofstrm << "set xtics" << std::endl; |
2719 |
|
|
ofstrm << "plot sprintf(\"resultats/champ/DH/sph/lin/c_%i/histo_Champ_SIGMA_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{zz}\",\\" << std::endl; |
2720 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/sph/lin/c_%i/histo_Champ_SIGMA_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{zz}\"" << std::endl; |
2721 |
|
|
ofstrm << "plot sprintf(\"resultats/champ/DH/sph/lin/c_%i/histo_Champ_SIGMA_particule_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{zz} particules\",\\" << std::endl; |
2722 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/sph/lin/c_%i/histo_Champ_SIGMA_particule_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{zz} particules\"" << std::endl; |
2723 |
|
|
ofstrm << "plot sprintf(\"resultats/champ/DH/sph/lin/c_%i/histo_Champ_SIGMA_matrice_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{zz} matrice\",\\" << std::endl; |
2724 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/sph/lin/c_%i/histo_Champ_SIGMA_matrice_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{zz} matrice\"" << std::endl; |
2725 |
|
|
ofstrm << "unset lmargin" << std::endl; |
2726 |
|
|
ofstrm << "unset rmargin" << std::endl; |
2727 |
|
|
ofstrm << "unset multiplot" << std::endl; |
2728 |
couturad |
974 |
} |
2729 |
couturad |
993 |
if(fem_maill_quad) |
2730 |
couturad |
974 |
{ |
2731 |
couturad |
993 |
ofstrm << "set terminal pdf size 10,8 font 'Helvetica,20'" << std::endl; |
2732 |
|
|
ofstrm << "set output \"resultats/graph/multi_distribution_SIGMA_sph_zz_quad.pdf\"" << std::endl; |
2733 |
|
|
ofstrm << "set lmargin 10" << std::endl; |
2734 |
|
|
ofstrm << "set rmargin 25" << std::endl; |
2735 |
|
|
ofstrm << "set ylabel \"Densité de probabilité\"" << std::endl; |
2736 |
|
|
ofstrm << "set multiplot layout 3, 1" << std::endl; |
2737 |
|
|
ofstrm << "#set xrange [0.5:2.0]" << std::endl; |
2738 |
|
|
ofstrm << "unset xlabel" << std::endl; |
2739 |
|
|
ofstrm << "unset xtic" << std::endl; |
2740 |
|
|
ofstrm << "set xtics" << std::endl; |
2741 |
|
|
ofstrm << "plot sprintf(\"resultats/champ/DH/sph/quad/c_%i/histo_Champ_SIGMA_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{zz}\",\\" << std::endl; |
2742 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/sph/quad/c_%i/histo_Champ_SIGMA_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{zz}\"" << std::endl; |
2743 |
|
|
ofstrm << "plot sprintf(\"resultats/champ/DH/sph/quad/c_%i/histo_Champ_SIGMA_particule_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{zz} particules\",\\" << std::endl; |
2744 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/sph/quad/c_%i/histo_Champ_SIGMA_particule_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{zz} particules\"" << std::endl; |
2745 |
|
|
ofstrm << "plot sprintf(\"resultats/champ/DH/sph/quad/c_%i/histo_Champ_SIGMA_matrice_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{zz} matrice\",\\" << std::endl; |
2746 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/sph/quad/c_%i/histo_Champ_SIGMA_matrice_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{zz} matrice\"" << std::endl; |
2747 |
|
|
ofstrm << "unset lmargin" << std::endl; |
2748 |
|
|
ofstrm << "unset rmargin" << std::endl; |
2749 |
|
|
ofstrm << "unset multiplot" << std::endl; |
2750 |
couturad |
974 |
} |
2751 |
couturad |
982 |
if(fem_maill_lin && fem_maill_quad) |
2752 |
|
|
{ |
2753 |
couturad |
993 |
ofstrm << "set terminal pdf size 10,8 font 'Helvetica,20'" << std::endl; |
2754 |
|
|
ofstrm << "set output \"resultats/graph/multi_distribution_SIGMA_sph_zz_lin_quad.pdf\"" << std::endl; |
2755 |
|
|
ofstrm << "set lmargin 10" << std::endl; |
2756 |
|
|
ofstrm << "set rmargin 25" << std::endl; |
2757 |
|
|
ofstrm << "set ylabel \"Densité de probabilité\"" << std::endl; |
2758 |
|
|
ofstrm << "set multiplot layout 3, 1" << std::endl; |
2759 |
|
|
ofstrm << "#set xrange [0.5:2.0]" << std::endl; |
2760 |
|
|
ofstrm << "unset xlabel" << std::endl; |
2761 |
|
|
ofstrm << "unset xtic" << std::endl; |
2762 |
|
|
ofstrm << "set xtics" << std::endl; |
2763 |
|
|
ofstrm << "plot sprintf(\"resultats/champ/DH/sph/lin/c_%i/histo_Champ_SIGMA_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{zz} lin\",\\" << std::endl; |
2764 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/sph/lin/c_%i/histo_Champ_SIGMA_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{zz} lin\" ,\\" << std::endl; |
2765 |
|
|
ofstrm << "sprintf(\"resultats/champ/DH/sph/quad/c_%i/histo_Champ_SIGMA_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{zz} quad\",\\" << std::endl; |
2766 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/sph/quad/c_%i/histo_Champ_SIGMA_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{zz} quad\"" << std::endl; |
2767 |
|
|
ofstrm << "plot sprintf(\"resultats/champ/DH/sph/lin/c_%i/histo_Champ_SIGMA_particule_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{zz} particules lin\",\\" << std::endl; |
2768 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/sph/lin/c_%i/histo_Champ_SIGMA_particule_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{zz} particules lin\" ,\\" << std::endl; |
2769 |
|
|
ofstrm << "sprintf(\"resultats/champ/DH/sph/quad/c_%i/histo_Champ_SIGMA_particule_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{zz} particules quad\",\\" << std::endl; |
2770 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/sph/quad/c_%i/histo_Champ_SIGMA_particule_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{zz} particules quad\"" << std::endl; |
2771 |
|
|
ofstrm << "plot sprintf(\"resultats/champ/DH/sph/lin/c_%i/histo_Champ_SIGMA_matrice_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{zz} matrice lin\",\\" << std::endl; |
2772 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/sph/lin/c_%i/histo_Champ_SIGMA_matrice_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{zz} matrice lin\",\\" << std::endl; |
2773 |
|
|
ofstrm << "sprintf(\"resultats/champ/DH/sph/quad/c_%i/histo_Champ_SIGMA_matrice_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{zz} matrice quad\",\\" << std::endl; |
2774 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/sph/quad/c_%i/histo_Champ_SIGMA_matrice_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{zz} matrice quad\"" << std::endl; |
2775 |
|
|
ofstrm << "unset lmargin" << std::endl; |
2776 |
|
|
ofstrm << "unset rmargin" << std::endl; |
2777 |
|
|
ofstrm << "unset multiplot" << std::endl; |
2778 |
couturad |
982 |
} |
2779 |
couturad |
974 |
|
2780 |
couturad |
993 |
ofstrm << "" << std::endl; |
2781 |
|
|
ofstrm << "#Distribution SIGMA sph xy" << std::endl; |
2782 |
|
|
if(fem_maill_lin) |
2783 |
couturad |
974 |
{ |
2784 |
couturad |
993 |
ofstrm << "set terminal pdf size 10,8 font 'Helvetica,20'" << std::endl; |
2785 |
|
|
ofstrm << "set output \"resultats/graph/multi_distribution_SIGMA_sph_xy_lin.pdf\"" << std::endl; |
2786 |
|
|
ofstrm << "set lmargin 10" << std::endl; |
2787 |
|
|
ofstrm << "set rmargin 25" << std::endl; |
2788 |
|
|
ofstrm << "set ylabel \"Densité de probabilité\"" << std::endl; |
2789 |
|
|
ofstrm << "set multiplot layout 3, 1" << std::endl; |
2790 |
|
|
ofstrm << "#set xrange [0.5:2.0]" << std::endl; |
2791 |
|
|
ofstrm << "unset xlabel" << std::endl; |
2792 |
|
|
ofstrm << "unset xtic" << std::endl; |
2793 |
|
|
ofstrm << "set xtics" << std::endl; |
2794 |
|
|
ofstrm << "plot sprintf(\"resultats/champ/DH/sph/lin/c_%i/histo_Champ_SIGMA_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{xy}\",\\" << std::endl; |
2795 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/sph/lin/c_%i/histo_Champ_SIGMA_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{xy}\"" << std::endl; |
2796 |
|
|
ofstrm << "plot sprintf(\"resultats/champ/DH/sph/lin/c_%i/histo_Champ_SIGMA_particule_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{xy} particules\",\\" << std::endl; |
2797 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/sph/lin/c_%i/histo_Champ_SIGMA_particule_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{xy} particules\"" << std::endl; |
2798 |
|
|
ofstrm << "plot sprintf(\"resultats/champ/DH/sph/lin/c_%i/histo_Champ_SIGMA_matrice_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{xy} matrice\",\\" << std::endl; |
2799 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/sph/lin/c_%i/histo_Champ_SIGMA_matrice_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{xy} matrice\"" << std::endl; |
2800 |
|
|
ofstrm << "unset lmargin" << std::endl; |
2801 |
|
|
ofstrm << "unset rmargin" << std::endl; |
2802 |
|
|
ofstrm << "unset multiplot" << std::endl; |
2803 |
couturad |
974 |
} |
2804 |
couturad |
993 |
if(fem_maill_quad) |
2805 |
couturad |
974 |
{ |
2806 |
couturad |
993 |
ofstrm << "set terminal pdf size 10,8 font 'Helvetica,20'" << std::endl; |
2807 |
|
|
ofstrm << "set output \"resultats/graph/multi_distribution_SIGMA_sph_xy_quad.pdf\"" << std::endl; |
2808 |
|
|
ofstrm << "set lmargin 10" << std::endl; |
2809 |
|
|
ofstrm << "set rmargin 25" << std::endl; |
2810 |
|
|
ofstrm << "set ylabel \"Densité de probabilité\"" << std::endl; |
2811 |
|
|
ofstrm << "set multiplot layout 3, 1" << std::endl; |
2812 |
|
|
ofstrm << "#set xrange [0.5:2.0]" << std::endl; |
2813 |
|
|
ofstrm << "unset xlabel" << std::endl; |
2814 |
|
|
ofstrm << "unset xtic" << std::endl; |
2815 |
|
|
ofstrm << "set xtics" << std::endl; |
2816 |
|
|
ofstrm << "plot sprintf(\"resultats/champ/DH/sph/quad/c_%i/histo_Champ_SIGMA_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{xy}\",\\" << std::endl; |
2817 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/sph/quad/c_%i/histo_Champ_SIGMA_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{xy}\"" << std::endl; |
2818 |
|
|
ofstrm << "plot sprintf(\"resultats/champ/DH/sph/quad/c_%i/histo_Champ_SIGMA_particule_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{xy} particules\",\\" << std::endl; |
2819 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/sph/quad/c_%i/histo_Champ_SIGMA_particule_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{xy} particules\"" << std::endl; |
2820 |
|
|
ofstrm << "plot sprintf(\"resultats/champ/DH/sph/quad/c_%i/histo_Champ_SIGMA_matrice_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{xy} matrice\",\\" << std::endl; |
2821 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/sph/quad/c_%i/histo_Champ_SIGMA_matrice_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{xy} matrice\"" << std::endl; |
2822 |
|
|
ofstrm << "unset lmargin" << std::endl; |
2823 |
|
|
ofstrm << "unset rmargin" << std::endl; |
2824 |
|
|
ofstrm << "unset multiplot" << std::endl; |
2825 |
couturad |
974 |
} |
2826 |
couturad |
982 |
if(fem_maill_lin && fem_maill_quad) |
2827 |
|
|
{ |
2828 |
couturad |
993 |
ofstrm << "set terminal pdf size 10,8 font 'Helvetica,20'" << std::endl; |
2829 |
|
|
ofstrm << "set output \"resultats/graph/multi_distribution_SIGMA_sph_xy_lin_quad.pdf\"" << std::endl; |
2830 |
|
|
ofstrm << "set lmargin 10" << std::endl; |
2831 |
|
|
ofstrm << "set rmargin 25" << std::endl; |
2832 |
|
|
ofstrm << "set ylabel \"Densité de probabilité\"" << std::endl; |
2833 |
|
|
ofstrm << "set multiplot layout 3, 1" << std::endl; |
2834 |
|
|
ofstrm << "#set xrange [0.5:2.0]" << std::endl; |
2835 |
|
|
ofstrm << "unset xlabel" << std::endl; |
2836 |
|
|
ofstrm << "unset xtic" << std::endl; |
2837 |
|
|
ofstrm << "set xtics" << std::endl; |
2838 |
|
|
ofstrm << "plot sprintf(\"resultats/champ/DH/sph/lin/c_%i/histo_Champ_SIGMA_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{xy} lin\",\\" << std::endl; |
2839 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/sph/lin/c_%i/histo_Champ_SIGMA_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{xy} lin\" ,\\" << std::endl; |
2840 |
|
|
ofstrm << "sprintf(\"resultats/champ/DH/sph/quad/c_%i/histo_Champ_SIGMA_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{xy} quad\",\\" << std::endl; |
2841 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/sph/quad/c_%i/histo_Champ_SIGMA_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{xy} quad\"" << std::endl; |
2842 |
|
|
ofstrm << "plot sprintf(\"resultats/champ/DH/sph/lin/c_%i/histo_Champ_SIGMA_particule_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{xy} particules lin\",\\" << std::endl; |
2843 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/sph/lin/c_%i/histo_Champ_SIGMA_particule_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{xy} particules lin\" ,\\" << std::endl; |
2844 |
|
|
ofstrm << "sprintf(\"resultats/champ/DH/sph/quad/c_%i/histo_Champ_SIGMA_particule_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{xy} particules quad\",\\" << std::endl; |
2845 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/sph/quad/c_%i/histo_Champ_SIGMA_particule_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{xy} particules quad\"" << std::endl; |
2846 |
|
|
ofstrm << "plot sprintf(\"resultats/champ/DH/sph/lin/c_%i/histo_Champ_SIGMA_matrice_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{xy} matrice lin\",\\" << std::endl; |
2847 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/sph/lin/c_%i/histo_Champ_SIGMA_matrice_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{xy} matrice lin\",\\" << std::endl; |
2848 |
|
|
ofstrm << "sprintf(\"resultats/champ/DH/sph/quad/c_%i/histo_Champ_SIGMA_matrice_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{xy} matrice quad\",\\" << std::endl; |
2849 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/sph/quad/c_%i/histo_Champ_SIGMA_matrice_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{xy} matrice quad\"" << std::endl; |
2850 |
|
|
ofstrm << "unset lmargin" << std::endl; |
2851 |
|
|
ofstrm << "unset rmargin" << std::endl; |
2852 |
|
|
ofstrm << "unset multiplot" << std::endl; |
2853 |
couturad |
982 |
} |
2854 |
|
|
|
2855 |
couturad |
993 |
ofstrm << "" << std::endl; |
2856 |
|
|
ofstrm << "#Distribution SIGMA sph yz" << std::endl; |
2857 |
|
|
if(fem_maill_lin) |
2858 |
couturad |
982 |
{ |
2859 |
couturad |
993 |
ofstrm << "set terminal pdf size 10,8 font 'Helvetica,20'" << std::endl; |
2860 |
|
|
ofstrm << "set output \"resultats/graph/multi_distribution_SIGMA_sph_yz_lin.pdf\"" << std::endl; |
2861 |
|
|
ofstrm << "set lmargin 10" << std::endl; |
2862 |
|
|
ofstrm << "set rmargin 25" << std::endl; |
2863 |
|
|
ofstrm << "set ylabel \"Densité de probabilité\"" << std::endl; |
2864 |
|
|
ofstrm << "set multiplot layout 3, 1" << std::endl; |
2865 |
|
|
ofstrm << "#set xrange [0.5:2.0]" << std::endl; |
2866 |
|
|
ofstrm << "unset xlabel" << std::endl; |
2867 |
|
|
ofstrm << "unset xtic" << std::endl; |
2868 |
|
|
ofstrm << "set xtics" << std::endl; |
2869 |
|
|
ofstrm << "plot sprintf(\"resultats/champ/DH/sph/lin/c_%i/histo_Champ_SIGMA_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{yz}\",\\" << std::endl; |
2870 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/sph/lin/c_%i/histo_Champ_SIGMA_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{yz}\"" << std::endl; |
2871 |
|
|
ofstrm << "plot sprintf(\"resultats/champ/DH/sph/lin/c_%i/histo_Champ_SIGMA_particule_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{yz} particules\",\\" << std::endl; |
2872 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/sph/lin/c_%i/histo_Champ_SIGMA_particule_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{yz} particules\"" << std::endl; |
2873 |
|
|
ofstrm << "plot sprintf(\"resultats/champ/DH/sph/lin/c_%i/histo_Champ_SIGMA_matrice_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{yz} matrice\",\\" << std::endl; |
2874 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/sph/lin/c_%i/histo_Champ_SIGMA_matrice_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{yz} matrice\"" << std::endl; |
2875 |
|
|
ofstrm << "unset lmargin" << std::endl; |
2876 |
|
|
ofstrm << "unset rmargin" << std::endl; |
2877 |
|
|
ofstrm << "unset multiplot" << std::endl; |
2878 |
couturad |
982 |
} |
2879 |
couturad |
993 |
if(fem_maill_quad) |
2880 |
couturad |
982 |
{ |
2881 |
couturad |
993 |
ofstrm << "set terminal pdf size 10,8 font 'Helvetica,20'" << std::endl; |
2882 |
|
|
ofstrm << "set output \"resultats/graph/multi_distribution_SIGMA_sph_yz_quad.pdf\"" << std::endl; |
2883 |
|
|
ofstrm << "set lmargin 10" << std::endl; |
2884 |
|
|
ofstrm << "set rmargin 25" << std::endl; |
2885 |
|
|
ofstrm << "set ylabel \"Densité de probabilité\"" << std::endl; |
2886 |
|
|
ofstrm << "set multiplot layout 3, 1" << std::endl; |
2887 |
|
|
ofstrm << "#set xrange [0.5:2.0]" << std::endl; |
2888 |
|
|
ofstrm << "unset xlabel" << std::endl; |
2889 |
|
|
ofstrm << "unset xtic" << std::endl; |
2890 |
|
|
ofstrm << "set xtics" << std::endl; |
2891 |
|
|
ofstrm << "plot sprintf(\"resultats/champ/DH/sph/quad/c_%i/histo_Champ_SIGMA_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{yz}\",\\" << std::endl; |
2892 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/sph/quad/c_%i/histo_Champ_SIGMA_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{yz}\"" << std::endl; |
2893 |
|
|
ofstrm << "plot sprintf(\"resultats/champ/DH/sph/quad/c_%i/histo_Champ_SIGMA_particule_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{yz} particules\",\\" << std::endl; |
2894 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/sph/quad/c_%i/histo_Champ_SIGMA_particule_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{yz} particules\"" << std::endl; |
2895 |
|
|
ofstrm << "plot sprintf(\"resultats/champ/DH/sph/quad/c_%i/histo_Champ_SIGMA_matrice_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{yz} matrice\",\\" << std::endl; |
2896 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/sph/quad/c_%i/histo_Champ_SIGMA_matrice_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{yz} matrice\"" << std::endl; |
2897 |
|
|
ofstrm << "unset lmargin" << std::endl; |
2898 |
|
|
ofstrm << "unset rmargin" << std::endl; |
2899 |
|
|
ofstrm << "unset multiplot" << std::endl; |
2900 |
couturad |
982 |
} |
2901 |
|
|
if(fem_maill_lin && fem_maill_quad) |
2902 |
|
|
{ |
2903 |
couturad |
993 |
ofstrm << "set terminal pdf size 10,8 font 'Helvetica,20'" << std::endl; |
2904 |
|
|
ofstrm << "set output \"resultats/graph/multi_distribution_SIGMA_sph_yz_lin_quad.pdf\"" << std::endl; |
2905 |
|
|
ofstrm << "set lmargin 10" << std::endl; |
2906 |
|
|
ofstrm << "set rmargin 25" << std::endl; |
2907 |
|
|
ofstrm << "set ylabel \"Densité de probabilité\"" << std::endl; |
2908 |
|
|
ofstrm << "set multiplot layout 3, 1" << std::endl; |
2909 |
|
|
ofstrm << "#set xrange [0.5:2.0]" << std::endl; |
2910 |
|
|
ofstrm << "unset xlabel" << std::endl; |
2911 |
|
|
ofstrm << "unset xtic" << std::endl; |
2912 |
|
|
ofstrm << "set xtics" << std::endl; |
2913 |
|
|
ofstrm << "plot sprintf(\"resultats/champ/DH/sph/lin/c_%i/histo_Champ_SIGMA_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{yz} lin\",\\" << std::endl; |
2914 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/sph/lin/c_%i/histo_Champ_SIGMA_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{yz} lin\" ,\\" << std::endl; |
2915 |
|
|
ofstrm << "sprintf(\"resultats/champ/DH/sph/quad/c_%i/histo_Champ_SIGMA_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{yz} quad\",\\" << std::endl; |
2916 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/sph/quad/c_%i/histo_Champ_SIGMA_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{yz} quad\"" << std::endl; |
2917 |
|
|
ofstrm << "plot sprintf(\"resultats/champ/DH/sph/lin/c_%i/histo_Champ_SIGMA_particule_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{yz} particules lin\",\\" << std::endl; |
2918 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/sph/lin/c_%i/histo_Champ_SIGMA_particule_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{yz} particules lin\" ,\\" << std::endl; |
2919 |
|
|
ofstrm << "sprintf(\"resultats/champ/DH/sph/quad/c_%i/histo_Champ_SIGMA_particule_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{yz} particules quad\",\\" << std::endl; |
2920 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/sph/quad/c_%i/histo_Champ_SIGMA_particule_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{yz} particules quad\"" << std::endl; |
2921 |
|
|
ofstrm << "plot sprintf(\"resultats/champ/DH/sph/lin/c_%i/histo_Champ_SIGMA_matrice_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{yz} matrice lin\",\\" << std::endl; |
2922 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/sph/lin/c_%i/histo_Champ_SIGMA_matrice_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{yz} matrice lin\",\\" << std::endl; |
2923 |
|
|
ofstrm << "sprintf(\"resultats/champ/DH/sph/quad/c_%i/histo_Champ_SIGMA_matrice_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{yz} matrice quad\",\\" << std::endl; |
2924 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/sph/quad/c_%i/histo_Champ_SIGMA_matrice_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{yz} matrice quad\"" << std::endl; |
2925 |
|
|
ofstrm << "unset lmargin" << std::endl; |
2926 |
|
|
ofstrm << "unset rmargin" << std::endl; |
2927 |
|
|
ofstrm << "unset multiplot" << std::endl; |
2928 |
couturad |
982 |
} |
2929 |
couturad |
974 |
|
2930 |
couturad |
993 |
ofstrm << "" << std::endl; |
2931 |
|
|
ofstrm << "#Distribution SIGMA sph xz" << std::endl; |
2932 |
|
|
if(fem_maill_lin) |
2933 |
couturad |
974 |
{ |
2934 |
couturad |
993 |
ofstrm << "set terminal pdf size 10,8 font 'Helvetica,20'" << std::endl; |
2935 |
|
|
ofstrm << "set output \"resultats/graph/multi_distribution_SIGMA_sph_xz_lin.pdf\"" << std::endl; |
2936 |
|
|
ofstrm << "set lmargin 10" << std::endl; |
2937 |
|
|
ofstrm << "set rmargin 25" << std::endl; |
2938 |
|
|
ofstrm << "set ylabel \"Densité de probabilité\"" << std::endl; |
2939 |
|
|
ofstrm << "set multiplot layout 3, 1" << std::endl; |
2940 |
|
|
ofstrm << "#set xrange [0.5:2.0]" << std::endl; |
2941 |
|
|
ofstrm << "unset xlabel" << std::endl; |
2942 |
|
|
ofstrm << "unset xtic" << std::endl; |
2943 |
|
|
ofstrm << "set xtics" << std::endl; |
2944 |
|
|
ofstrm << "plot sprintf(\"resultats/champ/DH/sph/lin/c_%i/histo_Champ_SIGMA_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{xz}\",\\" << std::endl; |
2945 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/sph/lin/c_%i/histo_Champ_SIGMA_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{xz}\"" << std::endl; |
2946 |
|
|
ofstrm << "plot sprintf(\"resultats/champ/DH/sph/lin/c_%i/histo_Champ_SIGMA_particule_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{xz} particules\",\\" << std::endl; |
2947 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/sph/lin/c_%i/histo_Champ_SIGMA_particule_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{xz} particules\"" << std::endl; |
2948 |
|
|
ofstrm << "plot sprintf(\"resultats/champ/DH/sph/lin/c_%i/histo_Champ_SIGMA_matrice_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{xz} matrice\",\\" << std::endl; |
2949 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/sph/lin/c_%i/histo_Champ_SIGMA_matrice_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{xz} matrice\"" << std::endl; |
2950 |
|
|
ofstrm << "unset lmargin" << std::endl; |
2951 |
|
|
ofstrm << "unset rmargin" << std::endl; |
2952 |
|
|
ofstrm << "unset multiplot" << std::endl; |
2953 |
couturad |
974 |
} |
2954 |
couturad |
993 |
if(fem_maill_quad) |
2955 |
couturad |
974 |
{ |
2956 |
couturad |
993 |
ofstrm << "set terminal pdf size 10,8 font 'Helvetica,20'" << std::endl; |
2957 |
|
|
ofstrm << "set output \"resultats/graph/multi_distribution_SIGMA_sph_xz_quad.pdf\"" << std::endl; |
2958 |
|
|
ofstrm << "set lmargin 10" << std::endl; |
2959 |
|
|
ofstrm << "set rmargin 25" << std::endl; |
2960 |
|
|
ofstrm << "set ylabel \"Densité de probabilité\"" << std::endl; |
2961 |
|
|
ofstrm << "set multiplot layout 3, 1" << std::endl; |
2962 |
|
|
ofstrm << "#set xrange [0.5:2.0]" << std::endl; |
2963 |
|
|
ofstrm << "unset xlabel" << std::endl; |
2964 |
|
|
ofstrm << "unset xtic" << std::endl; |
2965 |
|
|
ofstrm << "set xtics" << std::endl; |
2966 |
|
|
ofstrm << "plot sprintf(\"resultats/champ/DH/sph/quad/c_%i/histo_Champ_SIGMA_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{xz}\",\\" << std::endl; |
2967 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/sph/quad/c_%i/histo_Champ_SIGMA_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{xz}\"" << std::endl; |
2968 |
|
|
ofstrm << "plot sprintf(\"resultats/champ/DH/sph/quad/c_%i/histo_Champ_SIGMA_particule_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{xz} particules\",\\" << std::endl; |
2969 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/sph/quad/c_%i/histo_Champ_SIGMA_particule_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{xz} particules\"" << std::endl; |
2970 |
|
|
ofstrm << "plot sprintf(\"resultats/champ/DH/sph/quad/c_%i/histo_Champ_SIGMA_matrice_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{xz} matrice\",\\" << std::endl; |
2971 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/sph/quad/c_%i/histo_Champ_SIGMA_matrice_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{xz} matrice\"" << std::endl; |
2972 |
|
|
ofstrm << "unset lmargin" << std::endl; |
2973 |
|
|
ofstrm << "unset rmargin" << std::endl; |
2974 |
|
|
ofstrm << "unset multiplot" << std::endl; |
2975 |
couturad |
974 |
} |
2976 |
couturad |
982 |
if(fem_maill_lin && fem_maill_quad) |
2977 |
|
|
{ |
2978 |
couturad |
993 |
ofstrm << "set terminal pdf size 10,8 font 'Helvetica,20'" << std::endl; |
2979 |
|
|
ofstrm << "set output \"resultats/graph/multi_distribution_SIGMA_sph_xz_lin_quad.pdf\"" << std::endl; |
2980 |
|
|
ofstrm << "set lmargin 10" << std::endl; |
2981 |
|
|
ofstrm << "set rmargin 25" << std::endl; |
2982 |
|
|
ofstrm << "set ylabel \"Densité de probabilité\"" << std::endl; |
2983 |
|
|
ofstrm << "set multiplot layout 3, 1" << std::endl; |
2984 |
|
|
ofstrm << "#set xrange [0.5:2.0]" << std::endl; |
2985 |
|
|
ofstrm << "unset xlabel" << std::endl; |
2986 |
|
|
ofstrm << "unset xtic" << std::endl; |
2987 |
|
|
ofstrm << "set xtics" << std::endl; |
2988 |
|
|
ofstrm << "plot sprintf(\"resultats/champ/DH/sph/lin/c_%i/histo_Champ_SIGMA_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{xz} lin\",\\" << std::endl; |
2989 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/sph/lin/c_%i/histo_Champ_SIGMA_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{xz} lin\" ,\\" << std::endl; |
2990 |
|
|
ofstrm << "sprintf(\"resultats/champ/DH/sph/quad/c_%i/histo_Champ_SIGMA_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{xz} quad\",\\" << std::endl; |
2991 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/sph/quad/c_%i/histo_Champ_SIGMA_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{xz} quad\"" << std::endl; |
2992 |
|
|
ofstrm << "plot sprintf(\"resultats/champ/DH/sph/lin/c_%i/histo_Champ_SIGMA_particule_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{xz} particules lin\",\\" << std::endl; |
2993 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/sph/lin/c_%i/histo_Champ_SIGMA_particule_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{xz} particules lin\" ,\\" << std::endl; |
2994 |
|
|
ofstrm << "sprintf(\"resultats/champ/DH/sph/quad/c_%i/histo_Champ_SIGMA_particule_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{xz} particules quad\",\\" << std::endl; |
2995 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/sph/quad/c_%i/histo_Champ_SIGMA_particule_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{xz} particules quad\"" << std::endl; |
2996 |
|
|
ofstrm << "plot sprintf(\"resultats/champ/DH/sph/lin/c_%i/histo_Champ_SIGMA_matrice_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{xz} matrice lin\",\\" << std::endl; |
2997 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/sph/lin/c_%i/histo_Champ_SIGMA_matrice_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{xz} matrice lin\",\\" << std::endl; |
2998 |
|
|
ofstrm << "sprintf(\"resultats/champ/DH/sph/quad/c_%i/histo_Champ_SIGMA_matrice_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{xz} matrice quad\",\\" << std::endl; |
2999 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/sph/quad/c_%i/histo_Champ_SIGMA_matrice_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{xz} matrice quad\"" << std::endl; |
3000 |
|
|
ofstrm << "unset lmargin" << std::endl; |
3001 |
|
|
ofstrm << "unset rmargin" << std::endl; |
3002 |
|
|
ofstrm << "unset multiplot" << std::endl; |
3003 |
couturad |
982 |
} |
3004 |
|
|
|
3005 |
couturad |
993 |
ofstrm << "" << std::endl; |
3006 |
|
|
ofstrm << "#Distribution SIGMA dev xx" << std::endl; |
3007 |
|
|
if(fem_maill_lin) |
3008 |
couturad |
982 |
{ |
3009 |
couturad |
993 |
ofstrm << "set terminal pdf size 10,8 font 'Helvetica,20'" << std::endl; |
3010 |
|
|
ofstrm << "set output \"resultats/graph/multi_distribution_SIGMA_dev_xx_lin.pdf\"" << std::endl; |
3011 |
|
|
ofstrm << "set lmargin 10" << std::endl; |
3012 |
|
|
ofstrm << "set rmargin 25" << std::endl; |
3013 |
|
|
ofstrm << "set ylabel \"Densité de probabilité\"" << std::endl; |
3014 |
|
|
ofstrm << "set multiplot layout 3, 1" << std::endl; |
3015 |
|
|
ofstrm << "#set xrange [0.5:2.0]" << std::endl; |
3016 |
|
|
ofstrm << "unset xlabel" << std::endl; |
3017 |
|
|
ofstrm << "unset xtic" << std::endl; |
3018 |
|
|
ofstrm << "set xtics" << std::endl; |
3019 |
|
|
ofstrm << "plot sprintf(\"resultats/champ/DH/dev/lin/c_%i/histo_Champ_SIGMA_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{xx}\",\\" << std::endl; |
3020 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/dev/lin/c_%i/histo_Champ_SIGMA_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{xx}\"" << std::endl; |
3021 |
|
|
ofstrm << "plot sprintf(\"resultats/champ/DH/dev/lin/c_%i/histo_Champ_SIGMA_particule_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{xx} particules\",\\" << std::endl; |
3022 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/dev/lin/c_%i/histo_Champ_SIGMA_particule_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{xx} particules\"" << std::endl; |
3023 |
|
|
ofstrm << "plot sprintf(\"resultats/champ/DH/dev/lin/c_%i/histo_Champ_SIGMA_matrice_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{xx} matrice\",\\" << std::endl; |
3024 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/dev/lin/c_%i/histo_Champ_SIGMA_matrice_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{xx} matrice\"" << std::endl; |
3025 |
|
|
ofstrm << "unset lmargin" << std::endl; |
3026 |
|
|
ofstrm << "unset rmargin" << std::endl; |
3027 |
|
|
ofstrm << "unset multiplot" << std::endl; |
3028 |
couturad |
982 |
} |
3029 |
couturad |
993 |
if(fem_maill_quad) |
3030 |
couturad |
982 |
{ |
3031 |
couturad |
993 |
ofstrm << "set terminal pdf size 10,8 font 'Helvetica,20'" << std::endl; |
3032 |
|
|
ofstrm << "set output \"resultats/graph/multi_distribution_SIGMA_dev_xx_quad.pdf\"" << std::endl; |
3033 |
|
|
ofstrm << "set lmargin 10" << std::endl; |
3034 |
|
|
ofstrm << "set rmargin 25" << std::endl; |
3035 |
|
|
ofstrm << "set ylabel \"Densité de probabilité\"" << std::endl; |
3036 |
|
|
ofstrm << "set multiplot layout 3, 1" << std::endl; |
3037 |
|
|
ofstrm << "#set xrange [0.5:2.0]" << std::endl; |
3038 |
|
|
ofstrm << "unset xlabel" << std::endl; |
3039 |
|
|
ofstrm << "unset xtic" << std::endl; |
3040 |
|
|
ofstrm << "set xtics" << std::endl; |
3041 |
|
|
ofstrm << "plot sprintf(\"resultats/champ/DH/dev/quad/c_%i/histo_Champ_SIGMA_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{xx}\",\\" << std::endl; |
3042 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/dev/quad/c_%i/histo_Champ_SIGMA_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{xx}\"" << std::endl; |
3043 |
|
|
ofstrm << "plot sprintf(\"resultats/champ/DH/dev/quad/c_%i/histo_Champ_SIGMA_particule_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{xx} particules\",\\" << std::endl; |
3044 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/dev/quad/c_%i/histo_Champ_SIGMA_particule_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{xx} particules\"" << std::endl; |
3045 |
|
|
ofstrm << "plot sprintf(\"resultats/champ/DH/dev/quad/c_%i/histo_Champ_SIGMA_matrice_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{xx} matrice\",\\" << std::endl; |
3046 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/dev/quad/c_%i/histo_Champ_SIGMA_matrice_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{xx} matrice\"" << std::endl; |
3047 |
|
|
ofstrm << "unset lmargin" << std::endl; |
3048 |
|
|
ofstrm << "unset rmargin" << std::endl; |
3049 |
|
|
ofstrm << "unset multiplot" << std::endl; |
3050 |
couturad |
982 |
} |
3051 |
|
|
if(fem_maill_lin && fem_maill_quad) |
3052 |
|
|
{ |
3053 |
couturad |
993 |
ofstrm << "set terminal pdf size 10,8 font 'Helvetica,20'" << std::endl; |
3054 |
|
|
ofstrm << "set output \"resultats/graph/multi_distribution_SIGMA_dev_xx_lin_quad.pdf\"" << std::endl; |
3055 |
|
|
ofstrm << "set lmargin 10" << std::endl; |
3056 |
|
|
ofstrm << "set rmargin 25" << std::endl; |
3057 |
|
|
ofstrm << "set ylabel \"Densité de probabilité\"" << std::endl; |
3058 |
|
|
ofstrm << "set multiplot layout 3, 1" << std::endl; |
3059 |
|
|
ofstrm << "#set xrange [0.5:2.0]" << std::endl; |
3060 |
|
|
ofstrm << "unset xlabel" << std::endl; |
3061 |
|
|
ofstrm << "unset xtic" << std::endl; |
3062 |
|
|
ofstrm << "set xtics" << std::endl; |
3063 |
|
|
ofstrm << "plot sprintf(\"resultats/champ/DH/dev/lin/c_%i/histo_Champ_SIGMA_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{xx} lin\",\\" << std::endl; |
3064 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/dev/lin/c_%i/histo_Champ_SIGMA_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{xx} lin\" ,\\" << std::endl; |
3065 |
|
|
ofstrm << "sprintf(\"resultats/champ/DH/dev/quad/c_%i/histo_Champ_SIGMA_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{xx} quad\",\\" << std::endl; |
3066 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/dev/quad/c_%i/histo_Champ_SIGMA_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{xx} quad\"" << std::endl; |
3067 |
|
|
ofstrm << "plot sprintf(\"resultats/champ/DH/dev/lin/c_%i/histo_Champ_SIGMA_particule_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{xx} particules lin\",\\" << std::endl; |
3068 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/dev/lin/c_%i/histo_Champ_SIGMA_particule_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{xx} particules lin\" ,\\" << std::endl; |
3069 |
|
|
ofstrm << "sprintf(\"resultats/champ/DH/dev/quad/c_%i/histo_Champ_SIGMA_particule_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{xx} particules quad\",\\" << std::endl; |
3070 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/dev/quad/c_%i/histo_Champ_SIGMA_particule_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{xx} particules quad\"" << std::endl; |
3071 |
|
|
ofstrm << "plot sprintf(\"resultats/champ/DH/dev/lin/c_%i/histo_Champ_SIGMA_matrice_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{xx} matrice lin\",\\" << std::endl; |
3072 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/dev/lin/c_%i/histo_Champ_SIGMA_matrice_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{xx} matrice lin\",\\" << std::endl; |
3073 |
|
|
ofstrm << "sprintf(\"resultats/champ/DH/dev/quad/c_%i/histo_Champ_SIGMA_matrice_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{xx} matrice quad\",\\" << std::endl; |
3074 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/dev/quad/c_%i/histo_Champ_SIGMA_matrice_normalise_0.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{xx} matrice quad\"" << std::endl; |
3075 |
|
|
ofstrm << "unset lmargin" << std::endl; |
3076 |
|
|
ofstrm << "unset rmargin" << std::endl; |
3077 |
|
|
ofstrm << "unset multiplot" << std::endl; |
3078 |
couturad |
982 |
} |
3079 |
|
|
|
3080 |
couturad |
993 |
ofstrm << "" << std::endl; |
3081 |
|
|
ofstrm << "#Distribution SIGMA dev yy" << std::endl; |
3082 |
|
|
if(fem_maill_lin) |
3083 |
couturad |
974 |
{ |
3084 |
couturad |
993 |
ofstrm << "set terminal pdf size 10,8 font 'Helvetica,20'" << std::endl; |
3085 |
|
|
ofstrm << "set output \"resultats/graph/multi_distribution_SIGMA_dev_yy_lin.pdf\"" << std::endl; |
3086 |
|
|
ofstrm << "set lmargin 10" << std::endl; |
3087 |
|
|
ofstrm << "set rmargin 25" << std::endl; |
3088 |
|
|
ofstrm << "set ylabel \"Densité de probabilité\"" << std::endl; |
3089 |
|
|
ofstrm << "set multiplot layout 3, 1" << std::endl; |
3090 |
|
|
ofstrm << "#set xrange [0.5:2.0]" << std::endl; |
3091 |
|
|
ofstrm << "unset xlabel" << std::endl; |
3092 |
|
|
ofstrm << "unset xtic" << std::endl; |
3093 |
|
|
ofstrm << "set xtics" << std::endl; |
3094 |
|
|
ofstrm << "plot sprintf(\"resultats/champ/DH/dev/lin/c_%i/histo_Champ_SIGMA_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{yy}\",\\" << std::endl; |
3095 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/dev/lin/c_%i/histo_Champ_SIGMA_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{yy}\"" << std::endl; |
3096 |
|
|
ofstrm << "plot sprintf(\"resultats/champ/DH/dev/lin/c_%i/histo_Champ_SIGMA_particule_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{yy} particules\",\\" << std::endl; |
3097 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/dev/lin/c_%i/histo_Champ_SIGMA_particule_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{yy} particules\"" << std::endl; |
3098 |
|
|
ofstrm << "plot sprintf(\"resultats/champ/DH/dev/lin/c_%i/histo_Champ_SIGMA_matrice_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{yy} matrice\",\\" << std::endl; |
3099 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/dev/lin/c_%i/histo_Champ_SIGMA_matrice_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{yy} matrice\"" << std::endl; |
3100 |
|
|
ofstrm << "unset lmargin" << std::endl; |
3101 |
|
|
ofstrm << "unset rmargin" << std::endl; |
3102 |
|
|
ofstrm << "unset multiplot" << std::endl; |
3103 |
couturad |
974 |
} |
3104 |
couturad |
993 |
if(fem_maill_quad) |
3105 |
couturad |
974 |
{ |
3106 |
couturad |
993 |
ofstrm << "set terminal pdf size 10,8 font 'Helvetica,20'" << std::endl; |
3107 |
|
|
ofstrm << "set output \"resultats/graph/multi_distribution_SIGMA_dev_yy_quad.pdf\"" << std::endl; |
3108 |
|
|
ofstrm << "set lmargin 10" << std::endl; |
3109 |
|
|
ofstrm << "set rmargin 25" << std::endl; |
3110 |
|
|
ofstrm << "set ylabel \"Densité de probabilité\"" << std::endl; |
3111 |
|
|
ofstrm << "set multiplot layout 3, 1" << std::endl; |
3112 |
|
|
ofstrm << "#set xrange [0.5:2.0]" << std::endl; |
3113 |
|
|
ofstrm << "unset xlabel" << std::endl; |
3114 |
|
|
ofstrm << "unset xtic" << std::endl; |
3115 |
|
|
ofstrm << "set xtics" << std::endl; |
3116 |
|
|
ofstrm << "plot sprintf(\"resultats/champ/DH/dev/quad/c_%i/histo_Champ_SIGMA_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{yy}\",\\" << std::endl; |
3117 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/dev/quad/c_%i/histo_Champ_SIGMA_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{yy}\"" << std::endl; |
3118 |
|
|
ofstrm << "plot sprintf(\"resultats/champ/DH/dev/quad/c_%i/histo_Champ_SIGMA_particule_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{yy} particules\",\\" << std::endl; |
3119 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/dev/quad/c_%i/histo_Champ_SIGMA_particule_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{yy} particules\"" << std::endl; |
3120 |
|
|
ofstrm << "plot sprintf(\"resultats/champ/DH/dev/quad/c_%i/histo_Champ_SIGMA_matrice_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{yy} matrice\",\\" << std::endl; |
3121 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/dev/quad/c_%i/histo_Champ_SIGMA_matrice_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{yy} matrice\"" << std::endl; |
3122 |
|
|
ofstrm << "unset lmargin" << std::endl; |
3123 |
|
|
ofstrm << "unset rmargin" << std::endl; |
3124 |
|
|
ofstrm << "unset multiplot" << std::endl; |
3125 |
couturad |
974 |
} |
3126 |
couturad |
982 |
if(fem_maill_lin && fem_maill_quad) |
3127 |
|
|
{ |
3128 |
couturad |
993 |
ofstrm << "set terminal pdf size 10,8 font 'Helvetica,20'" << std::endl; |
3129 |
|
|
ofstrm << "set output \"resultats/graph/multi_distribution_SIGMA_dev_yy_lin_quad.pdf\"" << std::endl; |
3130 |
|
|
ofstrm << "set lmargin 10" << std::endl; |
3131 |
|
|
ofstrm << "set rmargin 25" << std::endl; |
3132 |
|
|
ofstrm << "set ylabel \"Densité de probabilité\"" << std::endl; |
3133 |
|
|
ofstrm << "set multiplot layout 3, 1" << std::endl; |
3134 |
|
|
ofstrm << "#set xrange [0.5:2.0]" << std::endl; |
3135 |
|
|
ofstrm << "unset xlabel" << std::endl; |
3136 |
|
|
ofstrm << "unset xtic" << std::endl; |
3137 |
|
|
ofstrm << "set xtics" << std::endl; |
3138 |
|
|
ofstrm << "plot sprintf(\"resultats/champ/DH/dev/lin/c_%i/histo_Champ_SIGMA_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{yy} lin\",\\" << std::endl; |
3139 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/dev/lin/c_%i/histo_Champ_SIGMA_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{yy} lin\" ,\\" << std::endl; |
3140 |
|
|
ofstrm << "sprintf(\"resultats/champ/DH/dev/quad/c_%i/histo_Champ_SIGMA_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{yy} quad\",\\" << std::endl; |
3141 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/dev/quad/c_%i/histo_Champ_SIGMA_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{yy} quad\"" << std::endl; |
3142 |
|
|
ofstrm << "plot sprintf(\"resultats/champ/DH/dev/lin/c_%i/histo_Champ_SIGMA_particule_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{yy} particules lin\",\\" << std::endl; |
3143 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/dev/lin/c_%i/histo_Champ_SIGMA_particule_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{yy} particules lin\" ,\\" << std::endl; |
3144 |
|
|
ofstrm << "sprintf(\"resultats/champ/DH/dev/quad/c_%i/histo_Champ_SIGMA_particule_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{yy} particules quad\",\\" << std::endl; |
3145 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/dev/quad/c_%i/histo_Champ_SIGMA_particule_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{yy} particules quad\"" << std::endl; |
3146 |
|
|
ofstrm << "plot sprintf(\"resultats/champ/DH/dev/lin/c_%i/histo_Champ_SIGMA_matrice_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{yy} matrice lin\",\\" << std::endl; |
3147 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/dev/lin/c_%i/histo_Champ_SIGMA_matrice_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{yy} matrice lin\",\\" << std::endl; |
3148 |
|
|
ofstrm << "sprintf(\"resultats/champ/DH/dev/quad/c_%i/histo_Champ_SIGMA_matrice_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{yy} matrice quad\",\\" << std::endl; |
3149 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/dev/quad/c_%i/histo_Champ_SIGMA_matrice_normalise_1.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{yy} matrice quad\"" << std::endl; |
3150 |
|
|
ofstrm << "unset lmargin" << std::endl; |
3151 |
|
|
ofstrm << "unset rmargin" << std::endl; |
3152 |
|
|
ofstrm << "unset multiplot" << std::endl; |
3153 |
couturad |
982 |
} |
3154 |
|
|
|
3155 |
couturad |
993 |
ofstrm << "" << std::endl; |
3156 |
|
|
ofstrm << "#Distribution SIGMA dev zz" << std::endl; |
3157 |
|
|
if(fem_maill_lin) |
3158 |
couturad |
982 |
{ |
3159 |
couturad |
993 |
ofstrm << "set terminal pdf size 10,8 font 'Helvetica,20'" << std::endl; |
3160 |
|
|
ofstrm << "set output \"resultats/graph/multi_distribution_SIGMA_dev_zz_lin.pdf\"" << std::endl; |
3161 |
|
|
ofstrm << "set lmargin 10" << std::endl; |
3162 |
|
|
ofstrm << "set rmargin 25" << std::endl; |
3163 |
|
|
ofstrm << "set ylabel \"Densité de probabilité\"" << std::endl; |
3164 |
|
|
ofstrm << "set multiplot layout 3, 1" << std::endl; |
3165 |
|
|
ofstrm << "#set xrange [0.5:2.0]" << std::endl; |
3166 |
|
|
ofstrm << "unset xlabel" << std::endl; |
3167 |
|
|
ofstrm << "unset xtic" << std::endl; |
3168 |
|
|
ofstrm << "set xtics" << std::endl; |
3169 |
|
|
ofstrm << "plot sprintf(\"resultats/champ/DH/dev/lin/c_%i/histo_Champ_SIGMA_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{zz}\",\\" << std::endl; |
3170 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/dev/lin/c_%i/histo_Champ_SIGMA_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{zz}\"" << std::endl; |
3171 |
|
|
ofstrm << "plot sprintf(\"resultats/champ/DH/dev/lin/c_%i/histo_Champ_SIGMA_particule_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{zz} particules\",\\" << std::endl; |
3172 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/dev/lin/c_%i/histo_Champ_SIGMA_particule_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{zz} particules\"" << std::endl; |
3173 |
|
|
ofstrm << "plot sprintf(\"resultats/champ/DH/dev/lin/c_%i/histo_Champ_SIGMA_matrice_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{zz} matrice\",\\" << std::endl; |
3174 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/dev/lin/c_%i/histo_Champ_SIGMA_matrice_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{zz} matrice\"" << std::endl; |
3175 |
|
|
ofstrm << "unset lmargin" << std::endl; |
3176 |
|
|
ofstrm << "unset rmargin" << std::endl; |
3177 |
|
|
ofstrm << "unset multiplot" << std::endl; |
3178 |
couturad |
982 |
} |
3179 |
couturad |
993 |
if(fem_maill_quad) |
3180 |
couturad |
982 |
{ |
3181 |
couturad |
993 |
ofstrm << "set terminal pdf size 10,8 font 'Helvetica,20'" << std::endl; |
3182 |
|
|
ofstrm << "set output \"resultats/graph/multi_distribution_SIGMA_dev_zz_quad.pdf\"" << std::endl; |
3183 |
|
|
ofstrm << "set lmargin 10" << std::endl; |
3184 |
|
|
ofstrm << "set rmargin 25" << std::endl; |
3185 |
|
|
ofstrm << "set ylabel \"Densité de probabilité\"" << std::endl; |
3186 |
|
|
ofstrm << "set multiplot layout 3, 1" << std::endl; |
3187 |
|
|
ofstrm << "#set xrange [0.5:2.0]" << std::endl; |
3188 |
|
|
ofstrm << "unset xlabel" << std::endl; |
3189 |
|
|
ofstrm << "unset xtic" << std::endl; |
3190 |
|
|
ofstrm << "set xtics" << std::endl; |
3191 |
|
|
ofstrm << "plot sprintf(\"resultats/champ/DH/dev/quad/c_%i/histo_Champ_SIGMA_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{zz}\",\\" << std::endl; |
3192 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/dev/quad/c_%i/histo_Champ_SIGMA_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{zz}\"" << std::endl; |
3193 |
|
|
ofstrm << "plot sprintf(\"resultats/champ/DH/dev/quad/c_%i/histo_Champ_SIGMA_particule_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{zz} particules\",\\" << std::endl; |
3194 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/dev/quad/c_%i/histo_Champ_SIGMA_particule_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{zz} particules\"" << std::endl; |
3195 |
|
|
ofstrm << "plot sprintf(\"resultats/champ/DH/dev/quad/c_%i/histo_Champ_SIGMA_matrice_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{zz} matrice\",\\" << std::endl; |
3196 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/dev/quad/c_%i/histo_Champ_SIGMA_matrice_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{zz} matrice\"" << std::endl; |
3197 |
|
|
ofstrm << "unset lmargin" << std::endl; |
3198 |
|
|
ofstrm << "unset rmargin" << std::endl; |
3199 |
|
|
ofstrm << "unset multiplot" << std::endl; |
3200 |
couturad |
982 |
} |
3201 |
|
|
if(fem_maill_lin && fem_maill_quad) |
3202 |
|
|
{ |
3203 |
couturad |
993 |
ofstrm << "set terminal pdf size 10,8 font 'Helvetica,20'" << std::endl; |
3204 |
|
|
ofstrm << "set output \"resultats/graph/multi_distribution_SIGMA_dev_zz_lin_quad.pdf\"" << std::endl; |
3205 |
|
|
ofstrm << "set lmargin 10" << std::endl; |
3206 |
|
|
ofstrm << "set rmargin 25" << std::endl; |
3207 |
|
|
ofstrm << "set ylabel \"Densité de probabilité\"" << std::endl; |
3208 |
|
|
ofstrm << "set multiplot layout 3, 1" << std::endl; |
3209 |
|
|
ofstrm << "#set xrange [0.5:2.0]" << std::endl; |
3210 |
|
|
ofstrm << "unset xlabel" << std::endl; |
3211 |
|
|
ofstrm << "unset xtic" << std::endl; |
3212 |
|
|
ofstrm << "set xtics" << std::endl; |
3213 |
|
|
ofstrm << "plot sprintf(\"resultats/champ/DH/dev/lin/c_%i/histo_Champ_SIGMA_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{zz} lin\",\\" << std::endl; |
3214 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/dev/lin/c_%i/histo_Champ_SIGMA_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{zz} lin\" ,\\" << std::endl; |
3215 |
|
|
ofstrm << "sprintf(\"resultats/champ/DH/dev/quad/c_%i/histo_Champ_SIGMA_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{zz} quad\",\\" << std::endl; |
3216 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/dev/quad/c_%i/histo_Champ_SIGMA_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{zz} quad\"" << std::endl; |
3217 |
|
|
ofstrm << "plot sprintf(\"resultats/champ/DH/dev/lin/c_%i/histo_Champ_SIGMA_particule_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{zz} particules lin\",\\" << std::endl; |
3218 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/dev/lin/c_%i/histo_Champ_SIGMA_particule_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{zz} particules lin\" ,\\" << std::endl; |
3219 |
|
|
ofstrm << "sprintf(\"resultats/champ/DH/dev/quad/c_%i/histo_Champ_SIGMA_particule_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{zz} particules quad\",\\" << std::endl; |
3220 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/dev/quad/c_%i/histo_Champ_SIGMA_particule_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{zz} particules quad\"" << std::endl; |
3221 |
|
|
ofstrm << "plot sprintf(\"resultats/champ/DH/dev/lin/c_%i/histo_Champ_SIGMA_matrice_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{zz} matrice lin\",\\" << std::endl; |
3222 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/dev/lin/c_%i/histo_Champ_SIGMA_matrice_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{zz} matrice lin\",\\" << std::endl; |
3223 |
|
|
ofstrm << "sprintf(\"resultats/champ/DH/dev/quad/c_%i/histo_Champ_SIGMA_matrice_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{zz} matrice quad\",\\" << std::endl; |
3224 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/dev/quad/c_%i/histo_Champ_SIGMA_matrice_normalise_2.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{zz} matrice quad\"" << std::endl; |
3225 |
|
|
ofstrm << "unset lmargin" << std::endl; |
3226 |
|
|
ofstrm << "unset rmargin" << std::endl; |
3227 |
|
|
ofstrm << "unset multiplot" << std::endl; |
3228 |
couturad |
982 |
} |
3229 |
couturad |
974 |
|
3230 |
couturad |
993 |
ofstrm << "" << std::endl; |
3231 |
|
|
ofstrm << "#Distribution SIGMA dev xy" << std::endl; |
3232 |
|
|
if(fem_maill_lin) |
3233 |
couturad |
974 |
{ |
3234 |
couturad |
993 |
ofstrm << "set terminal pdf size 10,8 font 'Helvetica,20'" << std::endl; |
3235 |
|
|
ofstrm << "set output \"resultats/graph/multi_distribution_SIGMA_dev_xy_lin.pdf\"" << std::endl; |
3236 |
|
|
ofstrm << "set lmargin 10" << std::endl; |
3237 |
|
|
ofstrm << "set rmargin 25" << std::endl; |
3238 |
|
|
ofstrm << "set ylabel \"Densité de probabilité\"" << std::endl; |
3239 |
|
|
ofstrm << "set multiplot layout 3, 1" << std::endl; |
3240 |
|
|
ofstrm << "#set xrange [0.5:2.0]" << std::endl; |
3241 |
|
|
ofstrm << "unset xlabel" << std::endl; |
3242 |
|
|
ofstrm << "unset xtic" << std::endl; |
3243 |
|
|
ofstrm << "set xtics" << std::endl; |
3244 |
|
|
ofstrm << "plot sprintf(\"resultats/champ/DH/dev/lin/c_%i/histo_Champ_SIGMA_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{xy}\",\\" << std::endl; |
3245 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/dev/lin/c_%i/histo_Champ_SIGMA_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{xy}\"" << std::endl; |
3246 |
|
|
ofstrm << "plot sprintf(\"resultats/champ/DH/dev/lin/c_%i/histo_Champ_SIGMA_particule_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{xy} particules\",\\" << std::endl; |
3247 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/dev/lin/c_%i/histo_Champ_SIGMA_particule_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{xy} particules\"" << std::endl; |
3248 |
|
|
ofstrm << "plot sprintf(\"resultats/champ/DH/dev/lin/c_%i/histo_Champ_SIGMA_matrice_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{xy} matrice\",\\" << std::endl; |
3249 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/dev/lin/c_%i/histo_Champ_SIGMA_matrice_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{xy} matrice\"" << std::endl; |
3250 |
|
|
ofstrm << "unset lmargin" << std::endl; |
3251 |
|
|
ofstrm << "unset rmargin" << std::endl; |
3252 |
|
|
ofstrm << "unset multiplot" << std::endl; |
3253 |
couturad |
974 |
} |
3254 |
couturad |
993 |
if(fem_maill_quad) |
3255 |
couturad |
974 |
{ |
3256 |
couturad |
993 |
ofstrm << "set terminal pdf size 10,8 font 'Helvetica,20'" << std::endl; |
3257 |
|
|
ofstrm << "set output \"resultats/graph/multi_distribution_SIGMA_dev_xy_quad.pdf\"" << std::endl; |
3258 |
|
|
ofstrm << "set lmargin 10" << std::endl; |
3259 |
|
|
ofstrm << "set rmargin 25" << std::endl; |
3260 |
|
|
ofstrm << "set ylabel \"Densité de probabilité\"" << std::endl; |
3261 |
|
|
ofstrm << "set multiplot layout 3, 1" << std::endl; |
3262 |
|
|
ofstrm << "#set xrange [0.5:2.0]" << std::endl; |
3263 |
|
|
ofstrm << "unset xlabel" << std::endl; |
3264 |
|
|
ofstrm << "unset xtic" << std::endl; |
3265 |
|
|
ofstrm << "set xtics" << std::endl; |
3266 |
|
|
ofstrm << "plot sprintf(\"resultats/champ/DH/dev/quad/c_%i/histo_Champ_SIGMA_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{xy}\",\\" << std::endl; |
3267 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/dev/quad/c_%i/histo_Champ_SIGMA_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{xy}\"" << std::endl; |
3268 |
|
|
ofstrm << "plot sprintf(\"resultats/champ/DH/dev/quad/c_%i/histo_Champ_SIGMA_particule_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{xy} particules\",\\" << std::endl; |
3269 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/dev/quad/c_%i/histo_Champ_SIGMA_particule_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{xy} particules\"" << std::endl; |
3270 |
|
|
ofstrm << "plot sprintf(\"resultats/champ/DH/dev/quad/c_%i/histo_Champ_SIGMA_matrice_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{xy} matrice\",\\" << std::endl; |
3271 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/dev/quad/c_%i/histo_Champ_SIGMA_matrice_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{xy} matrice\"" << std::endl; |
3272 |
|
|
ofstrm << "unset lmargin" << std::endl; |
3273 |
|
|
ofstrm << "unset rmargin" << std::endl; |
3274 |
|
|
ofstrm << "unset multiplot" << std::endl; |
3275 |
couturad |
974 |
} |
3276 |
couturad |
982 |
if(fem_maill_lin && fem_maill_quad) |
3277 |
|
|
{ |
3278 |
couturad |
993 |
ofstrm << "set terminal pdf size 10,8 font 'Helvetica,20'" << std::endl; |
3279 |
|
|
ofstrm << "set output \"resultats/graph/multi_distribution_SIGMA_dev_xy_lin_quad.pdf\"" << std::endl; |
3280 |
|
|
ofstrm << "set lmargin 10" << std::endl; |
3281 |
|
|
ofstrm << "set rmargin 25" << std::endl; |
3282 |
|
|
ofstrm << "set ylabel \"Densité de probabilité\"" << std::endl; |
3283 |
|
|
ofstrm << "set multiplot layout 3, 1" << std::endl; |
3284 |
|
|
ofstrm << "#set xrange [0.5:2.0]" << std::endl; |
3285 |
|
|
ofstrm << "unset xlabel" << std::endl; |
3286 |
|
|
ofstrm << "unset xtic" << std::endl; |
3287 |
|
|
ofstrm << "set xtics" << std::endl; |
3288 |
|
|
ofstrm << "plot sprintf(\"resultats/champ/DH/dev/lin/c_%i/histo_Champ_SIGMA_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{xy} lin\",\\" << std::endl; |
3289 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/dev/lin/c_%i/histo_Champ_SIGMA_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{xy} lin\" ,\\" << std::endl; |
3290 |
|
|
ofstrm << "sprintf(\"resultats/champ/DH/dev/quad/c_%i/histo_Champ_SIGMA_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{xy} quad\",\\" << std::endl; |
3291 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/dev/quad/c_%i/histo_Champ_SIGMA_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{xy} quad\"" << std::endl; |
3292 |
|
|
ofstrm << "plot sprintf(\"resultats/champ/DH/dev/lin/c_%i/histo_Champ_SIGMA_particule_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{xy} particules lin\",\\" << std::endl; |
3293 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/dev/lin/c_%i/histo_Champ_SIGMA_particule_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{xy} particules lin\" ,\\" << std::endl; |
3294 |
|
|
ofstrm << "sprintf(\"resultats/champ/DH/dev/quad/c_%i/histo_Champ_SIGMA_particule_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{xy} particules quad\",\\" << std::endl; |
3295 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/dev/quad/c_%i/histo_Champ_SIGMA_particule_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{xy} particules quad\"" << std::endl; |
3296 |
|
|
ofstrm << "plot sprintf(\"resultats/champ/DH/dev/lin/c_%i/histo_Champ_SIGMA_matrice_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{xy} matrice lin\",\\" << std::endl; |
3297 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/dev/lin/c_%i/histo_Champ_SIGMA_matrice_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{xy} matrice lin\",\\" << std::endl; |
3298 |
|
|
ofstrm << "sprintf(\"resultats/champ/DH/dev/quad/c_%i/histo_Champ_SIGMA_matrice_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{xy} matrice quad\",\\" << std::endl; |
3299 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/dev/quad/c_%i/histo_Champ_SIGMA_matrice_normalise_3.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{xy} matrice quad\"" << std::endl; |
3300 |
|
|
ofstrm << "unset lmargin" << std::endl; |
3301 |
|
|
ofstrm << "unset rmargin" << std::endl; |
3302 |
|
|
ofstrm << "unset multiplot" << std::endl; |
3303 |
couturad |
982 |
} |
3304 |
|
|
|
3305 |
couturad |
993 |
ofstrm << "" << std::endl; |
3306 |
|
|
ofstrm << "#Distribution SIGMA dev yz" << std::endl; |
3307 |
|
|
if(fem_maill_lin) |
3308 |
couturad |
982 |
{ |
3309 |
couturad |
993 |
ofstrm << "set terminal pdf size 10,8 font 'Helvetica,20'" << std::endl; |
3310 |
|
|
ofstrm << "set output \"resultats/graph/multi_distribution_SIGMA_dev_yz_lin.pdf\"" << std::endl; |
3311 |
|
|
ofstrm << "set lmargin 10" << std::endl; |
3312 |
|
|
ofstrm << "set rmargin 25" << std::endl; |
3313 |
|
|
ofstrm << "set ylabel \"Densité de probabilité\"" << std::endl; |
3314 |
|
|
ofstrm << "set multiplot layout 3, 1" << std::endl; |
3315 |
|
|
ofstrm << "#set xrange [0.5:2.0]" << std::endl; |
3316 |
|
|
ofstrm << "unset xlabel" << std::endl; |
3317 |
|
|
ofstrm << "unset xtic" << std::endl; |
3318 |
|
|
ofstrm << "set xtics" << std::endl; |
3319 |
|
|
ofstrm << "plot sprintf(\"resultats/champ/DH/dev/lin/c_%i/histo_Champ_SIGMA_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{yz}\",\\" << std::endl; |
3320 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/dev/lin/c_%i/histo_Champ_SIGMA_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{yz}\"" << std::endl; |
3321 |
|
|
ofstrm << "plot sprintf(\"resultats/champ/DH/dev/lin/c_%i/histo_Champ_SIGMA_particule_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{yz} particules\",\\" << std::endl; |
3322 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/dev/lin/c_%i/histo_Champ_SIGMA_particule_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{yz} particules\"" << std::endl; |
3323 |
|
|
ofstrm << "plot sprintf(\"resultats/champ/DH/dev/lin/c_%i/histo_Champ_SIGMA_matrice_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{yz} matrice\",\\" << std::endl; |
3324 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/dev/lin/c_%i/histo_Champ_SIGMA_matrice_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{yz} matrice\"" << std::endl; |
3325 |
|
|
ofstrm << "unset lmargin" << std::endl; |
3326 |
|
|
ofstrm << "unset rmargin" << std::endl; |
3327 |
|
|
ofstrm << "unset multiplot" << std::endl; |
3328 |
couturad |
982 |
} |
3329 |
couturad |
993 |
if(fem_maill_quad) |
3330 |
couturad |
982 |
{ |
3331 |
couturad |
993 |
ofstrm << "set terminal pdf size 10,8 font 'Helvetica,20'" << std::endl; |
3332 |
|
|
ofstrm << "set output \"resultats/graph/multi_distribution_SIGMA_dev_yz_quad.pdf\"" << std::endl; |
3333 |
|
|
ofstrm << "set lmargin 10" << std::endl; |
3334 |
|
|
ofstrm << "set rmargin 25" << std::endl; |
3335 |
|
|
ofstrm << "set ylabel \"Densité de probabilité\"" << std::endl; |
3336 |
|
|
ofstrm << "set multiplot layout 3, 1" << std::endl; |
3337 |
|
|
ofstrm << "#set xrange [0.5:2.0]" << std::endl; |
3338 |
|
|
ofstrm << "unset xlabel" << std::endl; |
3339 |
|
|
ofstrm << "unset xtic" << std::endl; |
3340 |
|
|
ofstrm << "set xtics" << std::endl; |
3341 |
|
|
ofstrm << "plot sprintf(\"resultats/champ/DH/dev/quad/c_%i/histo_Champ_SIGMA_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{yz}\",\\" << std::endl; |
3342 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/dev/quad/c_%i/histo_Champ_SIGMA_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{yz}\"" << std::endl; |
3343 |
|
|
ofstrm << "plot sprintf(\"resultats/champ/DH/dev/quad/c_%i/histo_Champ_SIGMA_particule_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{yz} particules\",\\" << std::endl; |
3344 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/dev/quad/c_%i/histo_Champ_SIGMA_particule_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{yz} particules\"" << std::endl; |
3345 |
|
|
ofstrm << "plot sprintf(\"resultats/champ/DH/dev/quad/c_%i/histo_Champ_SIGMA_matrice_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{yz} matrice\",\\" << std::endl; |
3346 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/dev/quad/c_%i/histo_Champ_SIGMA_matrice_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{yz} matrice\"" << std::endl; |
3347 |
|
|
ofstrm << "unset lmargin" << std::endl; |
3348 |
|
|
ofstrm << "unset rmargin" << std::endl; |
3349 |
|
|
ofstrm << "unset multiplot" << std::endl; |
3350 |
couturad |
982 |
} |
3351 |
|
|
if(fem_maill_lin && fem_maill_quad) |
3352 |
|
|
{ |
3353 |
couturad |
993 |
ofstrm << "set terminal pdf size 10,8 font 'Helvetica,20'" << std::endl; |
3354 |
|
|
ofstrm << "set output \"resultats/graph/multi_distribution_SIGMA_dev_yz_lin_quad.pdf\"" << std::endl; |
3355 |
|
|
ofstrm << "set lmargin 10" << std::endl; |
3356 |
|
|
ofstrm << "set rmargin 25" << std::endl; |
3357 |
|
|
ofstrm << "set ylabel \"Densité de probabilité\"" << std::endl; |
3358 |
|
|
ofstrm << "set multiplot layout 3, 1" << std::endl; |
3359 |
|
|
ofstrm << "#set xrange [0.5:2.0]" << std::endl; |
3360 |
|
|
ofstrm << "unset xlabel" << std::endl; |
3361 |
|
|
ofstrm << "unset xtic" << std::endl; |
3362 |
|
|
ofstrm << "set xtics" << std::endl; |
3363 |
|
|
ofstrm << "plot sprintf(\"resultats/champ/DH/dev/lin/c_%i/histo_Champ_SIGMA_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{yz} lin\",\\" << std::endl; |
3364 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/dev/lin/c_%i/histo_Champ_SIGMA_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{yz} lin\" ,\\" << std::endl; |
3365 |
|
|
ofstrm << "sprintf(\"resultats/champ/DH/dev/quad/c_%i/histo_Champ_SIGMA_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{yz} quad\",\\" << std::endl; |
3366 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/dev/quad/c_%i/histo_Champ_SIGMA_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{yz} quad\"" << std::endl; |
3367 |
|
|
ofstrm << "plot sprintf(\"resultats/champ/DH/dev/lin/c_%i/histo_Champ_SIGMA_particule_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{yz} particules lin\",\\" << std::endl; |
3368 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/dev/lin/c_%i/histo_Champ_SIGMA_particule_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{yz} particules lin\" ,\\" << std::endl; |
3369 |
|
|
ofstrm << "sprintf(\"resultats/champ/DH/dev/quad/c_%i/histo_Champ_SIGMA_particule_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{yz} particules quad\",\\" << std::endl; |
3370 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/dev/quad/c_%i/histo_Champ_SIGMA_particule_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{yz} particules quad\"" << std::endl; |
3371 |
|
|
ofstrm << "plot sprintf(\"resultats/champ/DH/dev/lin/c_%i/histo_Champ_SIGMA_matrice_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{yz} matrice lin\",\\" << std::endl; |
3372 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/dev/lin/c_%i/histo_Champ_SIGMA_matrice_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{yz} matrice lin\",\\" << std::endl; |
3373 |
|
|
ofstrm << "sprintf(\"resultats/champ/DH/dev/quad/c_%i/histo_Champ_SIGMA_matrice_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{yz} matrice quad\",\\" << std::endl; |
3374 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/dev/quad/c_%i/histo_Champ_SIGMA_matrice_normalise_4.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{yz} matrice quad\"" << std::endl; |
3375 |
|
|
ofstrm << "unset lmargin" << std::endl; |
3376 |
|
|
ofstrm << "unset rmargin" << std::endl; |
3377 |
|
|
ofstrm << "unset multiplot" << std::endl; |
3378 |
couturad |
982 |
} |
3379 |
couturad |
974 |
|
3380 |
couturad |
993 |
ofstrm << "" << std::endl; |
3381 |
|
|
ofstrm << "#Distribution SIGMA dev xz" << std::endl; |
3382 |
|
|
if(fem_maill_lin) |
3383 |
couturad |
982 |
{ |
3384 |
couturad |
993 |
ofstrm << "set terminal pdf size 10,8 font 'Helvetica,20'" << std::endl; |
3385 |
|
|
ofstrm << "set output \"resultats/graph/multi_distribution_SIGMA_dev_xz_lin.pdf\"" << std::endl; |
3386 |
|
|
ofstrm << "set lmargin 10" << std::endl; |
3387 |
|
|
ofstrm << "set rmargin 25" << std::endl; |
3388 |
|
|
ofstrm << "set ylabel \"Densité de probabilité\"" << std::endl; |
3389 |
|
|
ofstrm << "set multiplot layout 3, 1" << std::endl; |
3390 |
|
|
ofstrm << "#set xrange [0.5:2.0]" << std::endl; |
3391 |
|
|
ofstrm << "unset xlabel" << std::endl; |
3392 |
|
|
ofstrm << "unset xtic" << std::endl; |
3393 |
|
|
ofstrm << "set xtics" << std::endl; |
3394 |
|
|
ofstrm << "plot sprintf(\"resultats/champ/DH/dev/lin/c_%i/histo_Champ_SIGMA_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{xz}\",\\" << std::endl; |
3395 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/dev/lin/c_%i/histo_Champ_SIGMA_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{xz}\"" << std::endl; |
3396 |
|
|
ofstrm << "plot sprintf(\"resultats/champ/DH/dev/lin/c_%i/histo_Champ_SIGMA_particule_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{xz} particules\",\\" << std::endl; |
3397 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/dev/lin/c_%i/histo_Champ_SIGMA_particule_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{xz} particules\"" << std::endl; |
3398 |
|
|
ofstrm << "plot sprintf(\"resultats/champ/DH/dev/lin/c_%i/histo_Champ_SIGMA_matrice_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{xz} matrice\",\\" << std::endl; |
3399 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/dev/lin/c_%i/histo_Champ_SIGMA_matrice_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{xz} matrice\"" << std::endl; |
3400 |
|
|
ofstrm << "unset lmargin" << std::endl; |
3401 |
|
|
ofstrm << "unset rmargin" << std::endl; |
3402 |
|
|
ofstrm << "unset multiplot" << std::endl; |
3403 |
couturad |
982 |
} |
3404 |
couturad |
993 |
if(fem_maill_quad) |
3405 |
couturad |
982 |
{ |
3406 |
couturad |
993 |
ofstrm << "set terminal pdf size 10,8 font 'Helvetica,20'" << std::endl; |
3407 |
|
|
ofstrm << "set output \"resultats/graph/multi_distribution_SIGMA_dev_xz_quad.pdf\"" << std::endl; |
3408 |
|
|
ofstrm << "set lmargin 10" << std::endl; |
3409 |
|
|
ofstrm << "set rmargin 25" << std::endl; |
3410 |
|
|
ofstrm << "set ylabel \"Densité de probabilité\"" << std::endl; |
3411 |
|
|
ofstrm << "set multiplot layout 3, 1" << std::endl; |
3412 |
|
|
ofstrm << "#set xrange [0.5:2.0]" << std::endl; |
3413 |
|
|
ofstrm << "unset xlabel" << std::endl; |
3414 |
|
|
ofstrm << "unset xtic" << std::endl; |
3415 |
|
|
ofstrm << "set xtics" << std::endl; |
3416 |
|
|
ofstrm << "plot sprintf(\"resultats/champ/DH/dev/quad/c_%i/histo_Champ_SIGMA_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{xz}\",\\" << std::endl; |
3417 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/dev/quad/c_%i/histo_Champ_SIGMA_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{xz}\"" << std::endl; |
3418 |
|
|
ofstrm << "plot sprintf(\"resultats/champ/DH/dev/quad/c_%i/histo_Champ_SIGMA_particule_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{xz} particules\",\\" << std::endl; |
3419 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/dev/quad/c_%i/histo_Champ_SIGMA_particule_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{xz} particules\"" << std::endl; |
3420 |
|
|
ofstrm << "plot sprintf(\"resultats/champ/DH/dev/quad/c_%i/histo_Champ_SIGMA_matrice_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{xz} matrice\",\\" << std::endl; |
3421 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/dev/quad/c_%i/histo_Champ_SIGMA_matrice_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{xz} matrice\"" << std::endl; |
3422 |
|
|
ofstrm << "unset lmargin" << std::endl; |
3423 |
|
|
ofstrm << "unset rmargin" << std::endl; |
3424 |
|
|
ofstrm << "unset multiplot" << std::endl; |
3425 |
couturad |
982 |
} |
3426 |
|
|
if(fem_maill_lin && fem_maill_quad) |
3427 |
|
|
{ |
3428 |
couturad |
993 |
ofstrm << "set terminal pdf size 10,8 font 'Helvetica,20'" << std::endl; |
3429 |
|
|
ofstrm << "set output \"resultats/graph/multi_distribution_SIGMA_dev_xz_lin_quad.pdf\"" << std::endl; |
3430 |
|
|
ofstrm << "set lmargin 10" << std::endl; |
3431 |
|
|
ofstrm << "set rmargin 25" << std::endl; |
3432 |
|
|
ofstrm << "set ylabel \"Densité de probabilité\"" << std::endl; |
3433 |
|
|
ofstrm << "set multiplot layout 3, 1" << std::endl; |
3434 |
|
|
ofstrm << "#set xrange [0.5:2.0]" << std::endl; |
3435 |
|
|
ofstrm << "unset xlabel" << std::endl; |
3436 |
|
|
ofstrm << "unset xtic" << std::endl; |
3437 |
|
|
ofstrm << "set xtics" << std::endl; |
3438 |
|
|
ofstrm << "plot sprintf(\"resultats/champ/DH/dev/lin/c_%i/histo_Champ_SIGMA_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{xz} lin\",\\" << std::endl; |
3439 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/dev/lin/c_%i/histo_Champ_SIGMA_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{xz} lin\" ,\\" << std::endl; |
3440 |
|
|
ofstrm << "sprintf(\"resultats/champ/DH/dev/quad/c_%i/histo_Champ_SIGMA_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{xz} quad\",\\" << std::endl; |
3441 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/dev/quad/c_%i/histo_Champ_SIGMA_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{xz} quad\"" << std::endl; |
3442 |
|
|
ofstrm << "plot sprintf(\"resultats/champ/DH/dev/lin/c_%i/histo_Champ_SIGMA_particule_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{xz} particules lin\",\\" << std::endl; |
3443 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/dev/lin/c_%i/histo_Champ_SIGMA_particule_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{xz} particules lin\" ,\\" << std::endl; |
3444 |
|
|
ofstrm << "sprintf(\"resultats/champ/DH/dev/quad/c_%i/histo_Champ_SIGMA_particule_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{xz} particules quad\",\\" << std::endl; |
3445 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/dev/quad/c_%i/histo_Champ_SIGMA_particule_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{xz} particules quad\"" << std::endl; |
3446 |
|
|
ofstrm << "plot sprintf(\"resultats/champ/DH/dev/lin/c_%i/histo_Champ_SIGMA_matrice_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 2 lw 2 title \"DH σ_{xz} matrice lin\",\\" << std::endl; |
3447 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/dev/lin/c_%i/histo_Champ_SIGMA_matrice_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 2 lw 2 title \"CH σ_{xz} matrice lin\",\\" << std::endl; |
3448 |
|
|
ofstrm << "sprintf(\"resultats/champ/DH/dev/quad/c_%i/histo_Champ_SIGMA_matrice_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'blue' dt 1 lw 2 title \"DH σ_{xz} matrice quad\",\\" << std::endl; |
3449 |
|
|
ofstrm << "sprintf(\"resultats/champ/CH/dev/quad/c_%i/histo_Champ_SIGMA_matrice_normalise_5.txt\",couche_ref) u ($3):($4) with lines lc rgb 'red' dt 1 lw 2 title \"CH σ_{xz} matrice quad\"" << std::endl; |
3450 |
|
|
ofstrm << "unset lmargin" << std::endl; |
3451 |
|
|
ofstrm << "unset rmargin" << std::endl; |
3452 |
|
|
ofstrm << "unset multiplot" << std::endl; |
3453 |
couturad |
982 |
} |
3454 |
couturad |
951 |
} |
3455 |
couturad |
993 |
ofstrm << "" << std::endl; |
3456 |
couturad |
971 |
if(etude_thermique) |
3457 |
couturad |
951 |
{ |
3458 |
couturad |
971 |
ofstrm << "" << std::endl; |
3459 |
couturad |
993 |
ofstrm << "#Nuage lambda app" << std::endl; |
3460 |
|
|
if(fem_maill_lin) |
3461 |
couturad |
971 |
{ |
3462 |
couturad |
993 |
ofstrm << "set terminal pdf size 8,4 font 'Helvetica,20'" << std::endl; |
3463 |
|
|
ofstrm << "set rmargin 15" << std::endl; |
3464 |
|
|
ofstrm << "set output \"resultats/graph/nuage_Lambda_app_lin.pdf\"" << std::endl; |
3465 |
|
|
ofstrm << "#set xrange [9:11]" << std::endl; |
3466 |
|
|
ofstrm << "#set yrange [0.14:0.2]" << std::endl; |
3467 |
|
|
ofstrm << "#set title \"Conductivite thermique (W/(m*K))\"" << std::endl; |
3468 |
|
|
ofstrm << "set xlabel \"Fraction volumique (%)\"" << std::endl; |
3469 |
|
|
ofstrm << "set ylabel \"Conductivite thermique (W/(m*K))\"" << std::endl; |
3470 |
|
|
ofstrm << "plot \"resultats/data_graph/liste_Conductivite_thermique_app_FH_lin.txt\" u ($2*100):($3) pt 4 ps 0.5 lc rgb 'blue' lw 1 title \"FH\",\\" << std::endl; |
3471 |
|
|
ofstrm << "\"resultats/data_graph/liste_Conductivite_thermique_app_GH_lin.txt\" u ($2*100):($3) pt 4 ps 0.5 lc rgb 'red' lw 1 title \"GH\" ,\\" << std::endl; |
3472 |
|
|
ofstrm << "lambda_reuss(x/100.0) with line lw 2 lc rgb 'black' lt 2 title \"{/Symbol l}_{Reuss}\" ,\\" << std::endl; |
3473 |
|
|
ofstrm << "lambda_hs_inf(x/100.0) with line lw 2 lc rgb 'black' lt 2 dashtype 2 title \"{/Symbol l}_{HS-}\" ,\\" << std::endl; |
3474 |
|
|
ofstrm << "lambda_hs_sup(x/100.0) with line lw 2 lc rgb 'grey' lt 2 dashtype 2 title \"{/Symbol l}_{HS+}\" ,\\" << std::endl; |
3475 |
|
|
ofstrm << "lambda_voigt(x/100.0) with line lw 2 lc rgb 'black' lt 2 dashtype 2 title \"{/Symbol l}_{Voigt}\"" << std::endl; |
3476 |
couturad |
971 |
} |
3477 |
couturad |
993 |
if(fem_maill_quad) |
3478 |
couturad |
971 |
{ |
3479 |
couturad |
993 |
ofstrm << "set terminal pdf size 8,4 font 'Helvetica,20'" << std::endl; |
3480 |
|
|
ofstrm << "set rmargin 15" << std::endl; |
3481 |
|
|
ofstrm << "set output \"resultats/graph/nuage_Lambda_app_quad.pdf\"" << std::endl; |
3482 |
|
|
ofstrm << "#set xrange [9:11]" << std::endl; |
3483 |
|
|
ofstrm << "#set yrange [0.14:0.2]" << std::endl; |
3484 |
|
|
ofstrm << "#set title \"Conductivite thermique (W/(m*K))\"" << std::endl; |
3485 |
|
|
ofstrm << "set xlabel \"Fraction volumique (%)\"" << std::endl; |
3486 |
|
|
ofstrm << "set ylabel \"Conductivite thermique (W/(m*K))\"" << std::endl; |
3487 |
|
|
ofstrm << "plot \"resultats/data_graph/liste_Conductivite_thermique_app_FH_quad.txt\" u ($2*100):($3) pt 5 ps 0.5 lc rgb 'blue' lw 1 title \"FH\",\\" << std::endl; |
3488 |
|
|
ofstrm << "\"resultats/data_graph/liste_Conductivite_thermique_app_GH_quad.txt\" u ($2*100):($3) pt 5 ps 0.5 lc rgb 'red' lw 1 title \"GH\" ,\\" << std::endl; |
3489 |
|
|
ofstrm << "lambda_reuss(x/100.0) with line lw 2 lc rgb 'black' lt 2 title \"{/Symbol l}_{Reuss}\" ,\\" << std::endl; |
3490 |
|
|
ofstrm << "lambda_hs_inf(x/100.0) with line lw 2 lc rgb 'black' lt 2 dashtype 2 title \"{/Symbol l}_{HS-}\" ,\\" << std::endl; |
3491 |
|
|
ofstrm << "lambda_hs_sup(x/100.0) with line lw 2 lc rgb 'grey' lt 2 dashtype 2 title \"{/Symbol l}_{HS+}\" ,\\" << std::endl; |
3492 |
|
|
ofstrm << "lambda_voigt(x/100.0) with line lw 2 lc rgb 'black' lt 2 dashtype 2 title \"{/Symbol l}_{Voigt}\"" << std::endl; |
3493 |
couturad |
971 |
} |
3494 |
couturad |
993 |
if(fem_maill_lin && fem_maill_quad) |
3495 |
couturad |
971 |
{ |
3496 |
couturad |
993 |
ofstrm << "set terminal pdf size 8,4 font 'Helvetica,20'" << std::endl; |
3497 |
|
|
ofstrm << "set rmargin 15" << std::endl; |
3498 |
|
|
ofstrm << "set output \"resultats/graph/nuage_Lambda_app_lin_quad.pdf\"" << std::endl; |
3499 |
|
|
ofstrm << "#set xrange [9:11]" << std::endl; |
3500 |
|
|
ofstrm << "#set yrange [0.14:0.2]" << std::endl; |
3501 |
|
|
ofstrm << "#set title \"Conductivite thermique (W/(m*K))\"" << std::endl; |
3502 |
|
|
ofstrm << "set xlabel \"Fraction volumique (%)\"" << std::endl; |
3503 |
|
|
ofstrm << "set ylabel \"Conductivite thermique (W/(m*K))\"" << std::endl; |
3504 |
|
|
ofstrm << "plot \"resultats/data_graph/liste_Conductivite_thermique_app_FH_lin.txt\" u ($2*100):($3) pt 4 ps 0.5 lc rgb 'blue' lw 1 title \"FH lin\",\\" << std::endl; |
3505 |
|
|
ofstrm << "\"resultats/data_graph/liste_Conductivite_thermique_app_GH_lin.txt\" u ($2*100):($3) pt 4 ps 0.5 lc rgb 'red' lw 1 title \"GH lin\" ,\\" << std::endl; |
3506 |
|
|
ofstrm << "\"resultats/data_graph/liste_Conductivite_thermique_app_FH_quad.txt\" u ($2*100):($3) pt 5 ps 0.5 lc rgb 'blue' lw 1 title \"FH quad\",\\" << std::endl; |
3507 |
|
|
ofstrm << "\"resultats/data_graph/liste_Conductivite_thermique_app_GH_quad.txt\" u ($2*100):($3) pt 5 ps 0.5 lc rgb 'red' lw 1 title \"GH quad\" ,\\" << std::endl; |
3508 |
couturad |
971 |
} |
3509 |
|
|
|
3510 |
|
|
ofstrm << "" << std::endl; |
3511 |
couturad |
993 |
ofstrm << "#Cumul lambda app" << std::endl; |
3512 |
|
|
if(fem_maill_lin) |
3513 |
couturad |
971 |
{ |
3514 |
couturad |
993 |
ofstrm << "set output \"resultats/graph/cumul_Lambda_app_lin.pdf\"" << std::endl; |
3515 |
|
|
ofstrm << "#set title \"Conductivite thermique (W/(m*K))\"" << std::endl; |
3516 |
|
|
ofstrm << "set xlabel \"Fraction volumique (%)\"" << std::endl; |
3517 |
|
|
ofstrm << "set ylabel \"Conductivite thermique (W/(m*K))\"" << std::endl; |
3518 |
|
|
ofstrm << "plot \"<(sed -n 2p resultats/data_graph/erosion_Conductivite_thermique_app_FH_lin.txt)\" u ($3*100):($5):($4*100):($6) with xyerrorbars pt 4 ps 0.5 lc rgb 'blue' lw 1 title \"FH\",\\" << std::endl; |
3519 |
|
|
ofstrm << "\"<(sed -n 2p resultats/data_graph/erosion_Conductivite_thermique_app_GH_lin.txt)\" u ($3*100):($5):($4*100):($6) with xyerrorbars pt 4 ps 0.5 lc rgb 'red' lw 1 title \"GH\" ,\\" << std::endl; |
3520 |
|
|
ofstrm << "lambda_reuss(x/100.0) with line lw 2 lc rgb 'black' lt 2 title \"{/Symbol l}_{Reuss}\" ,\\" << std::endl; |
3521 |
|
|
ofstrm << "lambda_hs_inf(x/100.0) with line lw 2 lc rgb 'grey' lt 2 title \"{/Symbol l}_{HS-}\" ,\\" << std::endl; |
3522 |
|
|
ofstrm << "lambda_hs_sup(x/100.0) with line lw 2 lc rgb 'grey' lt 2 dashtype 2 title \"{/Symbol l}_{HS+}\" ,\\" << std::endl; |
3523 |
|
|
ofstrm << "lambda_voigt(x/100.0) with line lw 2 lc rgb 'black' lt 2 dashtype 2 title \"{/Symbol l}_{Voigt}\"" << std::endl; |
3524 |
couturad |
971 |
} |
3525 |
couturad |
993 |
if(fem_maill_quad) |
3526 |
couturad |
971 |
{ |
3527 |
couturad |
993 |
ofstrm << "set output \"resultats/graph/cumul_Lambda_app_quad.pdf\"" << std::endl; |
3528 |
|
|
ofstrm << "#set title \"Conductivite thermique (W/(m*K))\"" << std::endl; |
3529 |
|
|
ofstrm << "set xlabel \"Fraction volumique (%)\"" << std::endl; |
3530 |
|
|
ofstrm << "set ylabel \"Conductivite thermique (W/(m*K))\"" << std::endl; |
3531 |
|
|
ofstrm << "plot \"<(sed -n 2p resultats/data_graph/erosion_Conductivite_thermique_app_FH_quad.txt)\" u ($3*100):($5):($4*100):($6) with xyerrorbars pt 5 ps 0.5 lc rgb 'blue' lw 1 title \"FH\",\\" << std::endl; |
3532 |
|
|
ofstrm << "\"<(sed -n 2p resultats/data_graph/erosion_Conductivite_thermique_app_GH_quad.txt)\" u ($3*100):($5):($4*100):($6) with xyerrorbars pt 5 ps 0.5 lc rgb 'red' lw 1 title \"GH\" ,\\" << std::endl; |
3533 |
|
|
ofstrm << "lambda_reuss(x/100.0) with line lw 2 lc rgb 'black' lt 2 title \"{/Symbol l}_{Reuss}\" ,\\" << std::endl; |
3534 |
|
|
ofstrm << "lambda_hs_inf(x/100.0) with line lw 2 lc rgb 'grey' lt 2 title \"{/Symbol l}_{HS-}\" ,\\" << std::endl; |
3535 |
|
|
ofstrm << "lambda_hs_sup(x/100.0) with line lw 2 lc rgb 'grey' lt 2 dashtype 2 title \"{/Symbol l}_{HS+}\" ,\\" << std::endl; |
3536 |
|
|
ofstrm << "lambda_voigt(x/100.0) with line lw 2 lc rgb 'black' lt 2 dashtype 2 title \"{/Symbol l}_{Voigt}\"" << std::endl; |
3537 |
couturad |
971 |
} |
3538 |
|
|
if(fem_maill_lin && fem_maill_quad) |
3539 |
|
|
{ |
3540 |
couturad |
993 |
ofstrm << "set output \"resultats/graph/cumul_Lambda_app_lin_quad.pdf\"" << std::endl; |
3541 |
|
|
ofstrm << "#set title \"Conductivite thermique (W/(m*K))\"" << std::endl; |
3542 |
|
|
ofstrm << "set xlabel \"Fraction volumique (%)\"" << std::endl; |
3543 |
|
|
ofstrm << "set ylabel \"Conductivite thermique (W/(m*K))\"" << std::endl; |
3544 |
|
|
ofstrm << "plot \"<(sed -n 2p resultats/data_graph/erosion_Conductivite_thermique_app_FH_lin.txt)\" u ($3*100):($5):($4*100):($6) with xyerrorbars pt 4 ps 0.5 lc rgb 'blue' lw 1 title \"FH lin\",\\" << std::endl; |
3545 |
|
|
ofstrm << "\"<(sed -n 2p resultats/data_graph/erosion_Conductivite_thermique_app_GH_lin.txt)\" u ($3*100):($5):($4*100):($6) with xyerrorbars pt 4 ps 0.5 lc rgb 'red' lw 1 title \"GH lin\" ,\\" << std::endl; |
3546 |
|
|
ofstrm << "\"<(sed -n 2p resultats/data_graph/erosion_Conductivite_thermique_app_FH_quad.txt)\" u ($3*100):($5):($4*100):($6) with xyerrorbars pt 5 ps 0.5 lc rgb 'blue' lw 1 title \"FH quad\",\\" << std::endl; |
3547 |
|
|
ofstrm << "\"<(sed -n 2p resultats/data_graph/erosion_Conductivite_thermique_app_GH_quad.txt)\" u ($3*100):($5):($4*100):($6) with xyerrorbars pt 5 ps 0.5 lc rgb 'red' lw 1 title \"GH quad\"" << std::endl; |
3548 |
couturad |
971 |
} |
3549 |
couturad |
982 |
|
3550 |
couturad |
993 |
ofstrm << "" << std::endl; |
3551 |
|
|
ofstrm << "#Cumul erosion lambda app" << std::endl; |
3552 |
|
|
if(fem_maill_lin) |
3553 |
couturad |
982 |
{ |
3554 |
couturad |
993 |
ofstrm << "set terminal pdf size 10,8 font 'Helvetica,20'" << std::endl; |
3555 |
|
|
ofstrm << "set output \"resultats/graph/multi_cumul_erosion_Lambda_app_lin.pdf\"" << std::endl; |
3556 |
|
|
ofstrm << "unset bmargin" << std::endl; |
3557 |
|
|
ofstrm << "set lmargin 10" << std::endl; |
3558 |
|
|
ofstrm << "set rmargin 18" << std::endl; |
3559 |
|
|
ofstrm << "set multiplot layout 2, 1" << std::endl; |
3560 |
|
|
ofstrm << "#set xrange [0:0.41]" << std::endl; |
3561 |
|
|
ofstrm << "#set title \"Module de Young (GPa)\"" << std::endl; |
3562 |
|
|
ofstrm << "unset xlabel" << std::endl; |
3563 |
|
|
ofstrm << "unset xtic" << std::endl; |
3564 |
|
|
ofstrm << "set ylabel \"Conductivite thermique (W/(m*K))\" offset 1" << std::endl; |
3565 |
|
|
ofstrm << "set ytics nomirror" << std::endl; |
3566 |
|
|
ofstrm << "#set yrange [0.165:0.19]" << std::endl; |
3567 |
|
|
ofstrm << "set size 1,0.7" << std::endl; |
3568 |
|
|
ofstrm << "set origin 0,0.3" << std::endl; |
3569 |
|
|
ofstrm << "plot \"resultats/data_graph/erosion_Conductivite_thermique_app_FH_lin.txt\" u ($1*" << epaisseur_couche_erosion << "):($5) with lines lc rgb 'blue' lw 2 title \"FH\" ,\\" << std::endl; |
3570 |
|
|
ofstrm << "\"resultats/data_graph/erosion_Conductivite_thermique_app_FH_lin.txt\" u ($1*" << epaisseur_couche_erosion << "):($5):($6) with yerrorbars pt 4 ps 1.0 lc rgb 'blue' lw 2 notitle ,\\" << std::endl; |
3571 |
|
|
ofstrm << "\"resultats/data_graph/erosion_Conductivite_thermique_app_GH_lin.txt\" u ($1*" << epaisseur_couche_erosion << "):($5) with lines lc rgb 'red' lw 2 title \"GH\" ,\\" << std::endl; |
3572 |
|
|
ofstrm << "\"resultats/data_graph/erosion_Conductivite_thermique_app_GH_lin.txt\" u ($1*" << epaisseur_couche_erosion << "):($5):($6) with yerrorbars pt 4 ps 1.0 lc rgb 'red' lw 2 notitle ,\\" << std::endl; |
3573 |
|
|
ofstrm << "\"resultats/data_graph/erosion_Conductivite_thermique_app_GH_lin.txt\" u ($1*" << epaisseur_couche_erosion << "):(lambda_reuss($3)) with line lw 2 lc rgb 'black' lt 2 title \"{/Symbol l}_{Reuss}\" ,\\" << std::endl; |
3574 |
|
|
ofstrm << "\"resultats/data_graph/erosion_Conductivite_thermique_app_GH_lin.txt\" u ($1*" << epaisseur_couche_erosion << "):(lambda_hs_inf($3)) with line lw 2 lc rgb 'grey' lt 2 title \"{/Symbol l}_{HS-}\" ,\\" << std::endl; |
3575 |
|
|
ofstrm << "\"resultats/data_graph/erosion_Conductivite_thermique_app_GH_lin.txt\" u ($1*" << epaisseur_couche_erosion << "):(lambda_hs_sup($3)) with line lw 2 lc rgb 'grey' lt 2 dashtype 2 title \"{/Symbol l}_{HS+}\" ,\\" << std::endl; |
3576 |
|
|
ofstrm << "\"resultats/data_graph/erosion_Conductivite_thermique_app_GH_lin.txt\" u ($1*" << epaisseur_couche_erosion << "):(lambda_voigt($3)) with line lw 2 lc rgb 'black' lt 2 dashtype 2 title \"{/Symbol l}_{Voigt}\"" << std::endl; |
3577 |
|
|
ofstrm << "set xlabel \"Distance d'erosion d_e\" offset 0,0" << std::endl; |
3578 |
|
|
ofstrm << "set ylabel \"Fraction volumique (%)\" offset -2" << std::endl; |
3579 |
|
|
ofstrm << "unset yrange" << std::endl; |
3580 |
|
|
ofstrm << "set size 1,0.3" << std::endl; |
3581 |
|
|
ofstrm << "set origin 0,0" << std::endl; |
3582 |
|
|
ofstrm << "set xtics" << std::endl; |
3583 |
|
|
ofstrm << "set xlabel \"Distance d'erosion d_e\"" << std::endl; |
3584 |
|
|
ofstrm << "#set yrange [9:14]" << std::endl; |
3585 |
|
|
ofstrm << "plot \"resultats/data_graph/erosion_Modules_app_CH_lin.txt\" u ($1*" << epaisseur_couche_erosion << "):($3*100) with linespoint lc rgb 'black' lt 2 lw 2 pt 6 ps 1.0 title \"Frac. Vol.\" ,\\" << std::endl; |
3586 |
|
|
ofstrm << "\"resultats/data_graph/erosion_Modules_app_CH_lin.txt\" u ($1*" << epaisseur_couche_erosion << "):($3*100):($4*100) with yerrorbars lc rgb 'black' pt 6 ps 1.0 notitle" << std::endl; |
3587 |
|
|
ofstrm << "unset yrange" << std::endl; |
3588 |
|
|
ofstrm << "unset lmargin" << std::endl; |
3589 |
|
|
ofstrm << "unset rmargin" << std::endl; |
3590 |
|
|
ofstrm << "unset multiplot" << std::endl; |
3591 |
couturad |
982 |
} |
3592 |
couturad |
993 |
if(fem_maill_quad) |
3593 |
couturad |
982 |
{ |
3594 |
couturad |
993 |
ofstrm << "set terminal pdf size 10,8 font 'Helvetica,20'" << std::endl; |
3595 |
|
|
ofstrm << "set output \"resultats/graph/multi_cumul_erosion_Lambda_app_quad.pdf\"" << std::endl; |
3596 |
|
|
ofstrm << "unset bmargin" << std::endl; |
3597 |
|
|
ofstrm << "set lmargin 10" << std::endl; |
3598 |
|
|
ofstrm << "set rmargin 18" << std::endl; |
3599 |
|
|
ofstrm << "set multiplot layout 2, 1" << std::endl; |
3600 |
|
|
ofstrm << "#set xrange [0:0.41]" << std::endl; |
3601 |
|
|
ofstrm << "#set title \"Module de Young (GPa)\"" << std::endl; |
3602 |
|
|
ofstrm << "unset xlabel" << std::endl; |
3603 |
|
|
ofstrm << "unset xtic" << std::endl; |
3604 |
|
|
ofstrm << "set ylabel \"Conductivite thermique (W/(m*K))\" offset 1" << std::endl; |
3605 |
|
|
ofstrm << "set ytics nomirror" << std::endl; |
3606 |
|
|
ofstrm << "#set yrange [0.165:0.19]" << std::endl; |
3607 |
|
|
ofstrm << "set size 1,0.7" << std::endl; |
3608 |
|
|
ofstrm << "set origin 0,0.3" << std::endl; |
3609 |
|
|
ofstrm << "plot \"resultats/data_graph/erosion_Conductivite_thermique_app_FH_quad.txt\" u ($1*" << epaisseur_couche_erosion << "):($5) with lines lc rgb 'blue' lw 2 title \"FH\" ,\\" << std::endl; |
3610 |
|
|
ofstrm << "\"resultats/data_graph/erosion_Conductivite_thermique_app_FH_quad.txt\" u ($1*" << epaisseur_couche_erosion << "):($5):($6) with yerrorbars pt 5 ps 1.0 lc rgb 'blue' lw 2 notitle ,\\" << std::endl; |
3611 |
|
|
ofstrm << "\"resultats/data_graph/erosion_Conductivite_thermique_app_GH_quad.txt\" u ($1*" << epaisseur_couche_erosion << "):($5) with lines lc rgb 'red' lw 2 title \"GH\" ,\\" << std::endl; |
3612 |
|
|
ofstrm << "\"resultats/data_graph/erosion_Conductivite_thermique_app_GH_quad.txt\" u ($1*" << epaisseur_couche_erosion << "):($5):($6) with yerrorbars pt 5 ps 1.0 lc rgb 'red' lw 2 notitle ,\\" << std::endl; |
3613 |
|
|
ofstrm << "\"resultats/data_graph/erosion_Conductivite_thermique_app_GH_quad.txt\" u ($1*" << epaisseur_couche_erosion << "):(lambda_reuss($3)) with line lw 2 lc rgb 'black' lt 2 title \"{/Symbol l}_{Reuss}\" ,\\" << std::endl; |
3614 |
|
|
ofstrm << "\"resultats/data_graph/erosion_Conductivite_thermique_app_GH_quad.txt\" u ($1*" << epaisseur_couche_erosion << "):(lambda_hs_inf($3)) with line lw 2 lc rgb 'grey' lt 2 title \"{/Symbol l}_{HS-}\" ,\\" << std::endl; |
3615 |
|
|
ofstrm << "\"resultats/data_graph/erosion_Conductivite_thermique_app_GH_quad.txt\" u ($1*" << epaisseur_couche_erosion << "):(lambda_hs_sup($3)) with line lw 2 lc rgb 'grey' lt 2 dashtype 2 title \"{/Symbol l}_{HS+}\" ,\\" << std::endl; |
3616 |
|
|
ofstrm << "\"resultats/data_graph/erosion_Conductivite_thermique_app_GH_quad.txt\" u ($1*" << epaisseur_couche_erosion << "):(lambda_voigt($3)) with line lw 2 lc rgb 'black' lt 2 dashtype 2 title \"{/Symbol l}_{Voigt}\"" << std::endl; |
3617 |
|
|
ofstrm << "set xlabel \"Distance d'erosion d_e\" offset 0,0" << std::endl; |
3618 |
|
|
ofstrm << "set ylabel \"Fraction volumique (%)\" offset -2" << std::endl; |
3619 |
|
|
ofstrm << "unset yrange" << std::endl; |
3620 |
|
|
ofstrm << "set size 1,0.3" << std::endl; |
3621 |
|
|
ofstrm << "set origin 0,0" << std::endl; |
3622 |
|
|
ofstrm << "set xtics" << std::endl; |
3623 |
|
|
ofstrm << "set xlabel \"Distance d'erosion d_e\"" << std::endl; |
3624 |
|
|
ofstrm << "#set yrange [9:14]" << std::endl; |
3625 |
|
|
ofstrm << "plot \"resultats/data_graph/erosion_Modules_app_CH_quad.txt\" u ($1*" << epaisseur_couche_erosion << "):($3*100) with linespoint lc rgb 'black' lt 2 lw 2 pt 7 ps 1.0 title \"Frac. Vol.\" ,\\" << std::endl; |
3626 |
|
|
ofstrm << "\"resultats/data_graph/erosion_Modules_app_CH_quad.txt\" u ($1*" << epaisseur_couche_erosion << "):($3*100):($4*100) with yerrorbars lc rgb 'black' pt 7 ps 1.0 notitle" << std::endl; |
3627 |
|
|
ofstrm << "unset yrange" << std::endl; |
3628 |
|
|
ofstrm << "unset lmargin" << std::endl; |
3629 |
|
|
ofstrm << "unset rmargin" << std::endl; |
3630 |
|
|
ofstrm << "unset multiplot" << std::endl; |
3631 |
couturad |
982 |
} |
3632 |
|
|
if(fem_maill_lin && fem_maill_quad) |
3633 |
|
|
{ |
3634 |
couturad |
993 |
ofstrm << "set terminal pdf size 10,8 font 'Helvetica,20'" << std::endl; |
3635 |
|
|
ofstrm << "set output \"resultats/graph/multi_cumul_erosion_Lambda_app_lin_quad.pdf\"" << std::endl; |
3636 |
|
|
ofstrm << "unset bmargin" << std::endl; |
3637 |
|
|
ofstrm << "set lmargin 10" << std::endl; |
3638 |
|
|
ofstrm << "set rmargin 18" << std::endl; |
3639 |
|
|
ofstrm << "set multiplot layout 2, 1" << std::endl; |
3640 |
|
|
ofstrm << "#set xrange [0:0.41]" << std::endl; |
3641 |
|
|
ofstrm << "#set title \"Module de Young (GPa)\"" << std::endl; |
3642 |
|
|
ofstrm << "unset xlabel" << std::endl; |
3643 |
|
|
ofstrm << "unset xtic" << std::endl; |
3644 |
|
|
ofstrm << "set ylabel \"Conductivite thermique (W/(m*K))\" offset 1" << std::endl; |
3645 |
|
|
ofstrm << "set ytics nomirror" << std::endl; |
3646 |
|
|
ofstrm << "#set yrange [0.165:0.19]" << std::endl; |
3647 |
|
|
ofstrm << "set size 1,0.7" << std::endl; |
3648 |
|
|
ofstrm << "set origin 0,0.3" << std::endl; |
3649 |
|
|
ofstrm << "plot \"resultats/data_graph/erosion_Conductivite_thermique_app_FH_lin.txt\" u ($1*" << epaisseur_couche_erosion << "):($5) with lines lc rgb 'blue' lw 2 title \"FH lin\" ,\\" << std::endl; |
3650 |
|
|
ofstrm << "\"resultats/data_graph/erosion_Conductivite_thermique_app_FH_lin.txt\" u ($1*" << epaisseur_couche_erosion << "):($5):($6) with yerrorbars pt 4 ps 1.0 lc rgb 'blue' lw 2 notitle ,\\" << std::endl; |
3651 |
|
|
ofstrm << "\"resultats/data_graph/erosion_Conductivite_thermique_app_GH_lin.txt\" u ($1*" << epaisseur_couche_erosion << "):($5) with lines lc rgb 'red' lw 2 title \"GH lin\" ,\\" << std::endl; |
3652 |
|
|
ofstrm << "\"resultats/data_graph/erosion_Conductivite_thermique_app_GH_lin.txt\" u ($1*" << epaisseur_couche_erosion << "):($5):($6) with yerrorbars pt 4 ps 1.0 lc rgb 'red' lw 2 notitle ,\\" << std::endl; |
3653 |
|
|
ofstrm << "\"resultats/data_graph/erosion_Conductivite_thermique_app_FH_quad.txt\" u ($1*" << epaisseur_couche_erosion << "):($5) with lines lc rgb 'blue' lw 2 title \"FH quad\" ,\\" << std::endl; |
3654 |
|
|
ofstrm << "\"resultats/data_graph/erosion_Conductivite_thermique_app_FH_quad.txt\" u ($1*" << epaisseur_couche_erosion << "):($5):($6) with yerrorbars pt 5 ps 1.0 lc rgb 'blue' lw 2 notitle ,\\" << std::endl; |
3655 |
|
|
ofstrm << "\"resultats/data_graph/erosion_Conductivite_thermique_app_GH_quad.txt\" u ($1*" << epaisseur_couche_erosion << "):($5) with lines lc rgb 'red' lw 2 title \"GH quad\" ,\\" << std::endl; |
3656 |
|
|
ofstrm << "\"resultats/data_graph/erosion_Conductivite_thermique_app_GH_quad.txt\" u ($1*" << epaisseur_couche_erosion << "):($5):($6) with yerrorbars pt 5 ps 1.0 lc rgb 'red' lw 2 notitle" << std::endl; |
3657 |
|
|
ofstrm << "set xlabel \"Distance d'erosion d_e\" offset 0,0" << std::endl; |
3658 |
|
|
ofstrm << "set ylabel \"Fraction volumique (%)\" offset -2" << std::endl; |
3659 |
|
|
ofstrm << "unset yrange" << std::endl; |
3660 |
|
|
ofstrm << "set size 1,0.3" << std::endl; |
3661 |
|
|
ofstrm << "set origin 0,0" << std::endl; |
3662 |
|
|
ofstrm << "set xtics" << std::endl; |
3663 |
|
|
ofstrm << "set xlabel \"Distance d'erosion d_e\"" << std::endl; |
3664 |
|
|
ofstrm << "#set yrange [9:14]" << std::endl; |
3665 |
|
|
ofstrm << "plot \"resultats/data_graph/erosion_Modules_app_CH_lin.txt\" u ($1*" << epaisseur_couche_erosion << "):($3*100) with linespoint lc rgb 'black' lt 2 lw 2 pt 6 ps 1.0 title \"Frac. Vol. lin\" ,\\" << std::endl; |
3666 |
|
|
ofstrm << "\"resultats/data_graph/erosion_Modules_app_CH_lin.txt\" u ($1*" << epaisseur_couche_erosion << "):($3*100):($4*100) with yerrorbars lc rgb 'black' pt 6 ps 1.0 notitle ,\\" << std::endl; |
3667 |
|
|
ofstrm << "\"resultats/data_graph/erosion_Modules_app_CH_quad.txt\" u ($1*" << epaisseur_couche_erosion << "):($3*100) with linespoint lc rgb 'black' lt 2 lw 2 pt 7 ps 1.0 title \"Frac. Vol. quad\" ,\\" << std::endl; |
3668 |
|
|
ofstrm << "\"resultats/data_graph/erosion_Modules_app_CH_quad.txt\" u ($1*" << epaisseur_couche_erosion << "):($3*100):($4*100) with yerrorbars lc rgb 'black' pt 7 ps 1.0 notitle" << std::endl; |
3669 |
|
|
ofstrm << "unset yrange" << std::endl; |
3670 |
|
|
ofstrm << "unset lmargin" << std::endl; |
3671 |
|
|
ofstrm << "unset rmargin" << std::endl; |
3672 |
|
|
ofstrm << "unset multiplot" << std::endl; |
3673 |
couturad |
982 |
} |
3674 |
couturad |
951 |
} |
3675 |
couturad |
993 |
ofstrm << "" << std::endl; |
3676 |
|
|
ofstrm << "#Nombre de particules" << std::endl; |
3677 |
|
|
ofstrm << "unset key" << std::endl; |
3678 |
|
|
ofstrm << "set terminal pdf size 8,4 font 'Helvetica,20'" << std::endl; |
3679 |
|
|
ofstrm << "unset xrange" << std::endl; |
3680 |
|
|
ofstrm << "unset yrange" << std::endl; |
3681 |
|
|
ofstrm << "set lmargin 10" << std::endl; |
3682 |
|
|
ofstrm << "set rmargin 2" << std::endl; |
3683 |
|
|
ofstrm << "set output \"resultats/graph/cao_nb_particule.pdf\"" << std::endl; |
3684 |
|
|
ofstrm << "#set title \"Nombre (Particule)\"" << std::endl; |
3685 |
|
|
ofstrm << "set xlabel \"Nombre\"" << std::endl; |
3686 |
|
|
ofstrm << "set ylabel \"Densité de probabilité\"" << std::endl; |
3687 |
|
|
ofstrm << "plot 'resultats/cao/histo_Cao_Particule_nb_forme.txt' using 1:4 with impulses notitle lc rgb 'blue' lw 50" << std::endl; |
3688 |
|
|
|
3689 |
|
|
ofstrm << "" << std::endl; |
3690 |
|
|
ofstrm << "#Volume ALL" << std::endl; |
3691 |
|
|
ofstrm << "set output \"resultats/graph/cao_volume.pdf\"" << std::endl; |
3692 |
|
|
ofstrm << "#set title \"Volume\"" << std::endl; |
3693 |
|
|
ofstrm << "set xlabel \"Volume\"" << std::endl; |
3694 |
|
|
ofstrm << "set ylabel \"Densité de probabilité\"" << std::endl; |
3695 |
|
|
ofstrm << "plot 'resultats/cao/histo_Cao_ALL_volume_forme.txt' using 3:4 with impulses notitle lc rgb 'blue' lw 2" << std::endl; |
3696 |
|
|
|
3697 |
|
|
ofstrm << "" << std::endl; |
3698 |
|
|
ofstrm << "#Volume des particules" << std::endl; |
3699 |
|
|
ofstrm << "set output \"resultats/graph/cao_volume_particule.pdf\"" << std::endl; |
3700 |
|
|
ofstrm << "#set title \"Volume (Particule)\"" << std::endl; |
3701 |
|
|
ofstrm << "set xlabel \"Volume\"" << std::endl; |
3702 |
|
|
ofstrm << "set ylabel \"Densité de probabilité\"" << std::endl; |
3703 |
|
|
ofstrm << "plot 'resultats/cao/histo_Cao_Particule_volume_forme.txt' using 3:4 with impulses notitle lc rgb 'blue' lw 2" << std::endl; |
3704 |
|
|
|
3705 |
|
|
ofstrm << "" << std::endl; |
3706 |
|
|
ofstrm << "#Volume de la matrice" << std::endl; |
3707 |
|
|
ofstrm << "set output \"resultats/graph/cao_volume_matrice.pdf\"" << std::endl; |
3708 |
|
|
ofstrm << "#set title \"Volume (Matrice)\"" << std::endl; |
3709 |
|
|
ofstrm << "set xlabel \"Volume\"" << std::endl; |
3710 |
|
|
ofstrm << "set ylabel \"Densité de probabilité\"" << std::endl; |
3711 |
|
|
ofstrm << "plot 'resultats/cao/histo_Cao_Matrice_volume_forme.txt' using 3:4 with impulses notitle lc rgb 'blue' lw 2" << std::endl; |
3712 |
|
|
|
3713 |
|
|
ofstrm << "" << std::endl; |
3714 |
|
|
ofstrm << "#Nb element 3D" << std::endl; |
3715 |
|
|
ofstrm << "set output \"resultats/graph/maillage_mg_nb_element_3D.pdf\"" << std::endl; |
3716 |
|
|
ofstrm << "#set title \"Distribution nombre elements\"" << std::endl; |
3717 |
|
|
ofstrm << "set xlabel \"Nombre element\"" << std::endl; |
3718 |
|
|
ofstrm << "set ylabel \"Densité de probabilité\"" << std::endl; |
3719 |
|
|
ofstrm << "plot 'resultats/maillage_mg/histo_MG_maillage_ALL_nb_ele_3D.txt' using 3:4 with impulses notitle lc rgb 'blue' lw 2" << std::endl; |
3720 |
|
|
|
3721 |
|
|
ofstrm << "" << std::endl; |
3722 |
|
|
ofstrm << "#Nb element 3D particule" << std::endl; |
3723 |
|
|
ofstrm << "set output \"resultats/graph/maillage_mg_nb_element_3D_particule.pdf\"" << std::endl; |
3724 |
|
|
ofstrm << "#set title \"Distribution nombre elements (Particules)\"" << std::endl; |
3725 |
|
|
ofstrm << "set xlabel \"Nombre element\"" << std::endl; |
3726 |
|
|
ofstrm << "set ylabel \"Densité de probabilité\"" << std::endl; |
3727 |
|
|
ofstrm << "plot 'resultats/maillage_mg/histo_MG_maillage_Particule_nb_ele_3D.txt' using 3:4 with impulses notitle lc rgb 'blue' lw 2" << std::endl; |
3728 |
|
|
|
3729 |
|
|
ofstrm << "" << std::endl; |
3730 |
|
|
ofstrm << "#Nb element 3D matrice" << std::endl; |
3731 |
|
|
ofstrm << "set output \"resultats/graph/maillage_mg_nb_element_3D_matrice.pdf\"" << std::endl; |
3732 |
|
|
ofstrm << "#set title \"Distribution nombre elements (Matrice)\"" << std::endl; |
3733 |
|
|
ofstrm << "set xlabel \"Nombre element\"" << std::endl; |
3734 |
|
|
ofstrm << "set ylabel \"Densité de probabilité\"" << std::endl; |
3735 |
|
|
ofstrm << "plot 'resultats/maillage_mg/histo_MG_maillage_Matrice_nb_ele_3D.txt' using 3:4 with impulses notitle lc rgb 'blue' lw 2" << std::endl; |
3736 |
|
|
|
3737 |
|
|
ofstrm << "" << std::endl; |
3738 |
|
|
ofstrm << "#Taille element ALL" << std::endl; |
3739 |
|
|
ofstrm << "set output \"resultats/graph/maillage_mg_taille_element.pdf\"" << std::endl; |
3740 |
|
|
ofstrm << "#set title \"Distribution taille elements\"" << std::endl; |
3741 |
|
|
ofstrm << "set xlabel \"Taille element\"" << std::endl; |
3742 |
|
|
ofstrm << "set ylabel \"Densité de probabilité\"" << std::endl; |
3743 |
|
|
ofstrm << "plot 'resultats/maillage_mg/histo_MG_maillage_ALL_taille_3D.txt' using 3:4 with impulses notitle lc rgb 'blue' lw 2" << std::endl; |
3744 |
|
|
|
3745 |
|
|
ofstrm << "" << std::endl; |
3746 |
|
|
ofstrm << "#Taille element particule" << std::endl; |
3747 |
|
|
ofstrm << "set output \"resultats/graph/maillage_mg_taille_element_particule.pdf\"" << std::endl; |
3748 |
|
|
ofstrm << "#set title \"Distribution taille elements\"" << std::endl; |
3749 |
|
|
ofstrm << "set xlabel \"Taille element\"" << std::endl; |
3750 |
|
|
ofstrm << "set ylabel \"Densité de probabilité\"" << std::endl; |
3751 |
|
|
ofstrm << "plot 'resultats/maillage_mg/histo_MG_maillage_Particule_taille_3D.txt' using 3:4 with impulses notitle lc rgb 'blue' lw 2" << std::endl; |
3752 |
|
|
|
3753 |
|
|
ofstrm << "" << std::endl; |
3754 |
|
|
ofstrm << "#Taille element matrice" << std::endl; |
3755 |
|
|
ofstrm << "set output \"resultats/graph/maillage_mg_taille_element_matrice.pdf\"" << std::endl; |
3756 |
|
|
ofstrm << "#set title \"Distribution taille elements\"" << std::endl; |
3757 |
|
|
ofstrm << "set xlabel \"Taille element\"" << std::endl; |
3758 |
|
|
ofstrm << "set ylabel \"Densité de probabilité\"" << std::endl; |
3759 |
|
|
ofstrm << "plot 'resultats/maillage_mg/histo_MG_maillage_Matrice_taille_3D.txt' using 3:4 with impulses notitle lc rgb 'blue' lw 2" << std::endl; |
3760 |
|
|
|
3761 |
|
|
ofstrm << "" << std::endl; |
3762 |
|
|
ofstrm << "#Qualite element ALL" << std::endl; |
3763 |
|
|
ofstrm << "set output \"resultats/graph/maillage_mg_qualite_element.pdf\"" << std::endl; |
3764 |
|
|
ofstrm << "unset xrange" << std::endl; |
3765 |
|
|
ofstrm << "#set title \"Distribution qualite elements\"" << std::endl; |
3766 |
|
|
ofstrm << "set xlabel \"Qualite element\"" << std::endl; |
3767 |
|
|
ofstrm << "set ylabel \"Densité de probabilité\"" << std::endl; |
3768 |
|
|
ofstrm << "plot 'resultats/maillage_mg/histo_MG_maillage_ALL_qualite_3D.txt' using 3:4 with impulses notitle lc rgb 'blue' lw 2" << std::endl; |
3769 |
|
|
|
3770 |
|
|
ofstrm << "" << std::endl; |
3771 |
|
|
ofstrm << "#Qualite element Particule" << std::endl; |
3772 |
|
|
ofstrm << "set output \"resultats/graph/maillage_mg_qualite_element_particule.pdf\"" << std::endl; |
3773 |
|
|
ofstrm << "unset xrange" << std::endl; |
3774 |
|
|
ofstrm << "#set title \"Distribution qualite elements\"" << std::endl; |
3775 |
|
|
ofstrm << "set xlabel \"Qualite element\"" << std::endl; |
3776 |
|
|
ofstrm << "set ylabel \"Densité de probabilité\"" << std::endl; |
3777 |
|
|
ofstrm << "plot 'resultats/maillage_mg/histo_MG_maillage_Particule_qualite_3D.txt' using 3:4 with impulses notitle lc rgb 'blue' lw 2" << std::endl; |
3778 |
|
|
|
3779 |
|
|
ofstrm << "" << std::endl; |
3780 |
|
|
ofstrm << "#Qualite element Matrice" << std::endl; |
3781 |
|
|
ofstrm << "set output \"resultats/graph/maillage_mg_qualite_element_matrice.pdf\"" << std::endl; |
3782 |
|
|
ofstrm << "unset xrange" << std::endl; |
3783 |
|
|
ofstrm << "#set title \"Distribution qualite elements\"" << std::endl; |
3784 |
|
|
ofstrm << "set xlabel \"Qualite element\"" << std::endl; |
3785 |
|
|
ofstrm << "set ylabel \"Densité de probabilité\"" << std::endl; |
3786 |
|
|
ofstrm << "plot 'resultats/maillage_mg/histo_MG_maillage_Matrice_qualite_3D.txt' using 3:4 with impulses notitle lc rgb 'blue' lw 2" << std::endl; |
3787 |
|
|
|
3788 |
|
|
|
3789 |
|
|
|
3790 |
couturad |
964 |
if(fonc_affiche!=NULL) fonc_affiche((char*)"fig_Eapp.gnu"); |
3791 |
couturad |
951 |
} |
3792 |
couturad |
929 |
|
3793 |
|
|
|
3794 |
couturad |
951 |
|
3795 |
couturad |
919 |
int PARAMETRES::importer_fichier_parametres(char* fichier, OT_PARAMETRES* params) |
3796 |
|
|
{ |
3797 |
couturad |
964 |
return params->lire(fichier); |
3798 |
couturad |
919 |
} |
3799 |
|
|
|
3800 |
|
|
int PARAMETRES::importer_fichier_liste_parametres(char* fichier, std::vector< OT_PARAMETRES* >& vector_params) |
3801 |
|
|
{ |
3802 |
|
|
std::string str_fichier = fichier; |
3803 |
|
|
std::size_t found = str_fichier.rfind((char*)"/"); |
3804 |
|
|
std::string chemin; |
3805 |
|
|
if(found!=-1) |
3806 |
|
|
{ |
3807 |
|
|
chemin = str_fichier.substr(0,found+1); |
3808 |
|
|
} |
3809 |
|
|
else chemin = ""; |
3810 |
|
|
FILE* in=fopen(fichier,"rt"); |
3811 |
|
|
char ligne[4000]; |
3812 |
couturad |
968 |
fgets(ligne,4000,in); |
3813 |
couturad |
919 |
while(!feof(in)) |
3814 |
|
|
{ |
3815 |
|
|
char *aide = strstr(ligne,"//"); |
3816 |
|
|
if(aide==NULL) |
3817 |
|
|
{ |
3818 |
couturad |
968 |
char sous_fichier[500]; |
3819 |
|
|
sscanf(ligne,"%s",sous_fichier); |
3820 |
|
|
if(strlen(sous_fichier)==0) continue; |
3821 |
|
|
OT_PARAMETRES *param = new OT_PARAMETRES; |
3822 |
|
|
std::string str_sous_fichier = chemin; |
3823 |
|
|
str_sous_fichier.append(sous_fichier); |
3824 |
|
|
if(param->lire((char*)str_sous_fichier.c_str())==FAIL) return FAIL; |
3825 |
|
|
vector_params.push_back(param); |
3826 |
couturad |
919 |
} |
3827 |
couturad |
968 |
fgets(ligne,4000,in); |
3828 |
couturad |
919 |
} |
3829 |
couturad |
964 |
return OK; |
3830 |
couturad |
919 |
} |