CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > STAR-CCM+

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

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

Reply
 
LinkBack Thread Tools Display Modes
Old   November 9, 2012, 02:58
Smile How to plot velocity Vs time graph at a point in a flow using starccm+
  #1
New Member
 
Taryk
Join Date: Nov 2012
Posts: 9
Rep Power: 4
TQIM is on a distinguished road
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
TQIM is offline   Reply With Quote

Old   November 9, 2012, 16:43
Default
  #2
Member
 
Join Date: Dec 2009
Posts: 40
Rep Power: 7
Zeppo is on a distinguished road
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'.
Zeppo is offline   Reply With Quote

Old   November 12, 2012, 09:19
Default
  #3
Super Moderator
 
Ryne Whitehill
Join Date: Aug 2009
Posts: 313
Rep Power: 10
rwryne is on a distinguished road
Quote:
Originally Posted by Zeppo View Post
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.
rwryne is offline   Reply With Quote

Old   November 15, 2012, 20:26
Default
  #4
Senior Member
 
Join Date: Oct 2009
Location: Germany
Posts: 637
Rep Power: 12
abdul099 is on a distinguished road
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.
__________________
We do three types of jobs here:
GOOD, FAST AND CHEAP
You may choose any two!
abdul099 is offline   Reply With Quote

Old   November 19, 2012, 02:18
Default
  #5
New Member
 
Taryk
Join Date: Nov 2012
Posts: 9
Rep Power: 4
TQIM is on a distinguished road
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 is offline   Reply With Quote

Old   November 19, 2012, 02:20
Default
  #6
New Member
 
Taryk
Join Date: Nov 2012
Posts: 9
Rep Power: 4
TQIM is on a distinguished road
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.
TQIM is offline   Reply With Quote

Old   November 19, 2012, 11:51
Default
  #7
Member
 
Reza
Join Date: Mar 2009
Location: Appleton, WI
Posts: 99
Rep Power: 8
triple_r is on a distinguished road
Can you post the error message? I think the following post gives the correct syntax

Quote:
Originally Posted by abdul099 View Post
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.
triple_r is offline   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
How to write k and epsilon before the abnormal end xiuying OpenFOAM Running, Solving & CFD 8 August 27, 2013 15:33
problem in toposet Ahmed Khattab OpenFOAM Pre-Processing 10 March 24, 2013 16:18
block-structured mesh for t-junction Robert@cfd ANSYS Meshing & Geometry 20 November 11, 2011 05:59
Multiple floating objects CKH OpenFOAM 10 September 21, 2011 23:13
Plot a graph of velocity & boundary condition problem wanie Fluent UDF and Scheme Programming 0 December 11, 2009 11:40


All times are GMT -4. The time now is 21:30.