CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > Siemens

script for converting *.erd file

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 5, 2002, 13:16
Default script for converting *.erd file
  #1
Joern Beilke
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.
  Reply With Quote

Old   June 6, 2002, 02:34
Default Re: script for converting *.erd file
  #2
Lars Ola Liavåg
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
  Reply With Quote

Old   June 6, 2002, 08:22
Default Re: script for converting *.erd file
  #3
Joern Beilke
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.
  Reply With Quote

Old   June 10, 2002, 07:56
Default Re: script for converting *.erd file
  #4
HVN
Guest
 
Posts: n/a
Or you could open directly your erd file with Excell.
  Reply With Quote

Old   June 10, 2002, 09:29
Default Re: script for converting *.erd file
  #5
Joern Beilke
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 ...?

  Reply With Quote

Old   June 10, 2002, 10:10
Default Re: script for converting *.erd file
  #6
william
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
  Reply With Quote

Old   June 10, 2002, 10:14
Default Re: script for converting *.erd file
  #7
Vladimir Krejci
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.
  Reply With Quote

Old   June 10, 2002, 10:35
Default Re: script for converting *.erd file
  #8
Joern Beilke
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.
  Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 22:49.