|
[Sponsors] |
June 5, 2002, 13:16 |
script for converting *.erd file
|
#1 |
Guest
Posts: n/a
|
Is anybody willing to share his script to transform the *.erd file into a row/column format?
I have a solution inside prostar (using edgr and rclip and sdat commands) but I am looking for something which can be used standalone. |
|
June 6, 2002, 02:34 |
Re: script for converting *.erd file
|
#2 |
Guest
Posts: n/a
|
I am afraid I haven't got anything to contribute with, but I am also very interested in all approaches to transfer the erd data to a row/column format, within PROSTAR or outside it. Like many others I write my reports in MS Office and it would be advantageous to be able to more easily read and plot such data in, say, Excel.
Lars Ola |
|
June 6, 2002, 08:22 |
Re: script for converting *.erd file
|
#3 |
Guest
Posts: n/a
|
Run prosize and set "MXSTOR" to a higher value.
Within prostar use the following commands to load the total forces and angular momentums of region 3 into the graph-registers and save them to a file: gres y edgr case.erd tztorq 3 rclip,7,1,2,1,10000,1 edgr case.erd tytorq 3 rclip,6,1,2,1,10000,1 edgr case.erd txtorq 3 rclip,5,1,2,1,10000,1 edgr case.erd tzforce 3 rclip,4,1,2,1,10000,1 edgr case.erd tyforce 3 rclip,3,1,2,1,10000,1 edgr case.erd txforce 3 sdat "forces.dat" 7 1 1 close "forces.dat" Just modify the commands according your needs. |
|
June 10, 2002, 07:56 |
Re: script for converting *.erd file
|
#4 |
Guest
Posts: n/a
|
Or you could open directly your erd file with Excell.
|
|
June 10, 2002, 09:29 |
Re: script for converting *.erd file
|
#5 |
Guest
Posts: n/a
|
1) not everybdy uses excel or windows
2) did you look into the structure of the erd file? if you open it in a spreadsheet you will get a lot of garbage. 3) did you manage to open it in exel and get the values sorted ...? |
|
June 10, 2002, 10:10 |
Re: script for converting *.erd file
|
#6 |
Guest
Posts: n/a
|
Learn to use grep, it will only take a couple of hours and you will be able to do this type of formatting forever with very little effort
|
|
June 10, 2002, 10:14 |
Re: script for converting *.erd file
|
#7 |
Guest
Posts: n/a
|
Hi
StarOffice package (under Linux OS) is also able to open '.erd' file the same way as Microsoft Office. There is only one annoyance you have to change extension of that file from '.erd' to '.txt' and then choose 'text-txt-csv' as a file type option. The further options which follows are similar to the Microsoft's. |
|
June 10, 2002, 10:35 |
Re: script for converting *.erd file
|
#8 |
Guest
Posts: n/a
|
fine but if you write out the forces for a wall boundary you dont get a row/column structure in the erd file which you can use in a spredsheet.
it is also not a big deal to write a perl script which just converts a special erd file. but to do it in a general way, which works for all kinds of these files might be a little bit more tricky. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Converting an animation file into JPEG format | Shanti | FLUENT | 7 | September 20, 2022 07:51 |
Using script file in ICEM CFD | Debabrata Mahapatra | CFX | 1 | October 22, 2007 18:45 |
converting a solidworks file into a fluent file | rhaul | FLUENT | 2 | June 23, 2006 17:04 |
Converting a surface file to a volume file | Amir | FLUENT | 2 | December 30, 2002 05:53 |
Converting .geo file into FLUENT | Chie Min | CFX | 0 | May 25, 2001 11:35 |