← Back to team overview

yade-users team mailing list archive

[Question #671054]: Open File.bdf

 

New question #671054 on Yade:
https://answers.launchpad.net/yade/+question/671054

Hi i need your help. I need to open in yade a file.bdf. It is an airplane built using Nastran. I need to use this surface on yade. The file they gave me is a file.bdf; i searched on internet how can i convert it in file.gts, but nothing is texted. Any advice? i tried also with the code written in trunk file (https://github.com/yade/trunk/blob/master/examples/gts-horse/gts-operators.py) but it doesn't work, it gives me this error :
RuntimeError: expecting an integer (number of vertices)
 
Infact if i open my file it has this format:

$ NASTRAN input file created by the MSC MSC.Nastran input file
$ translator ( MSC.Patran 13.0.053 ) on May       02, 2007 at 15:10:25.
ASSIGN OUTPUT2 = 'prova.op2', UNIT = 12
$ Direct Text Input for Nastran System Cell Section
$ Direct Text Input for File Management Section
$ Linear Static Analysis, Database
SOL 101
TIME 600
$ Direct Text Input for Executive Control
CEND
$ Elements for group : default_group
SET 1 = 1 THRU 578,580 THRU 845,847,848,850,851,853,854,856,857,859,860,
862,863,865,866,868,869,871,872,874,875,877,878,880,881,883,884,886,887,
889,890,892,893,895,896,898,899,901,902,904,905,907 THRU 932,934,


and so on.... it has more then 1000 lines like this. how can i convert this in vertices??

i need your help , i don't really know how to do. thanks.

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.