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

Pressure distribution on a surface, numerical data

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 10, 2014, 09:47
Default Pressure distribution on a surface, numerical data
  #1
Senior Member
 
Francisco
Join Date: Mar 2012
Location: Spain
Posts: 273
Rep Power: 15
Bollonga is on a distinguished road
Hi everybody,

I'm simulating the flow over an inclined flat plate and I would like to get the pressure distribution over the surface in numerical data, to work with it in Matlab.

How can I do it? Do I have to use a UDF to write the pressure data and each point coordinates at the desired timesteps? Is there any fluent tool to do that?

Thank you guys!
Bollonga is offline   Reply With Quote

Old   February 10, 2014, 10:11
Default
  #2
Super Moderator
 
flotus1's Avatar
 
Alex
Join Date: Jun 2012
Location: Germany
Posts: 3,428
Rep Power: 49
flotus1 has a spectacular aura aboutflotus1 has a spectacular aura about
Under "Calculation activities" in the Fluent GUI you can set up an automatic export.
Here you can choose the format of the exported file, the location of the data to be exported and the variables.
You can also specify a time step interval if you dont need the data from every time step.

Or you could record a macro where you export the data you want to transfer to matlab manually. Find this option in "calculation activities" -> "execute commands" -> "define macro".
Then you can record something like file -> export -> solution data
flotus1 is offline   Reply With Quote

Old   February 10, 2014, 10:19
Default
  #3
Senior Member
 
Francisco
Join Date: Mar 2012
Location: Spain
Posts: 273
Rep Power: 15
Bollonga is on a distinguished road
Thanks a lot. I'll try the automatic export option as I'm not very used to macros.

How could I select the surface in which I want to get the pressure using the macro option?
Bollonga is offline   Reply With Quote

Old   February 10, 2014, 10:26
Default
  #4
Super Moderator
 
flotus1's Avatar
 
Alex
Join Date: Jun 2012
Location: Germany
Posts: 3,428
Rep Power: 49
flotus1 has a spectacular aura aboutflotus1 has a spectacular aura about
In the automatic export window, you get to select the surfaces for which you want to export the data. You will see what I mean once you opened the window.
flotus1 is offline   Reply With Quote

Old   February 10, 2014, 10:31
Default
  #5
Senior Member
 
Francisco
Join Date: Mar 2012
Location: Spain
Posts: 273
Rep Power: 15
Bollonga is on a distinguished road
Quote:
Originally Posted by flotus1 View Post
In the automatic export window, you get to select the surfaces for which you want to export the data. You will see what I mean once you opened the window.
I was talking about the macro option, I guess a macro is like some text line commands recorded, right? And I would like to know how to select the surface following this approach, the automatic report approach is clear to me.

Thanks!
Bollonga is offline   Reply With Quote

Old   February 10, 2014, 10:51
Default
  #6
Super Moderator
 
flotus1's Avatar
 
Alex
Join Date: Jun 2012
Location: Germany
Posts: 3,428
Rep Power: 49
flotus1 has a spectacular aura aboutflotus1 has a spectacular aura about
I misread, sorry about that.

Giving it a second thought, I dont think that a macro is the best option for your application since it will overwrite the previous results.
flotus1 is offline   Reply With Quote

Old   February 11, 2014, 04:33
Default
  #7
Senior Member
 
Francisco
Join Date: Mar 2012
Location: Spain
Posts: 273
Rep Power: 15
Bollonga is on a distinguished road
Just a question, Alex.

As I posted on this thread http://www.cfd-online.com/Forums/flu...o-surface.html I would like to compute forces on an iso-surface or a clip-surface which are not a named part. Is there a way to compute that force?

Thanks!

Last edited by Bollonga; February 11, 2014 at 04:47. Reason: language correction
Bollonga is offline   Reply With Quote

Old   February 11, 2014, 05:06
Default
  #8
Super Moderator
 
flotus1's Avatar
 
Alex
Join Date: Jun 2012
Location: Germany
Posts: 3,428
Rep Power: 49
flotus1 has a spectacular aura aboutflotus1 has a spectacular aura about
I gave this a try, and apparently you can apply an automatic export to isosurfaces aswell.
Not sure how you want to define a force on a surface inside a fluid. Actually that seems to be the tricky part here.
flotus1 is offline   Reply With Quote

Old   February 11, 2014, 05:10
Default
  #9
Senior Member
 
Francisco
Join Date: Mar 2012
Location: Spain
Posts: 273
Rep Power: 15
Bollonga is on a distinguished road
Quote:
Originally Posted by flotus1 View Post
I gave this a try, and apparently you can apply an automatic export to isosurfaces aswell.
Not sure how you want to define a force on a surface inside a fluid.
Okay, but it seems I cannot do it in the results/reports/forces option. I can only choose named selections there and it would be really usefull to be able to check forces on some unnamed areas.
Bollonga is offline   Reply With Quote

Old   February 11, 2014, 05:15
Default
  #10
Super Moderator
 
flotus1's Avatar
 
Alex
Join Date: Jun 2012
Location: Germany
Posts: 3,428
Rep Power: 49
flotus1 has a spectacular aura aboutflotus1 has a spectacular aura about
I am quite sure that the force on any surface element inside a fluid has to be zero because pressure and shear stress on both sides of the surface have to be equal.
flotus1 is offline   Reply With Quote

Old   February 11, 2014, 05:19
Default
  #11
Senior Member
 
Francisco
Join Date: Mar 2012
Location: Spain
Posts: 273
Rep Power: 15
Bollonga is on a distinguished road
Quote:
Originally Posted by flotus1 View Post
I am quite sure that the force on any surface element inside a fluid has to be zero because pressure and shear stress on both sides of the surface have to be equal.
I mean forces on a wall surface that is part of a body. These shouldn't be zero.
Bollonga is offline   Reply With Quote

Old   February 11, 2014, 05:23
Default
  #12
Super Moderator
 
flotus1's Avatar
 
Alex
Join Date: Jun 2012
Location: Germany
Posts: 3,428
Rep Power: 49
flotus1 has a spectacular aura aboutflotus1 has a spectacular aura about
These are the forces on one side of the surface.
And if they are part of a boundary, you should be able to do any postprocessing you like within fluent.

Maybe we need a more concrete example on what you are trying to do.
flotus1 is offline   Reply With Quote

Old   February 11, 2014, 05:28
Default
  #13
Senior Member
 
Francisco
Join Date: Mar 2012
Location: Spain
Posts: 273
Rep Power: 15
Bollonga is on a distinguished road
Quote:
Originally Posted by flotus1 View Post
These are the forces on one side of the surface.
And if they are part of a boundary, you should be able to do any postprocessing you like within fluent.

Maybe we need a more concrete example on what you are trying to do.
I have an inclined flat plate near the ground in an atmospheric flow. I'm computing Cd and Cl for the whole plate, but I would like to check the force or coefficient on just a corner or a specific area of the panel.

I guess this should be done in a post-process stage but I don't know how.
Bollonga is offline   Reply With Quote

Old   February 11, 2014, 05:41
Default
  #14
Super Moderator
 
flotus1's Avatar
 
Alex
Join Date: Jun 2012
Location: Germany
Posts: 3,428
Rep Power: 49
flotus1 has a spectacular aura aboutflotus1 has a spectacular aura about
I dont know how to get these forces from the force reports in fluent directly.
But what you can do is calculate the surface integral of shear stresses and pressure. This can be applied to clipped surfaces or isosurfaces.
flotus1 is offline   Reply With Quote

Reply

Tags
fluent, numerical data, pressure distribution


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
Pressure Outlet Guage pressure Mohsin FLUENT 36 April 29, 2016 18:16
how to create surface pressure data file josip76 FLUENT 0 June 26, 2011 02:10
plot pressure distribution on a section of 3D wing ROOZBEH FLUENT 3 April 21, 2008 04:30
Does star cd takes reference pressure? monica Siemens 1 April 19, 2007 12:26
Where can find airfoil data with pressure distribution or aerodynamic data Ahlo Main CFD Forum 5 January 12, 1999 23:45


All times are GMT -4. The time now is 14:25.