|
[Sponsors] | |||||
Post-processing OpenFoam Results in Fluent using FoamDataToFluent |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|
|
#1 |
|
Member
Mohsin
Join Date: Jul 2023
Posts: 30
Rep Power: 5 ![]() |
When I export OpenFOAM results to Fluent using FoamDataToFluent, the pressure contours don’t match those in ParaView, even for a standard case like the elbow benchmark. Why does this discrepancy occur, and how can I ensure consistent pressure visualization between the two?
|
|
|
|
|
|
|
|
|
#2 |
|
Senior Member
Joern Beilke
Join Date: Mar 2009
Location: Dresden
Posts: 599
Rep Power: 21 ![]() |
How different are they? Can you post 2 pictures? During the export we might have to choose between cell based values and vertex/node based values.
|
|
|
|
|
|
|
|
|
#3 | |
|
Member
Mohsin
Join Date: Jul 2023
Posts: 30
Rep Power: 5 ![]() |
Quote:
I have attached the pictures as well as the case. Velocity contours are exactly same. But pressure are not. The pressure p (which i think is kinametic pressure in openfoam) when opened in paraview does not match with any of the pressure (static pressure, dynamic pressure, total pressure etc) in fluent. How can I ensure consistent pressure visualization between the two (paraview and fluent, just like velocity contours)? |
||
|
|
|
||
|
|
|
#4 |
|
Senior Member
Joern Beilke
Join Date: Mar 2009
Location: Dresden
Posts: 599
Rep Power: 21 ![]() |
Your fluent pressure is zero everywhere. So something went wrong.
The pressure for incompressible cases in OpenFOAM is p/rho and not the pressure itself. |
|
|
|
|
|
|
|
|
#5 | |
|
Member
Mohsin
Join Date: Jul 2023
Posts: 30
Rep Power: 5 ![]() |
Quote:
Yes static pressure is zero in fluent. I don't know how foamDataToFluent converts the p/rho to pressure in fluent. Is there a way to see the static pressure or p/rho in fluent? |
||
|
|
|
||
|
|
|
#6 |
|
Senior Member
Joern Beilke
Join Date: Mar 2009
Location: Dresden
Posts: 599
Rep Power: 21 ![]() |
What's your boundary type for "frontAndBackPlanes" in Fluent. You should specify it as symmetry or slip-wall. When you define it as pressureOutlet, your resulting pressure will be zero.
|
|
|
|
|
|
|
|
|
#7 | |
|
Member
Mohsin
Join Date: Jul 2023
Posts: 30
Rep Power: 5 ![]() |
Quote:
I'm using the standard elbow tutorial case from OpenFOAM without any modifications. My goal is to verify if foamDataToFluent correctly exports the mesh and data for CFD results comparison in Fluent (for another simulation). Problem: The frontAndBackPlanes boundary in OpenFOAM is defined as type empty, but when exported to Fluent, it appears as a pressureOutlet. Attempted Fixes: 1. Manually changing it to symmetry in Fluent did not resolve the issue. 2. Modified the OpenFOAM boundary files (p, U, and boundary) to set frontAndBackPlanes as symmetry, then re-exported using foamMeshToFluent and foamDataToFluent. Result: Fluent now correctly recognizes it as symmetry, but the static pressure remains zero. Request: Could you please review the attached ZIP file from my previous replies and help identify the issue? Any guidance would be greatly appreciated. |
||
|
|
|
||
|
|
|
#8 |
|
Senior Member
Joern Beilke
Join Date: Mar 2009
Location: Dresden
Posts: 599
Rep Power: 21 ![]() |
I already read your elbow.msh into StarCCM+ and found that frontAndBack are defined as pressure-outlet. Thats why I suspected something wrong there.
So your problem is the Fluent setup and has nothing to do with OpenFOAM or with the postprocessing. It should be easy to change the boundary type within FLUENT. There is no need to change the mesh in OF and do a reexport. Please check within Fluent, if there is a "pressure" variable. Usually you have "pressure" , "absolute-pressure" ... |
|
|
|
|
|
|
|
|
#9 | |
|
Member
Mohsin
Join Date: Jul 2023
Posts: 30
Rep Power: 5 ![]() |
Quote:
|
||
|
|
|
||
![]() |
| Tags |
| fluent, openfoam, paraview, postprocessing |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Map of the OpenFOAM Forum - Understanding where to post your questions! | wyldckat | OpenFOAM | 10 | September 2, 2021 06:29 |
| Comparison between OpenFoam and Fluent results | chku24 | OpenFOAM Running, Solving & CFD | 2 | January 19, 2020 20:52 |
| OpenFOAM v3.0+ ?? | SBusch | OpenFOAM | 22 | December 26, 2016 15:24 |
| Running UDF with Supercomputer | roi247 | FLUENT | 4 | October 15, 2015 14:41 |
| Suggestion for a new sub-forum at OpenFOAM's Forum | wyldckat | Site Help, Feedback & Discussions | 20 | October 28, 2014 10:04 |