Compile problem with user-provided drag in 2D TFM

Dear All;

First, I hope you are all safe and healthy!

I have a compilation problem with the custom solver after choosing the user-provided drag "

!

Here is my usr-drag.f file
usr_drag.f (4.7 KB)
Please, can you show me what I did wrong?

Thanks,

I found the mistake. The build solver was inside directory other than the project folder.

So,
first, make sure that the solver directory is the same of the project directory,
then, copy the usr_drag in the project directory,
write in the cmd >build_mfixsolver
, or build solver from GUI