CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   STAR-CCM+ (http://www.cfd-online.com/Forums/star-ccm/)
-   -   How to plot velocity Vs time graph at a point in a flow using starccm+ (http://www.cfd-online.com/Forums/star-ccm/109101-how-plot-velocity-vs-time-graph-point-flow-using-starccm.html)

 TQIM November 9, 2012 02:58

How to plot velocity Vs time graph at a point in a flow using starccm+

I m trying to plot a graph of velocity magnitude vs time at a point in a turbulent flow over a flat plate using point probe but i m unable to get a graph. Can anyone help me in sorting out this problem.

Thanks
TQIM

 Zeppo November 9, 2012 16:43

Create an expression report.
Set your point derived part as an input part for it.
Define a report expression as sqrt(\$\$Velocity[0]^2+\$\$Velocity[1]^2+\$\$Velocity[2]^2).
Create a monitor and a plot from your report.
Go to the monitor properties and switch the trigger from 'every iteration' to 'every time step'.

 rwryne November 12, 2012 09:19

Quote:
 Originally Posted by Zeppo (Post 391327) Create an expression report. Set your point derived part as an input part for it. Define a report expression as sqrt(\$\$Velocity[0]^2+\$\$Velocity[1]^2+\$\$Velocity[2]^2). Create a monitor and a plot from your report. Go to the monitor properties and switch the trigger from 'every iteration' to 'every time step'.

You could probably just use a sum report and only include that point.

Also, I think \$\$Velocity.mag() would be easier than doing the full equation.

 abdul099 November 15, 2012 20:26

Again, rwryne is right. There is a field function syntax to get the velocity magnitude, but isn't it mag(\$\$Velocity)? At least that's what the user guide tells on page 4784.

Anyway, on an expression report, you can't choose any input parts, so it needs to be a sum, minimum or maximum report. All other reports don't make much sense.

 TQIM November 19, 2012 02:18

Thanks for your reply...I tried with the expression given by you but its giving syntax error. Could you please tell me how to rectify this error.

 TQIM November 19, 2012 02:20

Thanks Ryne for your reply but I m getting syntax error when I used the expression given by you. Could you please tell me how to rectify this error.

 triple_r November 19, 2012 11:51

Can you post the error message? I think the following post gives the correct syntax

Quote:
 Originally Posted by abdul099 (Post 392414) Again, rwryne is right. There is a field function syntax to get the velocity magnitude, but isn't it mag(\$\$Velocity)? At least that's what the user guide tells on page 4784. Anyway, on an expression report, you can't choose any input parts, so it needs to be a sum, minimum or maximum report. All other reports don't make much sense.

 All times are GMT -4. The time now is 18:44.