|
[Sponsors] |
September 1, 2016, 05:02 |
create forces
|
#1 |
New Member
Jose
Join Date: Nov 2015
Posts: 3
Rep Power: 10 |
Hi all
I need to access the force coefficients in my solver. I am trying to move some controller device on an airfoil based on the feedback from the forces. Does any one know how it is possible to create forceCoeffs in my code ? Last edited by hoseinr59; September 3, 2016 at 06:44. |
|
September 3, 2016, 06:37 |
|
#2 |
New Member
Jose
Join Date: Nov 2015
Posts: 3
Rep Power: 10 |
label id = runTime.functionObjects().findObjectID("forces");
runTime.functionObjects()[id].execute(true); This triggers the OpenFOAM::forceCoeffs.write() which is a virtual boolean type function and writes the forces in to a file only. The type can not be changed to return the forceCoeffs value also. Is there any way I can make it return the values ? Last edited by hoseinr59; September 4, 2016 at 04:45. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Wrong forces coming from forces function object in controlDict | Jason_Duguay | OpenFOAM Post-Processing | 0 | April 13, 2016 10:07 |
[ICEM] how to create a 2d tri mesh with quad mesh in the boundary layer | seal2013 | ANSYS Meshing & Geometry | 3 | October 6, 2013 17:09 |
Actuator disk model | audrich | FLUENT | 0 | September 21, 2009 08:06 |
Where's the singularity/mesh flaw? | audrich | FLUENT | 3 | August 4, 2009 02:07 |
Problems With Journal When Writing Forces To File | Andrew | FLUENT | 2 | September 23, 2005 03:12 |