Personal tools
You are here: Home Forum Other... (new forum, problems, etc.) Python/comm-file for Code_Aster

Python/comm-file for Code_Aster

Up to Other... (new forum, problems, etc.)

Python/comm-file for Code_Aster

Posted by Qiao Jie Yang at August 24. 2016

Hi,

I am now trying to make a python script (comm-file) for Code_Aster to run an analysis for an outer surface of a boat. I am interested in the stress and the out-of-plane displacement (z-direction). I have used 2D 4-noded rectangular element for the surface and I have tried to run the analysis with "MODELISATION='DKT' ". Is that correct? However, I also tried to put the simply supported boundary condition on the selected nodes. Please see the attached python-file. Code_Aster has returned a error in the mess-file like:

p, li { white-space: pre-wrap;

JDC.py : ERREUR A L'EXECUTION - INTERRUPTION

>> JDC.py : DEBUT RAPPORT

CR d'execution de JDC en MIXTE

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

! <S> Exception utilisateur levee mais pas interceptee. !

! Les bases sont fermees. !

! Type de l'exception : error !

! !

! Erreur de programmation. !

! !

! Condition non respectée: !

! .false. !

! Fichier contex.F90, ligne 145 !

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

fin CR d'execution de JDC en MIXTE

 

>> JDC.py : FIN RAPPORT

EXECUTION_CODE_ASTER_EXIT_0012-4234-difk009=1

 

<I>_EXIT_CODE = 1

 

 

What does that mean? What is wrong with my script? I also tried to use the wizard in Salome_Meca for my problem, but I have got this problem with 2D-element and 3D analysis...

   

Attachments
Quick reply
URLs will be automatically hyperlinked. Basic HTML tags are OK.
Powered by Ploneboard
History
Activate by Qiao Jie Yang on Aug 24, 2016 08:22 PM
Document Actions