CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   How to Plot Graph in Fluent ? (https://www.cfd-online.com/Forums/fluent/49569-how-plot-graph-fluent.html)

Jane October 21, 2008 03:32

How to Plot Graph in Fluent ?
 
1. How to plot graph of "Pressure vs Time" in Fluent?

In XY plot, I could not find any "Time" function in X-Axis Function.

2. How to plot "Viscosity vs Time" & "Shear Rate vs Time" graph in Fluent?

I could not find the "Viscosity,Shear Rate & Filled Volume" in Y-Axis function.

Please help me.

grisu October 21, 2008 09:41

Re: How to Plot Graph in Fluent ?
 
Did you do unsteady (transient) simulations?

Also then these plots can only be done using monitors.

Jane October 21, 2008 22:33

Re: How to Plot Graph in Fluent ?
 
Yes, unsteady simulation.

You mean setting at Monitor, and get the graph during simulation??

grisu October 22, 2008 03:04

Re: How to Plot Graph in Fluent ?
 
Correct - otherwise you have to use your saved files, load all of them using a script and process them, writing the results to files which you can combine.

antara July 5, 2013 13:34

Hi, I'm working in cyclone simulation. I want to know How to plot graph of
1."Aerodynamic Diameter Vs Collection Efficiency" in Fluent?
2."Aerodynamic Diameter Vs Fraction of Total Amount Deposited" in Fluent?
3."Normalized Particle Diameter Vs Collection Efficiency" in Fluent?

I really need to sought out these problems.

lxlylzl July 6, 2013 13:38

Hi antara,

I am also working on gas cyclone. Why exactly do you need to go for Aerodynamic Diameter Vs Collection Efficiency, Aerodynamic Diameter Vs Fraction of Total Amount Deposited, and Normalized Particle Diameter Vs Collection Efficiency? Cyclones are characterized in terms of cut-off diameters, and I think you should go with that.

antu July 8, 2013 13:21

Thanks for your reply. I needed this graph to know the collection efficiency in tubes, internal loss and also penetration efficiency. But I could not plot those graphs.Do I need to plot these on matlab? Or can I use fluent for this??

howhs July 16, 2013 00:29

Hi,

I need to plot a transient case of temperature against time plot. I have did an autosave during the the simulation. Previously, I have used monitor and I have the graph plotted from using average vertex. After closing Fluent, I cannot seem to retrieve the graph plotted. Could anyone assist in this?

Thank you very much for your time in advance.

Jim87 July 16, 2013 02:06

Hi,

Usually a plot is saved in a *.out format. Search for *.out in your fluent or project path and you should find your file.


- If you still can't find it take a look on your monitor settings and enable the writh plot field...

shikamaru July 16, 2013 02:19

Quote:

Originally Posted by grisu
;154228
Correct - otherwise you have to use your saved files, load all of them using a script and process them, writing the results to files which you can combine.

This is the easiest way i found when i forget to make monitor while running the case.
I usually write up a python script to generate the journal file for fluent then just run the journal file in fluent.

howhs July 16, 2013 04:33

Thank you so much for the reply.
I understand what you all have suggested. I would like to ask if i need to compile all the data using script (udf), may i ask how should i go about writing the script?

Thank you so much in advance.

Jim87 July 16, 2013 04:55

In my opinion a UDF need to to compiled in every case. Is this a general question or does your script mean an special case? When you saw writing scribt, is this about an UDF or about the plot export you asked in the last post?

Generall: There is a UDF Guide on the fluent homepage (customer portal) this is a good hint for a lot of applications.

howhs July 16, 2013 05:01

Thank you for the haste reply.
I am only referring to a general case as of how to write the udf script to plot the time dependent graph using data files saved during the run.

Thank you for your time.

hazwani fatihah February 13, 2015 09:58

Hi,

I have the same problem as Jane, I still could not understand on how to plot "Pressure vs Time" in FLUENT. I really appreciate who can explain in details.

Thanks

CeesH February 13, 2015 10:15

Before running your simulation, go to monitors > volume monitors or surface monitors > set up a monitor point on the desired location > make sure you select "write to file" and set the desired axis values (iterations, time-steps or flow-time).

Volume monitors should be used if you want to know your value in a whole domain, or a part of the domain volume; so for pressure: if you want to know the average value over the whole domain.

Surface monitors should be used if you want to know the value on a plane, line or point. For pressure, you may want to know the surface-average value on a wall, or for a point, the vertex-average value. For this, you need to set up a new surface > point and enter the desired coordinates.

hazwani fatihah February 14, 2015 00:08

Thanks to CeesH,

After closing FLUENT, I cannot retrieve the saved file. May you assist in this?

Thanks for your time

hazwani fatihah February 14, 2015 03:29

Hi, I have one question regarding to contour. How to figure out the development of pressure contours at different times in transient simulation?

Thank you

enayath April 30, 2015 11:13

Plot monitor files by Fluent?
 
Hello,

I am wondering how to plot my variables in Fluent. I have created a surface monitor for a point in my transient calculation(suppose velocity versus time).
I save the monitor file. I want to know a way how I can directly plot that .out file in Fluent . I can open .out file, but need to open it in notepad first and remove the header and then open it by Excel which can be time consuming if you have many surface monitor files. I am looking for a fast way. any idea?

Thank you in advance!

shorab hossain July 7, 2015 16:12

2 Attachment(s)
[QUOTE=CeesH;531740]
Thank you for your reply. I am beginner in Ansys.and working on pulsatile blood flow through artery.now i want to draw velocity vs time graph at different position of artery In Ansys fluent.How can i draw it in CFD post?Or is there any other way?

enayath July 8, 2015 10:17

Shorab,

I do not use CFD post. I use Tecplot 360 to post-process my data. I believe those figures you shared, are prepared by Tecplot.
Best of Luck

J_student March 20, 2016 05:32

I am also trying to attain a pressure vs time graph however when i follow CeesH's steps and try to make the point surface in fluent the following error comes up.

Error: Surface creation failed!

Error Object: #f

I'm new to fluent can someone please tell me how to resolve this issue

Thanks in advance

J_student March 20, 2016 05:33

I am also trying to attain a pressure vs time graph however when i follow CeesH's steps and try to make the point surface in fluent the following error comes up.

Error: Surface creation failed!

Error Object: #f

I'm new to fluent can someone please tell me how to resolve this issue

Thanks in advance

nwadikeamarachukwu@yahoo. August 15, 2016 14:26

i need more answer on how to plot pressure time graph in fluent
 
Quote:

Originally Posted by CeesH (Post 531740)
Before running your simulation, go to monitors > volume monitors or surface monitors > set up a monitor point on the desired location > make sure you select "write to file" and set the desired axis values (iterations, time-steps or flow-time).

Volume monitors should be used if you want to know your value in a whole domain, or a part of the domain volume; so for pressure: if you want to know the average value over the whole domain.

Surface monitors should be used if you want to know the value on a plane, line or point. For pressure, you may want to know the surface-average value on a wall, or for a point, the vertex-average value. For this, you need to set up a new surface > point and enter the desired coordinates.

I am a new beginner in fluent. I saved my calculation activities in ASCII file which i created under Autosave Every(Time Steps). But when i opened it in excel, i could not see a column for time. All i saw was column for x,y coordinate and pressure coefficient.
Please i will appreciate if you will make it more elaborate to me on how to plot a graph of pressure against time. Am working on flow around high speed train in transient steady using inviscid solver.
Thanks for your human kindness.

mahayheidari September 3, 2016 07:52

how can i plot veloocity vs time?
please help me

mahayheidari September 3, 2016 07:56

Quote:

Originally Posted by grisu
;154228
Correct - otherwise you have to use your saved files, load all of them using a script and process them, writing the results to files which you can combine.


how can i plot veloocity vs time?
please help me

mahayheidari September 3, 2016 08:03

how can i plot veloocity vs time?
please help me

enayath September 3, 2016 22:49

Describe your problem better!
If you are using a steady state model, there is no time.
If you are using a transient model, simply go to "Graphics" and plot your simulation for a specific time.
If you wanna plot one variable as a function of time (which I think you want) you have 3 ways:
1- save the cas/dat file every time step( or every 2,3,...) and then open them via another program like Tecplot
2-You can set up an animation BEFORE running your transient simulation via "solution animations"
3- You can also save your data (variable and time step) via a ".out" file in "surface monitors" and then open it in Excel

Good luck,
Hooman

mahayheidari September 4, 2016 04:12

Quote:

Originally Posted by enayath (Post 616502)
Describe your problem better!
If you are using a steady state model, there is no time.
If you are using a transient model, simply go to "Graphics" and plot your simulation for a specific time.
If you wanna plot one variable as a function of time (which I think you want) you have 3 ways:
1- save the cas/dat file every time step( or every 2,3,...) and then open them via another program like Tecplot
2-You can set up an animation BEFORE running your transient simulation via "solution animations"
3- You can also save your data (variable and time step) via a ".out" file in "surface monitors" and then open it in Excel

Good luck,
Hooman


hello
thanks for your reply
can you explain third number more( step by step ).
because in surface monitor i cant have exact velocity in report type.I have average or max ,....

enayath September 4, 2016 09:40

It depends on the type of information you would like to have, velocity of a point, average velocity on a line or a surface...based on that, choose the appropriate type ( like vertex average or area-weighted), select the point or surface or area,... and then run your simulation...for the detailed information, you need to read the Ansys Fluent Theory Guide ...

Good luck,
H

mahayheidari September 4, 2016 09:58

reply
 
Quote:

Originally Posted by enayath (Post 616521)
It depends on the type of information you would like to have, velocity of a point, average velocity on a line or a surface...based on that, choose the appropriate type ( like vertex average or area-weighted), select the point or surface or area,... and then run your simulation...for the detailed information, you need to read the Ansys Fluent Theory Guide ...

Good luck,
H

if i want velocity of a point which is better to select
excuse me

niazgdc September 14, 2017 02:32

transient simulations
 
i hAve don transient simulations for 3 minutes and i have set monitors ,can i get concentration versus time graph in post processing? thanks in advance for help


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