CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   rigidBodyLibrary compatibility with solvers (https://www.cfd-online.com/Forums/openfoam/251988-rigidbodylibrary-compatibility-solvers.html)

enrin September 19, 2023 11:08

rigidBodyLibrary compatibility with solvers
 
Hello everyone!

I'm here to ask a general question concerning openFoam. Is the rigidBodyLibrary compatible with the solver overPimpleDyMFoam?

I was thinking so but now I'm stuck with my simulation receiving the following error message:

Quote:

Could not find rho:rho in database
From void Foam::functionObjects::forces::initialise()
in file forces/forces.C at line 178
I went already through a lot of hours of debugging, but I'm not capable to spot the bug and that's why I'm questioning myself on the compatibility between the library and the solver.

I am fully available to share whatever relevant dictionaries, if needed.

If anyone knows, please help! I'm stuck on a very dead point.
Many thanks in advance!!

gcampana October 7, 2023 06:05

Hi,

The problem seems to be related to the definition of density. You should indicate that you are in an incompressible case by adding

Code:

rho    rhoInf;
to your rigidBodyMotionCoeffs dictionary

enrin October 7, 2023 08:10

Thank you for your reply gcampana.

Basing myself on some previous threads, I already tried what you suggest me to do. Unluckily, it doesn't work. By the way, I've slightly changed the approach so it is not an urgent stuff. :)

Enrin


All times are GMT -4. The time now is 07:37.