|
[Sponsors] |
How to compute forces properly in axisymmetric case? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 13, 2024, 10:30 |
How to compute forces properly in axisymmetric case?
|
#1 |
New Member
Vadim Mikhailov
Join Date: Nov 2023
Posts: 8
Rep Power: 3 |
Hello everyone!
My problem is: in axisymmetric case (zero AoA) there x-axis is axis of symmetry I have a very small drag force and some lift force that is unreallistic (axisymmetric body with zero AoA dont have lift force). I guess that problem in how OF intergate pressure and stress over the body surface, but may there are correct solution for that case& |
|
August 13, 2024, 12:24 |
|
#2 |
Senior Member
Yann
Join Date: Apr 2012
Location: France
Posts: 1,236
Rep Power: 29 |
Hello Vadim,
It would probably be useful to see how you defined your forces function in order to see what could be wrong. |
|
August 14, 2024, 07:11 |
|
#3 |
New Member
Vadim Mikhailov
Join Date: Nov 2023
Posts: 8
Rep Power: 3 |
Thank you for your reply
This is my forces file code Code:
#includeEtc "caseDicts/postProcessing/forces/forces.cfg" patches (body); // Names of patches on which to calculate forces CofR (0 0 0); // Centre of rotation; e.g., (0 0 0) |
|
August 15, 2024, 06:00 |
|
#4 |
Senior Member
Yann
Join Date: Apr 2012
Location: France
Posts: 1,236
Rep Power: 29 |
I'm surprised it runs as it is.
Which OpenFOAM version are you using ? And which solver? This line: Code:
#includeEtc "caseDicts/postProcessing/forces/forces.cfg" You may want to check which settings are used there, or define the whole function by yourself to be sure all parameters are set properly for your case (density, coordinate system...) |
|
August 19, 2024, 03:21 |
|
#5 |
New Member
Vadim Mikhailov
Join Date: Nov 2023
Posts: 8
Rep Power: 3 |
Im using OpenFOAM-v2312 and rhoPimpleFoam solver
And this is forces.cfg file code Code:
type forces; libs ("libforces.so"); // How often force and moment volume fields will be written writeControl writeTime; // none // How often the forces force.dat and moment.dat data files are updated // Note: .dat files are always updated on writeControl times executeControl timeStep; executeInterval 1; log off; |
|
August 19, 2024, 04:21 |
|
#6 |
Senior Member
Yann
Join Date: Apr 2012
Location: France
Posts: 1,236
Rep Power: 29 |
You can have a look here for a more complete description of the function: https://develop.openfoam.com/Develop...orces/forces.H
What coordinate system are you using in your case? |
|
Tags |
forces, lift and drag calculation |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Error when trying to compute forces | Jahir | OpenFOAM Post-Processing | 0 | July 31, 2024 01:33 |
Residuals and forces spiraling out of control before failing | edomalley1 | OpenFOAM Running, Solving & CFD | 3 | September 7, 2018 11:42 |
Forces on wall in unsteady case | sondinho | FLUENT | 4 | December 8, 2012 08:55 |
Free surface boudary conditions with SOLA-VOF | Fan | Main CFD Forum | 10 | September 9, 2006 13:24 |
B C for 2D axisymmetric FV case | Amith | Main CFD Forum | 7 | June 20, 2002 19:06 |