← Back to team overview

yade-users team mailing list archive

Re: [Question #671054]: Open File.bdf

 

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

Chareyre proposed the following answer:
Hi Jacopo, I'm affraid the only realistic comming to my mind beyond
decrypting it by yourself is to ask nastran people about conversion to a
more generic format.
Bruno

Le lun. 23 juil. 2018 12:32, jacopo <question671054@xxxxxxxxxxxxxxxxxxxxx>
a écrit :

> 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.
>
> _______________________________________________
> Mailing list: https://launchpad.net/~yade-users
> Post to     : yade-users@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~yade-users
> More help   : https://help.launchpad.net/ListHelp
>
>

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