|
[Sponsors] |
Pressure distribution on a surface, numerical data |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
February 10, 2014, 09:47 |
Pressure distribution on a surface, numerical data
|
#1 |
Senior Member
Francisco
Join Date: Mar 2012
Location: Spain
Posts: 273
Rep Power: 15 |
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! |
|
February 10, 2014, 10:11 |
|
#2 |
Super Moderator
Alex
Join Date: Jun 2012
Location: Germany
Posts: 3,428
Rep Power: 49 |
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 |
|
February 10, 2014, 10:19 |
|
#3 |
Senior Member
Francisco
Join Date: Mar 2012
Location: Spain
Posts: 273
Rep Power: 15 |
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? |
|
February 10, 2014, 10:26 |
|
#4 |
Super Moderator
Alex
Join Date: Jun 2012
Location: Germany
Posts: 3,428
Rep Power: 49 |
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.
|
|
February 10, 2014, 10:31 |
|
#5 | |
Senior Member
Francisco
Join Date: Mar 2012
Location: Spain
Posts: 273
Rep Power: 15 |
Quote:
Thanks! |
||
February 10, 2014, 10:51 |
|
#6 |
Super Moderator
Alex
Join Date: Jun 2012
Location: Germany
Posts: 3,428
Rep Power: 49 |
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. |
|
February 11, 2014, 04:33 |
|
#7 |
Senior Member
Francisco
Join Date: Mar 2012
Location: Spain
Posts: 273
Rep Power: 15 |
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 |
|
February 11, 2014, 05:06 |
|
#8 |
Super Moderator
Alex
Join Date: Jun 2012
Location: Germany
Posts: 3,428
Rep Power: 49 |
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. |
|
February 11, 2014, 05:10 |
|
#9 |
Senior Member
Francisco
Join Date: Mar 2012
Location: Spain
Posts: 273
Rep Power: 15 |
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.
|
|
February 11, 2014, 05:15 |
|
#10 |
Super Moderator
Alex
Join Date: Jun 2012
Location: Germany
Posts: 3,428
Rep Power: 49 |
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.
|
|
February 11, 2014, 05:19 |
|
#11 |
Senior Member
Francisco
Join Date: Mar 2012
Location: Spain
Posts: 273
Rep Power: 15 |
||
February 11, 2014, 05:23 |
|
#12 |
Super Moderator
Alex
Join Date: Jun 2012
Location: Germany
Posts: 3,428
Rep Power: 49 |
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. |
|
February 11, 2014, 05:28 |
|
#13 | |
Senior Member
Francisco
Join Date: Mar 2012
Location: Spain
Posts: 273
Rep Power: 15 |
Quote:
I guess this should be done in a post-process stage but I don't know how. |
||
February 11, 2014, 05:41 |
|
#14 |
Super Moderator
Alex
Join Date: Jun 2012
Location: Germany
Posts: 3,428
Rep Power: 49 |
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. |
|
Tags |
fluent, numerical data, pressure distribution |
|
|
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 |