|
[Sponsors] |
Difference between forceCoeffs function and Paraview force calculation |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 28, 2018, 09:33 |
Difference between forceCoeffs function and Paraview force calculation
|
#1 |
New Member
Aleksei
Join Date: Oct 2016
Posts: 4
Rep Power: 10 |
Good afternoon everyone
I`ve run several cases in rhoSimpleFoam for calculation drag and lift coefficient. Function forceCoeffs was used for run-time post-processing. After I used Paraview to calculate Cl and Cd (only pressure component):
Results: forceCoeffs Cd : 0.0239694 (pressure: 0.0181724 :confused: viscous: 0.00579704) Cl : 0.260187 (pressure: 0.260349 viscous: -0.000162107) Paraview Cd : 0.0408192 :confused: Cl : 0.257274 My forceCoeffs file: forceCoeffs1 { type forceCoeffs; libs ("libforces.so"); writeControl timeStep; timeInterval 2; log yes; patches ( "Wall.*" ); // rho rhoInf; // Indicates incompressible rhoInf 1.225; // Redundant for incompressible liftDir (0 1 0); dragDir (-1 0 0); CofR (-0.44347 0 0); // Axle midpoint on ground pitchAxis (0 0 1); magUInf 56; lRef 0.94; // Wheelbase length Aref 0.019; // Estimated /* binData { nBin 20; // output data into 20 bins direction (1 0 0); // bin direction cumulative yes; } */ } Also such differense observed when I run cases in simpleFoam. However, inequality was less then 5%. Any thoughts? What is the reason of this inconsistency? I would highly appreciate any advice! |
|
October 1, 2018, 06:20 |
|
#2 |
New Member
Aleksei
Join Date: Oct 2016
Posts: 4
Rep Power: 10 |
Problem was solved.
Thanks to this thread https://www.cfd-online.com/Forums/op...-paraview.html I find out that "point" values in paraview are created by interpolation. By changing attribute mode in calculator from "point data" to "cell data" I`ve got Cl and Cd in paraview equal to ones from forceCoeffs function. |
|
June 9, 2021, 05:05 |
|
#3 |
New Member
damu
Join Date: Feb 2017
Posts: 24
Rep Power: 9 |
Hi Aleksei,
Thanks for the thread. Can you help me calculate viscous drag using ParaView? |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM] Probes function gives different values than ParaView | Bazinga | ParaView | 4 | November 29, 2017 14:59 |
[General] Calculation of accumulated drag on bodies in Paraview | Jan.Östh | ParaView | 2 | November 3, 2014 05:32 |
ParaView for OF-1.6-ext | Chrisi1984 | OpenFOAM Installation | 0 | December 31, 2010 07:42 |
[OpenFOAM] parafoam - paraview help function | felik9 | ParaView | 5 | June 3, 2010 16:03 |
Problems in compiling paraview in Suse 10.3 platform | chiven | OpenFOAM Installation | 3 | December 1, 2009 08:21 |