Forces on multiple patches in InterDyMFoam
I want to compute the total forces across multiple patches. I am running a rectangular sloshing tank where each of the 4 walls is its own patch (LeftWall, RightWall, TopWall, BottomWall).
I tried to use the same script in controlDict that I use when the 4 walls form one single patch, but I am not sure that I get the right results.
Here's my controlDict:
Found the answer in a pre-processing thread:
I'm new to OpenFOAM. And my research is about flow between two plates, one is stationary and one is rotating. I want to know the torques both on the topwall and the bottomwall. However, when I added two patch names, OpenFOAM only gives me the difference between these two torques. Can you help me with this? Thank you.
Yes, the right way is that you need to calculate the torque on each plate separately. So the right format should be:
CofR (0 0 0);
same information as above, the only difference should be the patch name
Thanks a lot for your help
|All times are GMT -4. The time now is 15:00.|