CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > CD-adapco

Sensor problem with star-CD

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   June 23, 2008, 10:50
Default Sensor problem with star-CD
  #1
Yongli Qi
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
  Reply With Quote

Old   June 30, 2008, 11:30
Default Re: Sensor problem with star-CD
  #2
Pauli
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.
  Reply With Quote

Old   June 30, 2008, 11:38
Default Re: Sensor problem with star-CD
  #3
Yongli Qi
Guest
 
Posts: n/a
Pauli,

Thanks very much!

Yongli
  Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
the problem of running star-cd after pro-star liu-jinsong CD-adapco 0 November 20, 2008 21:58
Sensor- problem W.A. CD-adapco 4 June 1, 2006 10:53
OFILE SENSOR guest7777 CD-adapco 0 April 20, 2006 05:12
A problem about the sensor points Lee CD-adapco 3 October 31, 2003 14:32
a better sensor achim CD-adapco 1 January 19, 2001 16:39


All times are GMT -4. The time now is 05:03.