[ GiDlist ] Yet another Nastran export
Posted: Fri Jun 08, 2001 8:15 pm
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
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