CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

Compiling new lagrangian patchInteractionModel

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 31, 2016, 02:02
Default Compiling new lagrangian patchInteractionModel
  #1
Senior Member
 
Join Date: Jan 2010
Location: Stuttgart
Posts: 150
Rep Power: 16
Chrisi1984 is on a distinguished road
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
Attached Files
File Type: gz MyLocalInteraction.tar.gz (13.6 KB, 17 views)
Chrisi1984 is offline   Reply With Quote

Old   June 1, 2023, 19:06
Default
  #2
New Member
 
Ignacio Bartol
Join Date: Jun 2022
Posts: 2
Rep Power: 0
_ignacio is on a distinguished road
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!
_ignacio is offline   Reply With Quote

Reply

Tags
compiling library, lagrangian, particle, patchinteraction, spray


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Lagrangian Particle Tracking in Eulerian-Eulerian Multiphase Flow DarrenC CFX 5 April 7, 2016 14:50
converse lagrangian field to eulerian Jan_B OpenFOAM Programming & Development 0 August 13, 2015 13:11
Water droplets in gas with Lagrangian solver & SimpleFoam idnis OpenFOAM Programming & Development 1 July 8, 2014 01:54
Problem compiling a custom Lagrangian library brbbhatti OpenFOAM Programming & Development 2 July 7, 2014 11:32
Help with KIVA4 source code compiling geothokar Main CFD Forum 0 September 3, 2010 05:40


All times are GMT -4. The time now is 04:44.