CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (https://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   Compiling new lagrangian patchInteractionModel (https://www.cfd-online.com/Forums/openfoam-programming-development/168884-compiling-new-lagrangian-patchinteractionmodel.html)

Chrisi1984 March 31, 2016 02:02

Compiling new lagrangian patchInteractionModel
 
1 Attachment(s)
Hello together,

I try to implement the new lagrangian patchInteractionModel "pass" based on that was is described here:
http://www.openfoam.org/mantisbt/view.php?id=1949
When I implemented it in the whole /lagrangian/intermedita library and recompiled that into FOAM_USER_LIBBIN and linked it to my solvers, the patchInteractionModel "pass" is available and it is working. But I receive a lot of warnings having loaded libraries multiple times.
I guess the problem is that by recompiling the whole /lagrangian/intermedita library all other models in the intermediate library are available twice with the same name, once in my user specific library and once in the also linked original library from /src.

So I tried to only recompile the new patchInteractionModel as "MyLocalInteraction" (see attachment).
The library compiles, but when I link the library to the solver, it cannot find the new patchInteractionModel.

Can you please help me how to only compile that small part of the /lagrangian/intermedita library ?

Thanks in advance and kind regards
Chrisi

_ignacio June 1, 2023 19:06

Hi, old post, but did you find a solution to this problem? I am trying to incorporate a new local patch interaction that mixes rebound and stick, but I am facing a similar problem.

Thanks!


All times are GMT -4. The time now is 01:05.