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

Gradient of pressure Fluent Results

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 14, 2020, 13:39
Default Gradient of pressure Fluent Results
  #1
New Member
 
Mikel
Join Date: Dec 2019
Posts: 16
Rep Power: 6
ma_martinez is on a distinguished road
Hi,

I want to know the gradient of pressure of my fluid. I want to know when the pressure is negative but I donīt know how I can chage the range of the pressure to set one parameter in 0 as you can see in the image. How can I change the range?

Captura.JPG

Thanks beforehand,
ma_martinez is offline   Reply With Quote

Old   May 14, 2020, 15:02
Default Range
  #2
Senior Member
 
vinerm's Avatar
 
Vinerm
Join Date: Jun 2009
Location: Nederland
Posts: 2,946
Blog Entries: 1
Rep Power: 35
vinerm will become famous soon enough
To change Range, change from Global to User-Specified. As far as gradient is concerned, that won't be available in CFDPost if you ran simulation in Fluent. Open the case and data file in Fluent and plot pressure gradient there.
__________________
Regards,
Vinerm

PM to be used if and only if you do not want something to be shared publicly. PM is considered to be of the least priority.
vinerm is offline   Reply With Quote

Old   May 15, 2020, 05:52
Default
  #3
New Member
 
Mikel
Join Date: Dec 2019
Posts: 16
Rep Power: 6
ma_martinez is on a distinguished road
I have done what you have said but when I plot the gradient of pressure in X axis the program represents it as if there are any changes, the grandient of pressure that is represented is 0 in all the volume of control as you can see in the image. But it is not like this. Why this is happening?

Captura.jpg

Thanks beforehand,
ma_martinez is offline   Reply With Quote

Old   May 15, 2020, 06:20
Default CFDPost
  #4
Senior Member
 
vinerm's Avatar
 
Vinerm
Join Date: Jun 2009
Location: Nederland
Posts: 2,946
Blog Entries: 1
Rep Power: 35
vinerm will become famous soon enough
I suppose you are plotting in CFDPost. As I mentioned, CFDPost may not have this data available. You have to plot it in Fluent if the simulation was done in Fluent or you have to write a cdat file from Fluent with dp-dx selected as a variable, load that file in CFDPost, and then plot dp-dx.
__________________
Regards,
Vinerm

PM to be used if and only if you do not want something to be shared publicly. PM is considered to be of the least priority.
vinerm is offline   Reply With Quote

Old   May 15, 2020, 07:08
Default
  #5
New Member
 
Mikel
Join Date: Dec 2019
Posts: 16
Rep Power: 6
ma_martinez is on a distinguished road
No, I have plot it in Fluent as you can see in the image.

Captura.jpg

The things is that I dont know how to write a cdat file from Fluent with dp-dx selected as a variable and that can be the problem.
ma_martinez is offline   Reply With Quote

Old   May 15, 2020, 07:15
Default Gradients
  #6
Senior Member
 
vinerm's Avatar
 
Vinerm
Join Date: Jun 2009
Location: Nederland
Posts: 2,946
Blog Entries: 1
Rep Power: 35
vinerm will become famous soon enough
If you are plotting it in Fluent and it still doesn't show the gradients, then, it probably didn't save any gradient or the gradient is 0. To check if the gradient is saved or not, issue the following command

sol set exp

in Fluent's text user interface. Look for the question regarding keeping the memory from being freed. Answer yes to that question and run 1 iteration. Then plot the gradient.
__________________
Regards,
Vinerm

PM to be used if and only if you do not want something to be shared publicly. PM is considered to be of the least priority.
vinerm is offline   Reply With Quote

Old   May 15, 2020, 07:49
Default
  #7
New Member
 
Mikel
Join Date: Dec 2019
Posts: 16
Rep Power: 6
ma_martinez is on a distinguished road
Perfect, I have done what yo say and I think that it works. Why was happening this?

Captura.jpg

So, If I want to know de gradient for all the iterations, I have to do again all the simulation?
ma_martinez is offline   Reply With Quote

Old   May 15, 2020, 07:51
Default Gradient
  #8
Senior Member
 
vinerm's Avatar
 
Vinerm
Join Date: Jun 2009
Location: Nederland
Posts: 2,946
Blog Entries: 1
Rep Power: 35
vinerm will become famous soon enough
Fluent does not store gradients by default so as to save memory. If you want gradients to be reported, just enable it using the command mentioned in the previous post and run 1 iteration.
__________________
Regards,
Vinerm

PM to be used if and only if you do not want something to be shared publicly. PM is considered to be of the least priority.
vinerm is offline   Reply With Quote

Old   May 15, 2020, 08:00
Default
  #9
New Member
 
Mikel
Join Date: Dec 2019
Posts: 16
Rep Power: 6
ma_martinez is on a distinguished road
Okey, but my question is, this pressure gradient of one iteration is the same for the whole simulation? For example, in my case, I have done 10000 iterations in this simulation, so my question is, this result of the grandient can be extrapolated to the whole simulation?

And another question, how I can set the range of the pressure manually?
ma_martinez is offline   Reply With Quote

Old   May 15, 2020, 08:47
Default Gradient
  #10
Senior Member
 
vinerm's Avatar
 
Vinerm
Join Date: Jun 2009
Location: Nederland
Posts: 2,946
Blog Entries: 1
Rep Power: 35
vinerm will become famous soon enough
For a steady-state simulation, any field, whether pressure, velocity, or their gradient, have no significance until and unless the solution is converged. It means that only the final field and its gradient is the correct one, provided the solution has converged.
__________________
Regards,
Vinerm

PM to be used if and only if you do not want something to be shared publicly. PM is considered to be of the least priority.
vinerm is offline   Reply With Quote

Old   May 15, 2020, 11:36
Default
  #11
New Member
 
Mikel
Join Date: Dec 2019
Posts: 16
Rep Power: 6
ma_martinez is on a distinguished road
That was what I was thinking. So, I may do the whole simulation.

And another question, how I can set the range of the pressure manually?
ma_martinez is offline   Reply With Quote

Old   May 15, 2020, 12:39
Default Pressure Range
  #12
Senior Member
 
vinerm's Avatar
 
Vinerm
Join Date: Jun 2009
Location: Nederland
Posts: 2,946
Blog Entries: 1
Rep Power: 35
vinerm will become famous soon enough
What do you mean by manually? Pressure range is what is reported in Contours when Node values are not selected.
__________________
Regards,
Vinerm

PM to be used if and only if you do not want something to be shared publicly. PM is considered to be of the least priority.
vinerm 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
pimpleFoam in OF1612 shows same time step twice in log file shang OpenFOAM Bugs 10 January 24, 2018 10:43
2D Hypersonic Inlet in FLUENT - Convergence Issues Fraisdegout FLUENT 6 December 15, 2016 02:07
Boundary conditions for Boundary layer + pressure gradient Obad Main CFD Forum 0 May 2, 2015 03:20
Pressure Gradient in channelOodles sega OpenFOAM Running, Solving & CFD 14 August 12, 2009 06:21
Hydrostatic pressure in 2-phase flow modeling (CFX4.2) HB &DS CFX 0 January 9, 2000 13:19


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