CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT

Plotting a velocity versus time graph

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 11, 2009, 12:24
Default Plotting a velocity versus time graph
  #1
New Member
 
wanie
Join Date: Nov 2009
Posts: 5
Rep Power: 17
wanie is on a distinguished road
Hi!
I'm new to CFD. I am doing Human Tracheobronchial Airways Flow Model to identify the hotspots for particle deposition in the lungs.
I have a problem on how to plot a graph of velocity against time from our iteration in excel. I ask someone about this and he said that I must identify the main locations to extract velocity data (e.g: create point or surface) using FLUENT coordinate system. But I still do not understand this part and how to do it.
One more, there seems to be some problems with my iteration as it reads "turbulent viscosity limited to viscosity ratio of 1.000000e+005 in 62 cells". There might be some problems in my boundary conditions or conflict with my UDF code.

This is my parameter I set for boundary condition:-
1) Inlet- inlet velocity
-velocity magnitude = 1 m/s
-turbulent intensity = 1 %
-Hydraulic diameter = 0.2 m

2) Outlet- pressure outlet
-gauge pressure = 0
-backflow turbulent intensity = 1 %
-backflow hydraulic diameter = 0.2 m

3) Wall
-no slip condition
-roughness height = 0
-roughness constant = 0.5

and this is my C code for unsteady flow:-

#include "udf.h"

DEFINE_PROFILE(sin_inlet_velocity, thread, position)
{
real x[ND_ND]; /* Position vector */
real y;
face_t f;
real t = CURRENT_TIME; /* Current time of simulation */
begin_f_loop(f, thread) /* Loops over faces in thread */
{
F_CENTROID(x,f,thread); /* Gets centroid of face f */
y = x[1];

t=3;
F_PROFILE(f, thread, position) = 1.84*sin(1.0472*t); /* Profile 1 */

//else (t>=3)
//F_PROFILE(f, thread, position) = 1.84*sin(1.0472*t); /* Profile 2 */

}
end_f_loop(f, thread)

}


I really need someone to help me ASAP. Thanks...

Wanie
wanie is offline   Reply With Quote

Old   March 10, 2012, 06:23
Default
  #2
New Member
 
Monty
Join Date: May 2011
Posts: 11
Rep Power: 15
monty_p20 is on a distinguished road
hi,

I will give you a idea about plot:

after you end up with solution in Fluent go to CFD postpreocessor. here create the expression to calculate velocity at inlet. Use this expression variable. After that click 'Insert chart'. here use the same variable defined for velocity on y axis and use time variable of x axis.

Here advanatge is that you dont need to 'set monitors', save them and again use the saved monitor file in fluent to plot.

I hope it would be helpful.
monty_p20 is offline   Reply With Quote

Old   May 25, 2016, 05:38
Smile velocity vs time plot
  #3
New Member
 
Sabarish Narayan
Join Date: May 2016
Posts: 5
Rep Power: 10
SabarishCEG is on a distinguished road
Quote:
Originally Posted by monty_p20 View Post
hi,

I will give you a idea about plot:

after you end up with solution in Fluent go to CFD postpreocessor. here create the expression to calculate velocity at inlet. Use this expression variable. After that click 'Insert chart'. here use the same variable defined for velocity on y axis and use time variable of x axis.

Here advanatge is that you dont need to 'set monitors', save them and again use the saved monitor file in fluent to plot.

I hope it would be helpful.
Hello,
I am facing a similar problem in plotting the velocity vs time graph. Can you please elaborate on this step?
SabarishCEG is offline   Reply With Quote

Old   May 25, 2016, 14:41
Default
  #4
New Member
 
Kumar
Join Date: Feb 2016
Posts: 23
Rep Power: 10
pksri is on a distinguished road
Quote:
Originally Posted by SabarishCEG View Post
Hello,
I am facing a similar problem in plotting the velocity vs time graph. Can you please elaborate on this step?

Hi in CFD post under the graph section, there is an option to plot transient data with x as time/frequency....

For that you have to create a points in CFD post and select the point as a region to plot the results. It takes a while to calculate the variables. Good luck with your post processing
pksri is offline   Reply With Quote

Old   February 3, 2017, 01:11
Default Setting up a velocity monitor in FLUENT
  #5
New Member
 
Karthikeyan
Join Date: Nov 2016
Posts: 14
Rep Power: 10
kar1209 is on a distinguished road
Hi,

I am working on a simple transient simulation of the flow over a cylinder. I would like to set up a monitor plot for the velocity at a particular point. I tried doing it through surface monitor but I am not sure about the report type that is to be selected. How do I do it?
kar1209 is offline   Reply With Quote

Reply


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
[OpenFOAM] velocity vs time plot in paraFoam raagh77 ParaView 6 January 29, 2017 03:09
Free surface flow settubg boundary conditions and plotting velocity profiles prashanthreddyh FLUENT 2 October 21, 2015 10:58
how did I see next time step of velocity cotour ? Andy Chen FLUENT 2 June 30, 2009 13:48
Differences between serial and parallel runs carsten OpenFOAM Bugs 11 September 12, 2008 12:16
Graph plotting Lam FLUENT 2 September 25, 2003 08:02


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