Thanks for your explainations, Ramon, now I've got another problem : while
the generation of linear elements for nastran (cquad4) works well, the
quadratic elements one (cquad8) fails with the error message : "error in base
file in the file '/.../problemtypes/nastran_plan.gid/nastran_plane.bas' in
line number 274. Unknown comand: 'endif'".
The concerned line is the last of the block concerning the cquad8 elements :
*if(strcmp(matprop(1),"PLATE")==0)
*loop elems
*format "CQUAD8%10i%8i%8i%8i%8i%8i%8i%8i"
*ElemsNum*matnum()*ElemsConec(1)*ElemsConec(2)*ElemsConec(3)*ElemsConec(4)*ElemsConec(5)*ElemsConec(6)
*format "%16i%8i%8.2f%8.2f%8.2f%8.2f"
*ElemsConec(7)*ElemsConec(8)*matprop(12)*matprop(13)*matprop(14)*matprop(15)
*endif
I tried several configurations of data (other materials as shear_panel
instead of plate) but it doesn't work.
Thank you in advance
Olivier Bounhoure
[ GiDlist ] Yet another Nastran export
Moderator: GiD Team
[ GiDlist ] Yet another Nastran export
There is an error in the Nastran_planebas file.
In order to correct, the lines 274 and 275 must be swapped (lines marked in red)
You can re-download the correct file in http://gid.cimne.upc.es/gidplus/index.html (Nastran Interface)
...
*if(strcmp(matprop(1),"PLATE")==0)
*loop elems
*format "CQUAD8%10i%8i%8i%8i%8i%8i%8i%8i"
*ElemsNum*matnum()*ElemsConec(1)*ElemsConec(2)*ElemsConec(3)*ElemsConec(4)*ElemsConec(5)*ElemsConec(6)
*format "%16i%8i%8.2f%8.2f%8.2f%8.2f"
*ElemsConec(7)*ElemsConec(8)*matprop(12)*matprop(13)*matprop(14)*matprop(15)
*end elems
*endif
*end materials
*endif
ENDDATA
----- Original Message -----
From: "Olivier Bounhoure" olivier.bounhoure at club-internet.fr
To: gidlist at gatxan.cimne.upc.es
Sent: Friday, June 08, 2001 9:15 PM
Subject: [ GiDlist ] Yet another Nastran export
Thanks for your explainations, Ramon, now I've got another problem : while
the generation of linear elements for nastran (cquad4) works well, the
quadratic elements one (cquad8) fails with the error message : "error in base
file in the file '/.../problemtypes/nastran_plan.gid/nastran_plane.bas' in
line number 274. Unknown comand: 'endif'".
The concerned line is the last of the block concerning the cquad8 elements :
*if(strcmp(matprop(1),"PLATE")==0)
*loop elems
*format "CQUAD8%10i%8i%8i%8i%8i%8i%8i%8i"
*ElemsNum*matnum()*ElemsConec(1)*ElemsConec(2)*ElemsConec(3)*ElemsConec(4)*ElemsConec(5)*ElemsConec(6)
*format "%16i%8i%8.2f%8.2f%8.2f%8.2f"
*ElemsConec(7)*ElemsConec(8)*matprop(12)*matprop(13)*matprop(14)*matprop(15)
*endif
I tried several configurations of data (other materials as shear_panel
instead of plate) but it doesn't work.
Thank you in advance
Olivier Bounhoure
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20010611/5314502f/attachment.htm
In order to correct, the lines 274 and 275 must be swapped (lines marked in red)
You can re-download the correct file in http://gid.cimne.upc.es/gidplus/index.html (Nastran Interface)
...
*if(strcmp(matprop(1),"PLATE")==0)
*loop elems
*format "CQUAD8%10i%8i%8i%8i%8i%8i%8i%8i"
*ElemsNum*matnum()*ElemsConec(1)*ElemsConec(2)*ElemsConec(3)*ElemsConec(4)*ElemsConec(5)*ElemsConec(6)
*format "%16i%8i%8.2f%8.2f%8.2f%8.2f"
*ElemsConec(7)*ElemsConec(8)*matprop(12)*matprop(13)*matprop(14)*matprop(15)
*end elems
*endif
*end materials
*endif
ENDDATA
----- Original Message -----
From: "Olivier Bounhoure" olivier.bounhoure at club-internet.fr
To: gidlist at gatxan.cimne.upc.es
Sent: Friday, June 08, 2001 9:15 PM
Subject: [ GiDlist ] Yet another Nastran export
Thanks for your explainations, Ramon, now I've got another problem : while
the generation of linear elements for nastran (cquad4) works well, the
quadratic elements one (cquad8) fails with the error message : "error in base
file in the file '/.../problemtypes/nastran_plan.gid/nastran_plane.bas' in
line number 274. Unknown comand: 'endif'".
The concerned line is the last of the block concerning the cquad8 elements :
*if(strcmp(matprop(1),"PLATE")==0)
*loop elems
*format "CQUAD8%10i%8i%8i%8i%8i%8i%8i%8i"
*ElemsNum*matnum()*ElemsConec(1)*ElemsConec(2)*ElemsConec(3)*ElemsConec(4)*ElemsConec(5)*ElemsConec(6)
*format "%16i%8i%8.2f%8.2f%8.2f%8.2f"
*ElemsConec(7)*ElemsConec(8)*matprop(12)*matprop(13)*matprop(14)*matprop(15)
*endif
I tried several configurations of data (other materials as shear_panel
instead of plate) but it doesn't work.
Thank you in advance
Olivier Bounhoure
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20010611/5314502f/attachment.htm