- Forum
- Public Forums
- Finite Element Modelling - Code_Aster
- plasticity tutorial Koen Wouters | ASTK issue
plasticity tutorial Koen Wouters | ASTK issue
- jelle feringa
- Topic Author
- Offline
- New Member
-
- Posts: 9
- Thank you received: 0
I'm exploring Koen Wouters' excellent Code_Aster tutorials ( many thanks for those! ), but am running into some issues with the plasticity tutorial.
( www.caelinux.org/wiki/index.php/Contrib:KeesWouters/plasticity )
I've exported the job file via ASTK ( this part isn't too clear in the tutorial, it does not mention how to solve the analyses, perhaps covered in other tutorials ) but when running it I get the error just here below ( you'll also find the astk file there ).
Any ideas what could have caused this error?
Many thanks in advance,
-jelle
jelleferinga@ubuntu:~/plasticity/tutorial$ ~/aster/bin/as_run --run vbeam7k.export
Code_Aster tests execution
<E>_NO_TEST_LIST no list of tests found
<E>_NO_RESU_DIR no result directory found
cpu system cpu+sys elapsed
Total 0.05 0.13 0.18 0.18
as_run 1.8.0
--- DIAGNOSTIC JOB : <F>_NO_TEST_LIST
EXIT_CODE=4
==============================================
The vbeam7k.astk file looks like this:
P profastk jelleferinga@ubuntu:/home/jelleferinga/plasticity/tutorial/vbeam7k.astk
P serveur ubuntu
P noeud ubuntu
P username jelleferinga
P mclient ubuntu
P uclient jelleferinga
P version STA10.1
P lang en
P debug debug
P mode interactif
P ncpus 4
P mpi_nbcpu 1
P mpi_nbnoeud 1
P classe
P depart
P distrib
P flashdir
P exectool
P nomjob astout
P origine ASTK 1.8.0
P display ubuntu:0.0
A args
A memjeveux 250.0
P mem_aster 100.0
A tpmax 6000
P memjob 2048000
P tpsjob 100
P follow_output yes
P xterm /usr/bin/xterm -display ubuntu:0.0
P nbmaxnook 5
P cpresok RESNOOK
P facmtps 1
P corefilesize unlimited
P consbtc oui
P soumbtc oui
P actions astout
- kwou
-
- Offline
- Moderator
-
It seems you did not include the required files in ASTK. Eg. my *.export file looks likes this at the end, where all the needed files are listed. Did you add the correct path to your files in ASTK, just guessing now what went wrong. See also your other post about the number of processors, where this list is present [caelinux.com/CMS/index.php?option=com_jo...&id=3854#msg3854].
...
A memjeveux 437.5
P mem_aster 100.0
A tpmax 7500
P memjob 3584000
P tpsjob 125
P nbmaxnook 5
P cpresok RESNOOK
P facmtps 1
P corefilesize unlimited
F mail /cae/caexample/contact/mblock1.med D 20
F mail /cae/caexample/contact/mblock2.med D 21
F comm /cae/caexample/contact/contact4.comm D 1
F mess /cae/caexample/contact/contact.mess R 6
F erre /cae/caexample/contact/contact.erre R 9
F resu /cae/caexample/contact/contactres.resu R 8
R base /cae/caexample/contact/contact.base R 0
F rmed /cae/caexample/contact/rescontact.med R 80
P consbtc oui
P soumbtc oui
P actions make_etude
I am not really sure what you mean by ''I've exported the job file via ASTK''. Do you mean you exported the ASTK file by
File --> export --> <filename.export> and than run
''~/aster/bin/as_run --run vbeam7k.export'' via the command line?
Or did you click on the 'Run' button in ASTK window?
I will try to update the tutorial after this is a bit more clear to me -or, as usual, you are invited to do the update

The problem with the four processors: I have no clou. Only running a single processor on a dual processor platform.
kind regards - kees - not koen

Interest: structural mechanics, solar energy (picture at 'my location' shows too little pv panels)
--
kind regards - kees
- jelle feringa
- Topic Author
- Offline
- New Member
-
- Posts: 9
- Thank you received: 0
It seems you did not include the required files in ASTK. Eg. my *.export file looks likes this at the end, where all the needed files are listed. Did you add the correct path to your files in ASTK, just guessing now what went wrong.
The paths were corrected for sure ;')
See also your other post about the number of processors, where this list is present
Ah, assumption bit me in the ass. I suppose I assumed that multi-core would be supported by default. Oh well.
I am not really sure what you mean by ''I've exported the job file via ASTK''. Do you mean you exported the ASTK file by
File --> export --> <filename.export> and than run
''~/aster/bin/as_run --run vbeam7k.export'' via the command line?
Or did you click on the 'Run' button in ASTK window?
Both. Honestly, the astk layer is a little puzzling to me. I suppose I expected to launch an executable, set a couple of flags and run things.
I will try to update the tutorial after this is a bit more clear to me -or, as usual, you are invited to do the update
.
Sweet. Thanks for the invite.
Your work is much appreciated ( on a personal note, are you working in a university in the Netherlands as well? google failed to inform me… )
The problem with the four processors: I have no clou. Only running a single processor on a dual processor platform.
Sorry to be such a show off about my steaming hot hardware, I didn't mean to brag ;')
Thanks!
-jelle
- kwou
-
- Offline
- Moderator
-
....I will try to update the tutorial after this is a bit more clear to me -or, as usual, you are invited to do the update ....
Sweet. Thanks for the invite.
Your work is much appreciated ( on a personal note, are you working in a university in the Netherlands as well? google failed to inform me… )
Thank you for that.
I am Dutch, so I like speed scating, yes. My career started in Eindhoven, no points for guessing. After some years I moved to Germany, same company, developing radio and cd systems for the car industry. After that I moved to Belgium where we still live. The last five, six years I traveled to and fro Eindhoven for work again.
At the moment looking for another job.
Started to install my LinkedIn profile just today

kind regards - kees<br /><br />Post edited by: Kees Wouters, at: 2010/02/16 20:26
Interest: structural mechanics, solar energy (picture at 'my location' shows too little pv panels)
--
kind regards - kees
- jelle feringa
- Topic Author
- Offline
- New Member
-
- Posts: 9
- Thank you received: 0
I've just managed to complete the tutorial with code_aster version 10.1. I had to update the .comm file to the following:
time=DEFI_LIST_REEL(DEBUT=0.0,
INTERVALLE=_F(JUSQU_A=2.1,NOMBRE=tsteps,),
INFO=2,TITRE='time',);
DEFLIST = DEFI_LIST_INST(DEFI_LIST=_F(METHODE ='AUTO',
LIST_INST = time,
PAS_MINI = 0.0005),)
....
Presul=STAT_NON_LINE(MODELE=pmode,
CHAM_MATER=matprops,
EXCIT=(_F(CHARGE=LoadFix,),
_F(CHARGE=LoadPres,FONC_MULT=ramp,),),
COMP_INCR=_F(RELATION='VMIS_ISOT_TRAC',
DEFORMATION='SIMO_MIEHE',
TOUT='OUI',),
INCREMENT=_F(LIST_INST= DEFLIST, #time,
#SUBD_PAS=10,
#SUBD_PAS_MINI=0.0005,),
),
NEWTON=_F(REAC_INCR=1,
MATRICE='TANGENTE',
REAC_ITER=1,),
CONVERGENCE=_F(ITER_GLOB_MAXI=20,),
ARCHIVAGE=_F(PAS_ARCH=1,),);
Version 10.1 has automatic time stepping ( DEFI_LIST_INST ), so that had to be updated. One last thing I haven't figured out yet, is why the resulting .med file is not outputted... an error does show up however.
This tutorial is really great, and it surely has been quite an effort creating it, so why not update it for code_aster 10.1 ;')
Thanks!
-jelle
IMPR_RESU(INFO=1,
RESU=(_F(MAILLAGE=pmesh,
NOM_CMP=('DX','DY','DZ',),
INFO_MAILLAGE='NON',
RESULTAT=Presul,
NOM_CHAM='DEPL'),
_F(MAILLAGE=pmesh,
NOM_CMP='VMIS',
INFO_MAILLAGE='NON',
RESULTAT=Presul,
NOM_CHAM='EQUI_ELNO_SIGM'),
_F(MAILLAGE=pmesh,
NOM_CMP=('EPXX','EPYY','EPZZ','EPXY','EPXZ','EPYZ',),
INFO_MAILLAGE='NON',
RESULTAT=Presul,
NOM_CHAM='EPSP_ELNO')),
UNITE=21,
FORMAT='MED',
);
!
!
! <A> <MED_67> !
! !
! !
! -> Le maillage pmesh est déjà présent dans le fichier med fort.21. !
! !
! !
! !
! Ceci est une alarme. Si vous ne comprenez pas le sens de cette !
! alarme, vous pouvez obtenir des résultats inattendus ! !
!
!
!
!
! <A> <MED_67> !
! !
! !
! -> Le maillage pmesh est déjà présent dans le fichier med fort.21. !
! !
! !
! !
! Ceci est une alarme. Si vous ne comprenez pas le sens de cette !
! alarme, vous pouvez obtenir des résultats inattendus ! !
!
!
- kwou
-
- Offline
- Moderator
-
I will update the tutorial for CA10.1.X with DEFI_LIST_INST as soon as possible. There are a lot of differences between CA9.X and CA10.1.Y. Did you use Eficas to update from version 9.X to 10.1.Y? I never tried it, though I read/seen somewhere that it should be possible.
And thank you for the complement. It really has been a pleasure to write this tutorial. Most of the time I need to look into the details then and figure out how the code works exactly. And finally understand it all. Well, most of it.
The message you give at the end is only a warning, so normally nothing to worry about. No output of the result med file: hard to say at this stage. Only thing I can guess now: did you assign a file nummer 21 in ASTK? If you did, post the whole mess file here and we can have a further look at it.One last thing I haven't figured out yet, is why the resulting .med file is not outputted... an error does show up however.
Maybe I should adjust the unit 21 to the standard unit 80 in the tutorial as well for rmed files.
edit ....:
I saw that Thomas already answered your question in the CA forum:
www.code-aster.org/forum2/viewtopic.php?id=13796
Jelle, if you get the code running again, can you update that part of CALC_ELEM/CALC_NO here so I can adjust it in the tutorial? Thank you.
I made -more for myself- a description of ASTK here:Both. Honestly, the astk layer is a little puzzling to me. I suppose I expected to launch an executable, set a couple of flags and run things.
www.caelinux.org/wiki/index.php/Contrib:...rs/shell/static/astk
kind regard - kees<br /><br />Post edited by: Kees Wouters, at: 2010/04/20 12:56
Interest: structural mechanics, solar energy (picture at 'my location' shows too little pv panels)
--
kind regards - kees
- Forum
- Public Forums
- Finite Element Modelling - Code_Aster
- plasticity tutorial Koen Wouters | ASTK issue