CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Visualization & Post-Processing Software > ParaView

[OpenFOAM] Paraview and simpleFoam 'forces' results are not exactly matching

Register Blogs Community New Posts Updated Threads Search

Like Tree4Likes
  • 2 Post By Krao
  • 2 Post By Carlo_P

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 5, 2019, 07:33
Default Paraview and simpleFoam 'forces' results are not exactly matching
  #1
Senior Member
 
Kmeti Rao
Join Date: May 2019
Posts: 145
Rep Power: 7
Krao is on a distinguished road
Dear Foam users,

Presently I am doing the post processing of the simulation as explained in the following thread One half propeller simulation with MRFSimpleFoam crashing. I have used BEMT for the propeller design. I am having 15% variation in the forces between BEMT and CFD, therefore I had planned to use paraview(with OpenFOAM 6) for post processing, by dividing the propeller blade into 10 elements, which is exactly the number of elements in my design. As a first step to compare the paraview and simpleFoam results I have calculated the forces by considering the full propeller, and the procedure is explained below.

1) Load the case using the command paraFoam
2) Select the required patch, in my case it is propeller blade
3) Filters - Extract surface
4) Filters - Generate surface normals
5) Filters - Cell data to point data
6) Calculator - Force = pressure*normals
7) Filters - Integrate variables, this generates the table from in which the result (Force) is present

After performing the steps mentioned above, the Force obtained is, Force = (0.269, 2.988, 20.063). This value is less when compared with the results from MRF simpleFoam (0.291062, 3.70328, 22.952). Are there anyone in this forum faced the similar problem. Please let me know if the above steps performed are wrong. Also, suggest me if I need to manipulate something in the script while defining the forces.

Please let me know if I required to provide more details. Thank you in advance.

Krao

Last edited by Krao; June 5, 2019 at 08:09. Reason: Paraview version
Krao is offline   Reply With Quote

Old   June 5, 2019, 11:05
Default
  #2
Senior Member
 
Kmeti Rao
Join Date: May 2019
Posts: 145
Rep Power: 7
Krao is on a distinguished road
I did the basic mistake of not multiplying the pressure with density.After multiplying the pressure with density, I got the expected values. Hope it helps future readers. If anyone find this wrong please let me know.

Krao
gabrielfelix and mgnodam like this.

Last edited by Krao; June 11, 2019 at 06:54.
Krao is offline   Reply With Quote

Old   July 3, 2019, 03:31
Default
  #3
Senior Member
 
Carlo_P
Join Date: May 2019
Location: Italy
Posts: 176
Rep Power: 7
Carlo_P is on a distinguished road
Hey Krao, if you want take a look into this tutorial:
https://www.youtube.com/watch?v=J944HOj_4b0


on how calculate drag and torque with paraview.


Another suggestion (but I'm not 100% sure).
If you want to have the pressure multyply by the density, you can add #includeFunc staticPressure or #includeFunc static(p) in the end of the controlDict.


You will recevide the value of pressure*density, you can use directly on parafoam.
Try this, I'm not 100% sure.
Krao and gabrielfelix like this.
Carlo_P 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
circular cylinder drag crisis, simpleFoam k-w SST model no expected results fur OpenFOAM 1 August 4, 2019 09:30
Airfoil with simpleFoam and kOmegaSST: high drag values? Tsiolkovsky OpenFOAM Running, Solving & CFD 6 November 21, 2018 05:56
SimpleFOAM how to plot the real pressures (not adimensionalized by density) alsdia OpenFOAM Post-Processing 4 June 10, 2016 05:35
simpleFoam turbulent flow laminar results NicolasB OpenFOAM Running, Solving & CFD 22 March 25, 2016 12:31
Different results using sample utility vs Paraview 'Plot over line' tool agarwa58 OpenFOAM Post-Processing 5 March 20, 2016 08:57


All times are GMT -4. The time now is 18:38.