CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Siemens (https://www.cfd-online.com/Forums/siemens/)
-   -   How to put quickly a velocity profile in a table? (https://www.cfd-online.com/Forums/siemens/54352-how-put-quickly-velocity-profile-table.html)

Stephane bone February 2, 2005 06:17

How to put quickly a velocity profile in a table?
 
I would like to put the velocity values of the output boundary in a table.

I have U, V, W in post register 1, 2 and 3 ; YCOR and ZCOR in post register 4 and 5 (I don't want XCOR because it is constant).

Then, I would like to create a table where I will have U, V and W following YCOR and ZCOR. I think I have to export registers in a file and to import it in a table but I don't how to do this.

Then I will use this table as inlet boundary condition.

Thanks for your help.

carno February 3, 2005 04:37

Re: How to put quickly a velocity profile in a tab
 
use following commands to get these data in file.

ofil star.out

print cset (or all)

close star.out

print screen

you will find star.out text file in the working directory. Open this in MS excel to create a table.

Stephane bone February 3, 2005 08:09

Re: How to put quickly a velocity profile in a tab
 
Thank you for this answer, this is a quick and good way to extract data.

Now, I would like to create a tbl file thanks to the table editor with these data.

Anton Lyaskin (another user of this forum) told me to write :

Table name Local 1 (cartesian coordinates) Voption extra independent Y 920 Z 0 Y Z U V W . . . . . . . . . . . . . . .

But I still have problem to open this file as a tbl file. I can do minor modification in the Unix system thanks to the text editor. However, if i need to do major modification, the only way I have is by using Excel or Word in a windows environment. Then, I don't know if the export text file is readeable by Unix.

Thanks for your help.

carno February 4, 2005 03:44

Re: How to put quickly a velocity profile in a tab
 
read help or tbread command. It is very well written there as said by Anton. I think any text file (like *.tbl) can be opened in any text editor irresptive of OS.

Hope this helps.

Toni Vainio March 2, 2005 12:11

Re: How to put quickly a velocity profile in a tab
 
Hi, I have managed to create an excel sheet with the velocity values at all cells. This is really good. However, In Star Cd, how do I plot cells say from cell number 30 to cell number 50. Thanks

Stephane bone March 8, 2005 10:45

Re: How to put quickly a velocity profile in a tab
 
I've got the answer to my problem thanks to Star-Cd support.

In fact, it seems that there is a problem with tbread in my workstation. I am using Unix in Sun.

If I try to read a tbl file I create following tbread, I obtain a fatal error with the following message "Segmentation fault - core dumped".

However, it is possible to read this tbl file as a boundary condition.

Thank you for your help.

Stephane


All times are GMT -4. The time now is 01:06.