|
[Sponsors] |
June 23, 2008, 11:50 |
Sensor problem with star-CD
|
#1 |
Guest
Posts: n/a
|
It is about a post-processing problem after a static star simulation. My task is to interpolate x-, z-component velocity to a uniform grid on y = 0 cutting plane and write out a file including the the interpolated x-, z-component velocity and corresponding x, z coordinate, then compare it to experimental data in MATLAB.
I was told I can use "v", "vgen", and "sensor" to do this, however I cannot get it through: vset all (total 666623 vsets) csys 1 v 666624 -40 0 50 vset news vrange 666624 666624 vgen 81 1 vset,,,1 0 0 vset news vrange 666624 666704 vgen 50 81 vset,,,0 0 1 vset news vrange 666624 670673 cplo ( After I create 81x50 new vertex and cplot will show a mess of the model itself.) sensor delete all sensor add vset cset news flui sensor scan cset sensor vmag.txt.vset (error: no vmag command) close vmag.txt Please help, thanks in advence! Yongli |
|
June 30, 2008, 12:30 |
Re: Sensor problem with star-CD
|
#2 |
Guest
Posts: n/a
|
Run your v & vgen commands in an empty model file and they appear to work fine. So if you are making a mess of your real model, then the real model probably has vertices in the range you are working. It's a better practice to work relative to the maximum defined vertex.
*set maxv mxv v maxv -40 0 50 sensor vmag.txt.vset is not a valid command. After the "sensor scan", sensor print will list the values. Or you can use the gpost command to put sensor data into the graph registers. Then you can make line graphs or use sdata to write it into a file. |
|
June 30, 2008, 12:38 |
Re: Sensor problem with star-CD
|
#3 |
Guest
Posts: n/a
|
Pauli,
Thanks very much! Yongli |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
the problem of running star-cd after pro-star | liu-jinsong | Siemens | 0 | November 20, 2008 21:58 |
Sensor- problem | W.A. | Siemens | 4 | June 1, 2006 11:53 |
OFILE SENSOR | guest7777 | Siemens | 0 | April 20, 2006 06:12 |
A problem about the sensor points | Lee | Siemens | 3 | October 31, 2003 14:32 |
a better sensor | achim | Siemens | 1 | January 19, 2001 16:39 |