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/)
-   -   Running application using the new user compiled liblagrangianIntermediate library (https://www.cfd-online.com/Forums/openfoam-programming-development/151113-running-application-using-new-user-compiled-liblagrangianintermediate-library.html)

milord1 April 4, 2015 03:22

Running application using the new user compiled liblagrangianIntermediate library
 
Hello,

I wanted to add a NoPairModel into the liblagrangianIntermediate library.

In order to do that I have copied the SpringDashpot PairModel of the Lagrangian Intermediate model and replaced every "SpringDashpot" with NoPairModel. I also changed the typeName of the new class into "none".

This was basically the way the NoCollisionModel was defined and is working with the "none" in front the CollisionModel keyword in the KinematicCloudProperties file and I want to do the same with the PairModel.

I compile the new liblagraniganIntermediate and replace the original one at opt/Openfoam230/.../lib with the new compiled one. Then I run the icoUncoupledKinematcParcelFoam application to solve the hopperInitilize tutorial.

I get the error that "none" still is not valid for the pair model and that the constructor is not in hash table.

Could anyone help me with that please? I am suspicious that I should probably recompile some other libraries which take care of introducing the new defined names like the "none" for NoPairModel here.

I really appreciate your kind suggestions.


All times are GMT -4. The time now is 11:20.