Commit cd81d3bb authored by mozul's avatar mozul
Browse files

Squashed 'examples/' changes from da1441e..e5f8682

e5f8682 removing duplicate mur example
801823d Merge branch 'rc2015' of git-xen.lmgc.univ-montp2.fr:lmgc90/lmgc90_user_examples into rc2015
75681d7 update examples of Pre/prepro_grains for 2015 release
783cdf7 maj modele therm 3D
6c4b9fe maj modele elec
0de267e ajout mots cles manquant
d80b3dd Merge branch 'rc2015' of git-xen.lmgc.univ-montp2.fr:lmgc90/lmgc90_user_examples into rc2015
e5b8227 update display commands in rigid multi physics example for workshop
b9110d0 first update of Ateliers examples
acf58dc mise a jour des fct Ptr
b4b1e8f mise a jour des fct Ptr
580a96b first update of poro and therMAILx example
03ceb24 update mecaMAILx_RIGID_3D examples for 2015 release and add missing update of mecaMAILx_RIGID_2D
13255ca update mecaMAILx_RIGID_2D examples for 2015 release
d2b231c remove duplicate example script
b1c2a99 rename cubes_H8_explicit example in cubes_H8
50fb915 update mecaMAILx examples for 2015 release and remove cubes_H8 duplicate example
2ee408d update mecaMAILx_2D examples for 2015 release
2994047 update RIGID_3D examples for rev 2015 ddm and thermal not working yet
ea93075 update RIGID_2D example for new version

git-subtree-dir: examples
git-subtree-split: e5f8682eef4f74ebf9a107e233fb271cbdbf5035
parent bdefdcb1
......@@ -2,6 +2,9 @@ import os,sys
from pylmgc90.pre_lmgc import *
if not os.path.isdir('./DATBOX'):
os.mkdir('./DATBOX')
# on se place en 2D
dim = 2
......
......@@ -17,6 +17,7 @@ echo = 0
# info generation fichier visu
freq_display = 50
ref_radius = 1.
# info contact
freq_detect = 1
......@@ -29,6 +30,7 @@ relax = 1.0
gs_it1 = 51
gs_it2 = 1001
SetDimension(2)
### definition des parametres du calcul ###
utilities_logMes('INIT TIME STEPPING')
TimeEvolution_SetTimeStep(dt)
......@@ -75,9 +77,7 @@ overall_WriteDrivenDof()
RBDY2_WriteDrivenDof()
### post2D ##
post2D_SetDisplayedField('CONTACT POINT ')
post2D_SetDisplayedField('TACTOR ')
post2D_Init()
OpenDisplayFiles()
utilities_logMes('COMPUTE MASS')
RBDY2_ComputeMass()
......@@ -130,8 +130,8 @@ for k in xrange(1, nb_steps + 1, 1):
DKJCx_WriteLastVlocRloc()
#
### post2D ###
overall_WriteOutDisplayFile(freq_display)
post2D_WriteOutDisplayFile(0)
WriteDisplayFiles(freq_display,ref_radius)
### wrtieout handling ###
overall_CleanWriteOutFlags()
CloseDisplayFiles()
......@@ -5,6 +5,9 @@ import math
from pylmgc90.pre_lmgc import *
if not os.path.isdir('./DATBOX'):
os.mkdir('./DATBOX')
# on se place en 2D
dim = 2
......
$bdyty
RBDY2 1
$blmty
PLAIN 1 behav PLEXx avrd= 1.1594506E+00 gyrd= 8.1985536E-01
$nodty
NO3xx 1 coo1= 2.4979958E+00 coo2= 2.4979958E+00 coo3= 0.0000000E+00
$tacty
DISKx 1 color BLEUx byrd= 1.1594506E+00
$$$$$$
$bdyty
RBDY2 2
$blmty
PLAIN 1 behav PLEXx avrd= 8.2803019E-01 gyrd= 5.8550576E-01
$nodty
NO3xx 1 coo1= 7.4939873E+00 coo2= 2.4979958E+00 coo3= 0.0000000E+00
$tacty
DISKx 1 color BLEUx byrd= 8.2803019E-01
$$$$$$
$bdyty
RBDY2 3
$blmty
PLAIN 1 behav PLEXx avrd= 7.2912227E-01 gyrd= 5.1556730E-01
$nodty
NO3xx 1 coo1= 1.2489979E+01 coo2= 2.4979958E+00 coo3= 0.0000000E+00
$tacty
DISKx 1 color BLEUx byrd= 7.2912227E-01
$$$$$$
$bdyty
RBDY2 4
$blmty
PLAIN 1 behav PLEXx avrd= 1.5267961E+00 gyrd= 1.0796079E+00
$nodty
NO3xx 1 coo1= 1.7485970E+01 coo2= 2.4979958E+00 coo3= 0.0000000E+00
$tacty
DISKx 1 color BLEUx byrd= 1.5267961E+00
$$$$$$
$bdyty
RBDY2 5
$blmty
PLAIN 1 behav PLEXx avrd= 1.1461968E+00 gyrd= 8.1048354E-01
$nodty
NO3xx 1 coo1= 2.2481962E+01 coo2= 2.4979958E+00 coo3= 0.0000000E+00
$tacty
DISKx 1 color BLEUx byrd= 1.1461968E+00
$$$$$$
$bdyty
RBDY2 6
$blmty
PLAIN 1 behav PLEXx avrd= 1.3737374E+00 gyrd= 9.7137904E-01
$nodty
NO3xx 1 coo1= 2.7477953E+01 coo2= 2.4979958E+00 coo3= 0.0000000E+00
$tacty
DISKx 1 color BLEUx byrd= 1.3737374E+00
$$$$$$
$bdyty
RBDY2 7
$blmty
PLAIN 1 behav PLEXx avrd= 1.7841303E+00 gyrd= 1.2615707E+00
$nodty
NO3xx 1 coo1= 3.2473945E+01 coo2= 2.4979958E+00 coo3= 0.0000000E+00
$tacty
DISKx 1 color BLEUx byrd= 1.7841303E+00
$$$$$$
$bdyty
RBDY2 8
$blmty
PLAIN 1 behav PLEXx avrd= 1.6843555E+00 gyrd= 1.1910192E+00
$nodty
NO3xx 1 coo1= 3.7469937E+01 coo2= 2.4979958E+00 coo3= 0.0000000E+00
$tacty
DISKx 1 color BLEUx byrd= 1.6843555E+00
$$$$$$
$bdyty
RBDY2 9
$blmty
PLAIN 1 behav PLEXx avrd= 6.4447105E-01 gyrd= 4.5570985E-01
$nodty
NO3xx 1 coo1= 4.2465928E+01 coo2= 2.4979958E+00 coo3= 0.0000000E+00
$tacty
DISKx 1 color BLEUx byrd= 6.4447105E-01
$$$$$$
$bdyty
RBDY2 10
$blmty
PLAIN 1 behav PLEXx avrd= 6.8197554E-01 gyrd= 4.8222953E-01
$nodty
NO3xx 1 coo1= 4.7461920E+01 coo2= 2.4979958E+00 coo3= 0.0000000E+00
$tacty
DISKx 1 color BLEUx byrd= 6.8197554E-01
$$$$$$
$bdyty
RBDY2 11
$blmty
PLAIN 1 behav PLEXx avrd= 6.9414719E-01 gyrd= 4.9083619E-01
$nodty
NO3xx 1 coo1= 5.2457911E+01 coo2= 2.4979958E+00 coo3= 0.0000000E+00
$tacty
DISKx 1 color BLEUx byrd= 6.9414719E-01
$$$$$$
$bdyty
RBDY2 12
$blmty
PLAIN 1 behav PLEXx avrd= 1.6707429E+00 gyrd= 1.1813936E+00
$nodty
NO3xx 1 coo1= 5.7453903E+01 coo2= 2.4979958E+00 coo3= 0.0000000E+00
$tacty
DISKx 1 color BLEUx byrd= 1.6707429E+00
$$$$$$
$bdyty
RBDY2 13
$blmty
PLAIN 1 behav PLEXx avrd= 7.6711558E-01 gyrd= 5.4243263E-01
$nodty
NO3xx 1 coo1= 6.2449894E+01 coo2= 2.4979958E+00 coo3= 0.0000000E+00
$tacty
DISKx 1 color BLEUx byrd= 7.6711558E-01
$$$$$$
$bdyty
RBDY2 14
$blmty
PLAIN 1 behav PLEXx avrd= 1.1919636E+00 gyrd= 8.4284555E-01
$nodty
NO3xx 1 coo1= 6.7445886E+01 coo2= 2.4979958E+00 coo3= 0.0000000E+00
$tacty
DISKx 1 color BLEUx byrd= 1.1919636E+00
$$$$$$
$bdyty
RBDY2 15
$blmty
PLAIN 1 behav PLEXx avrd= 8.6048203E-01 gyrd= 6.0845268E-01
$nodty
NO3xx 1 coo1= 7.2441877E+01 coo2= 2.4979958E+00 coo3= 0.0000000E+00
$tacty
DISKx 1 color BLEUx byrd= 8.6048203E-01
$$$$$$
$bdyty
RBDY2 16
$blmty
PLAIN 1 behav PLEXx avrd= 6.8069634E-01 gyrd= 4.8132500E-01
$nodty
NO3xx 1 coo1= 7.7437869E+01 coo2= 2.4979958E+00 coo3= 0.0000000E+00
$tacty
DISKx 1 color BLEUx byrd= 6.8069634E-01
$$$$$$
$bdyty
RBDY2 17
$blmty
PLAIN 1 behav PLEXx avrd= 1.3078561E+00 gyrd= 9.2479389E-01
$nodty
NO3xx 1 coo1= 8.2433860E+01 coo2= 2.4979958E+00 coo3= 0.0000000E+00
$tacty
DISKx 1 color BLEUx byrd= 1.3078561E+00
$$$$$$
$bdyty
RBDY2 18
$blmty
PLAIN 1 behav PLEXx avrd= 1.4385537E+00 gyrd= 1.0172111E+00
$nodty
NO3xx 1 coo1= 8.7429852E+01 coo2= 2.4979958E+00 coo3= 0.0000000E+00
$tacty
DISKx 1 color BLEUx byrd= 1.4385537E+00
$$$$$$
$bdyty
RBDY2 19
$blmty
PLAIN 1 behav PLEXx avrd= 5.9661840E-01 gyrd= 4.2187291E-01
$nodty
NO3xx 1 coo1= 9.2425843E+01 coo2= 2.4979958E+00 coo3= 0.0000000E+00
$tacty
DISKx 1 color BLEUx byrd= 5.9661840E-01
$$$$$$
$bdyty
RBDY2 20
$blmty
PLAIN 1 behav PLEXx avrd= 1.1914242E+00 gyrd= 8.4246410E-01
$nodty
NO3xx 1 coo1= 9.7421835E+01 coo2= 2.4979958E+00 coo3= 0.0000000E+00
$tacty
DISKx 1 color BLEUx byrd= 1.1914242E+00
$$$$$$
$bdyty
RBDY2 21
$blmty
PLAIN 1 behav PLEXx avrd= 1.0294939E+00 gyrd= 7.2796212E-01
$nodty
NO3xx 1 coo1= 4.9959915E+00 coo2= 6.8246514E+00 coo3= 0.0000000E+00
$tacty
DISKx 1 color BLEUx byrd= 1.0294939E+00
$$$$$$
$bdyty
RBDY2 22
$blmty
PLAIN 1 behav PLEXx avrd= 8.4351939E-01 gyrd= 5.9645828E-01
$nodty
NO3xx 1 coo1= 9.9919831E+00 coo2= 6.8246514E+00 coo3= 0.0000000E+00
$tacty
DISKx 1 color BLEUx byrd= 8.4351939E-01
$$$$$$
$bdyty
RBDY2 23
$blmty
PLAIN 1 behav PLEXx avrd= 1.9983966E+00 gyrd= 1.4130798E+00
$nodty
NO3xx 1 coo1= 1.4987975E+01 coo2= 6.8246514E+00 coo3= 0.0000000E+00
$tacty
DISKx 1 color BLEUx byrd= 1.9983966E+00
$$$$$$
$bdyty
RBDY2 24
$blmty
PLAIN 1 behav PLEXx avrd= 1.7693831E+00 gyrd= 1.2511428E+00
$nodty
NO3xx 1 coo1= 1.9983966E+01 coo2= 6.8246514E+00 coo3= 0.0000000E+00
$tacty
DISKx 1 color BLEUx byrd= 1.7693831E+00
$$$$$$
$bdyty
RBDY2 25
$blmty
PLAIN 1 behav PLEXx avrd= 5.1642602E-01 gyrd= 3.6516834E-01
$nodty
NO3xx 1 coo1= 2.4979958E+01 coo2= 6.8246514E+00 coo3= 0.0000000E+00
$tacty
DISKx 1 color BLEUx byrd= 5.1642602E-01
$$$$$$
$bdyty
RBDY2 26
$blmty
PLAIN 1 behav PLEXx avrd= 1.8984815E+00 gyrd= 1.3424291E+00
$nodty
NO3xx 1 coo1= 2.9975949E+01 coo2= 6.8246514E+00 coo3= 0.0000000E+00
$tacty
DISKx 1 color BLEUx byrd= 1.8984815E+00
$$$$$$
$bdyty
RBDY2 27
$blmty
PLAIN 1 behav PLEXx avrd= 1.0361755E+00 gyrd= 7.3268675E-01
$nodty
NO3xx 1 coo1= 3.4971941E+01 coo2= 6.8246514E+00 coo3= 0.0000000E+00
$tacty
DISKx 1 color BLEUx byrd= 1.0361755E+00
$$$$$$
$bdyty
RBDY2 28
$blmty
PLAIN 1 behav PLEXx avrd= 1.5717908E+00 gyrd= 1.1114239E+00
$nodty
NO3xx 1 coo1= 3.9967932E+01 coo2= 6.8246514E+00 coo3= 0.0000000E+00
$tacty
DISKx 1 color BLEUx byrd= 1.5717908E+00
$$$$$$
$bdyty
RBDY2 29
$blmty
PLAIN 1 behav PLEXx avrd= 7.5255231E-01 gyrd= 5.3213484E-01
$nodty
NO3xx 1 coo1= 4.4963924E+01 coo2= 6.8246514E+00 coo3= 0.0000000E+00
$tacty
DISKx 1 color BLEUx byrd= 7.5255231E-01
$$$$$$
$bdyty
RBDY2 30
$blmty
PLAIN 1 behav PLEXx avrd= 1.6341699E+00 gyrd= 1.1555326E+00
$nodty
NO3xx 1 coo1= 4.9959915E+01 coo2= 6.8246514E+00 coo3= 0.0000000E+00
$tacty
DISKx 1 color BLEUx byrd= 1.6341699E+00
$$$$$$
$bdyty
RBDY2 31
$blmty
PLAIN 1 behav PLEXx avrd= 5.4148723E-01 gyrd= 3.8288929E-01
$nodty
NO3xx 1 coo1= 5.4955907E+01 coo2= 6.8246514E+00 coo3= 0.0000000E+00
$tacty
DISKx 1 color BLEUx byrd= 5.4148723E-01
$$$$$$
$bdyty
RBDY2 32
$blmty
PLAIN 1 behav PLEXx avrd= 1.2128379E+00 gyrd= 8.5760589E-01
$nodty
NO3xx 1 coo1= 5.9951898E+01 coo2= 6.8246514E+00 coo3= 0.0000000E+00
$tacty
DISKx 1 color BLEUx byrd= 1.2128379E+00
$$$$$$
$bdyty
RBDY2 33
$blmty
PLAIN 1 behav PLEXx avrd= 1.3509947E+00 gyrd= 9.5529754E-01
$nodty
NO3xx 1 coo1= 6.4947890E+01 coo2= 6.8246514E+00 coo3= 0.0000000E+00
$tacty
DISKx 1 color BLEUx byrd= 1.3509947E+00
$$$$$$
$bdyty
RBDY2 34
$blmty
PLAIN 1 behav PLEXx avrd= 9.2492888E-01 gyrd= 6.5402348E-01
$nodty
NO3xx 1 coo1= 6.9943881E+01 coo2= 6.8246514E+00 coo3= 0.0000000E+00
$tacty
DISKx 1 color BLEUx byrd= 9.2492888E-01
$$$$$$
$bdyty
RBDY2 35
$blmty
PLAIN 1 behav PLEXx avrd= 1.9375698E+00 gyrd= 1.3700687E+00
$nodty
NO3xx 1 coo1= 7.4939873E+01 coo2= 6.8246514E+00 coo3= 0.0000000E+00
$tacty
DISKx 1 color BLEUx byrd= 1.9375698E+00
$$$$$$
$bdyty
RBDY2 36
$blmty
PLAIN 1 behav PLEXx avrd= 1.7154136E+00 gyrd= 1.2129806E+00
$nodty
NO3xx 1 coo1= 7.9935865E+01 coo2= 6.8246514E+00 coo3= 0.0000000E+00
$tacty
DISKx 1 color BLEUx byrd= 1.7154136E+00
$$$$$$
$bdyty
RBDY2 37
$blmty
PLAIN 1 behav PLEXx avrd= 1.6327078E+00 gyrd= 1.1544988E+00
$nodty
NO3xx 1 coo1= 8.4931856E+01 coo2= 6.8246514E+00 coo3= 0.0000000E+00
$tacty
DISKx 1 color BLEUx byrd= 1.6327078E+00
$$$$$$
$bdyty
RBDY2 38
$blmty
PLAIN 1 behav PLEXx avrd= 1.7967116E+00 gyrd= 1.2704670E+00
$nodty
NO3xx 1 coo1= 8.9927848E+01 coo2= 6.8246514E+00 coo3= 0.0000000E+00
$tacty
DISKx 1 color BLEUx byrd= 1.7967116E+00
$$$$$$
$bdyty
RBDY2 39
$blmty
PLAIN 1 behav PLEXx avrd= 1.3385037E+00 gyrd= 9.4646504E-01
$nodty
NO3xx 1 coo1= 9.4923839E+01 coo2= 6.8246514E+00 coo3= 0.0000000E+00
$tacty
DISKx 1 color BLEUx byrd= 1.3385037E+00
$$$$$$
$bdyty
RBDY2 40
$blmty
PLAIN 1 behav PLEXx avrd= 6.2800344E-01 gyrd= 4.4406549E-01
$nodty
NO3xx 1 coo1= 2.4979958E+00 coo2= 1.1151307E+01 coo3= 0.0000000E+00
$tacty
DISKx 1 color BLEUx byrd= 6.2800344E-01
$$$$$$
$bdyty
RBDY2 41
$blmty
PLAIN 1 behav PLEXx avrd= 8.6516194E-01 gyrd= 6.1176187E-01
$nodty
NO3xx 1 coo1= 7.4939873E+00 coo2= 1.1151307E+01 coo3= 0.0000000E+00
$tacty
DISKx 1 color BLEUx byrd= 8.6516194E-01
$$$$$$
$bdyty
RBDY2 42
$blmty
PLAIN 1 behav PLEXx avrd= 9.9369637E-01 gyrd= 7.0264944E-01
$nodty
NO3xx 1 coo1= 1.2489979E+01 coo2= 1.1151307E+01 coo3= 0.0000000E+00
$tacty
DISKx 1 color BLEUx byrd= 9.9369637E-01
$$$$$$
$bdyty
RBDY2 43
$blmty
PLAIN 1 behav PLEXx avrd= 1.0232619E+00 gyrd= 7.2355543E-01
$nodty
NO3xx 1 coo1= 1.7485970E+01 coo2= 1.1151307E+01 coo3= 0.0000000E+00
$tacty
DISKx 1 color BLEUx byrd= 1.0232619E+00
$$$$$$
$bdyty
RBDY2 44
$blmty
PLAIN 1 behav PLEXx avrd= 1.9569005E+00 gyrd= 1.3837376E+00
$nodty
NO3xx 1 coo1= 2.2481962E+01 coo2= 1.1151307E+01 coo3= 0.0000000E+00
$tacty
DISKx 1 color BLEUx byrd= 1.9569005E+00
$$$$$$
$bdyty
RBDY2 45
$blmty
PLAIN 1 behav PLEXx avrd= 1.2403801E+00 gyrd= 8.7708116E-01
$nodty
NO3xx 1 coo1= 2.7477953E+01 coo2= 1.1151307E+01 coo3= 0.0000000E+00
$tacty
DISKx 1 color BLEUx byrd= 1.2403801E+00
$$$$$$
$bdyty
RBDY2 46
$blmty
PLAIN 1 behav PLEXx avrd= 1.0290577E+00 gyrd= 7.2765367E-01
$nodty
NO3xx 1 coo1= 3.2473945E+01 coo2= 1.1151307E+01 coo3= 0.0000000E+00
$tacty
DISKx 1 color BLEUx byrd= 1.0290577E+00
$$$$$$
$bdyty
RBDY2 47
$blmty
PLAIN 1 behav PLEXx avrd= 8.9928048E-01 gyrd= 6.3588733E-01
$nodty
NO3xx 1 coo1= 3.7469937E+01 coo2= 1.1151307E+01 coo3= 0.0000000E+00
$tacty
DISKx 1 color BLEUx byrd= 8.9928048E-01
$$$$$$
$bdyty
RBDY2 48
$blmty
PLAIN 1 behav PLEXx avrd= 8.1273240E-01 gyrd= 5.7468859E-01
$nodty
NO3xx 1 coo1= 4.2465928E+01 coo2= 1.1151307E+01 coo3= 0.0000000E+00
$tacty
DISKx 1 color BLEUx byrd= 8.1273240E-01
$$$$$$
$bdyty
RBDY2 49
$blmty
PLAIN 1 behav PLEXx avrd= 1.1273637E+00 gyrd= 7.9716649E-01
$nodty
NO3xx 1 coo1= 4.7461920E+01 coo2= 1.1151307E+01 coo3= 0.0000000E+00
$tacty
DISKx 1 color BLEUx byrd= 1.1273637E+00
$$$$$$
$bdyty
RBDY2 50
$blmty
PLAIN 1 behav PLEXx avrd= 9.0728286E-01 gyrd= 6.4154587E-01
$nodty
NO3xx 1 coo1= 5.2457911E+01 coo2= 1.1151307E+01 coo3= 0.0000000E+00
$tacty
DISKx 1 color BLEUx byrd= 9.0728286E-01
$$$$$$
$bdyty
RBDY2 51
$blmty
PLAIN 1 behav PLEXx avrd= 1.1622283E+00 gyrd= 8.2181955E-01
$nodty
NO3xx 1 coo1= 5.7453903E+01 coo2= 1.1151307E+01 coo3= 0.0000000E+00
$tacty
DISKx 1 color BLEUx byrd= 1.1622283E+00
$$$$$$
$bdyty
RBDY2 52
$blmty
PLAIN 1 behav PLEXx avrd= 1.2797260E+00 gyrd= 9.0490295E-01
$nodty
NO3xx 1 coo1= 6.2449894E+01 coo2= 1.1151307E+01 coo3= 0.0000000E+00
$tacty
DISKx 1 color BLEUx byrd= 1.2797260E+00
$$$$$$
$bdyty
RBDY2 53
$blmty
PLAIN 1 behav PLEXx avrd= 5.8629963E-01 gyrd= 4.1457645E-01
$nodty
NO3xx 1 coo1= 6.7445886E+01 coo2= 1.1151307E+01 coo3= 0.0000000E+00
$tacty
DISKx 1 color BLEUx byrd= 5.8629963E-01
$$$$$$
$bdyty
RBDY2 54
$blmty
PLAIN 1 behav PLEXx avrd= 1.5988420E+00 gyrd= 1.1305520E+00
$nodty
NO3xx 1 coo1= 7.2441877E+01 coo2= 1.1151307E+01 coo3= 0.0000000E+00
$tacty
DISKx 1 color BLEUx byrd= 1.5988420E+00
$$$$$$
$bdyty
RBDY2 55
$blmty
PLAIN 1 behav PLEXx avrd= 7.4190689E-01 gyrd= 5.2460740E-01
$nodty
NO3xx 1 coo1= 7.7437869E+01 coo2= 1.1151307E+01 coo3= 0.0000000E+00
$tacty
DISKx 1 color BLEUx byrd= 7.4190689E-01
$$$$$$
$bdyty
RBDY2 56
$blmty
PLAIN 1 behav PLEXx avrd= 5.9300035E-01 gyrd= 4.1931457E-01
$nodty
NO3xx 1 coo1= 8.2433860E+01 coo2= 1.1151307E+01 coo3= 0.0000000E+00
$tacty
DISKx 1 color BLEUx byrd= 5.9300035E-01
$$$$$$
$bdyty