Hi
Unlike perp_flap and cylinderFlap tutorial cases where the displacement of a coordinate is tracked at different time steps, is it possible to calculate Drag Coefficients and Lift Coefficients over a surface?
Is there a tutorial which already does this? Please let me know if anyone has any ideas regarding this.
But I guess that you can also extract this information directly from OpenFOAM. Here, my expertise is, however, limited.
Maybe somebody else knows the answer?
Let me describe how post-processing is done for a simple fluid flow case in which one wishes to find forces over a patch named “flatplate”
One needs to add this patch in functions in the controlDict file
I have attached the txt file of controlDict files for a normal fluid simulation case for your perusal.controlDict-rigid.txt (4.3 KB)
For more information, refer to the guide
Now, let us say, we have an FSI case in which we divide this “flatplate” into two patches named “fixed” (rigid), and “flap” (flexible). The new mesh positions will be updated to “flap” by the help of preCICE. We need to communicate it to OpenFOAM post-processing functionality by modifying the above code to
Hey @Makis. Can you please open the post for edits? My friend pointed out that there’s a typo in the code in the blockquotes. The attachment is good. I need to edit my previous comment’s blockquote.
Please delete the last 3 messages (including this one) to avoid any confusion for the readers.
It’s ok, let’s keep it like this, to remember how we solved this meta-topic. I would mark it again as the solution, I understand that it was meant as the solution.