Hi Emeline,
According to the output and from your description, the problem does not seem to be related to swak4Foam. It seems to me that you're using a custom solver which might be the one responsible for this problem in particular. My guess is that if you run this command: Code:
ldd $(which MyinterFoam) Code:
ldd $(which MyinterFoam) | grep -v "opt" At least, this is my guess, without more information. Best regards, Bruno |
But without some swak4foam librairies
Hi Bruno,
Thanks to your answer! Very interresting, now I know a new command ldd very useful to show all librairies link. But to come back to the probleme, Yes I have libMyincompressibleLESModels.so, just a change in the genEddy, if memories serve, in order to add a sponge layer at the outlet (i.e. increase viscosity). So the librairy is very similar than the original. So Your answer seems to sound good, but the strange thing is, in the controlDict file I have some librairies add libsimpleSwakFunctionObjects.so and libswakFunctionObjects.so in order to do some cutting plane and free surface evolution partial solution. That librairy did'nt work first I add your patch, know it work but a Duplicate status is given. If I don't add these librairy not error is print at the beginning of the execution relating to the duplicate process... So, It seems to me to be related to the swak4foam, but also Your explaination seems good but don't take account for the result without the swak librairy. So, I don't know, How can I remove the duplicate status, Is it a true issue? Nice to have some exchange with you.. Greeting! Emeline |
Hi Emeline,
If you run this command: Code:
ldd $FOAM_USER_LIBBIN/libswakFunctionObjects.so | grep incompressibleLESModels.so There are a few possible solutions you can use:
Bruno |
Great!
Hi Bruno,
You give me the ldd command and I was not able to re-use to have more informations! What kind of poor little cdf girl, I done! I promise, I would do better next time! Thank for solutions, I try to do the second one, but i don't find the proper way in my mind, because, the class I changed is LESModel and It's use by all LESModel, so i don't puzzle out how to extract only this class, I think I have to change all the Model LESclass like Smagorinsky and other... I should say, I am new in the openFOAM world, and particulary in the C++ world. So I done the first way, and it's wonderful, no more duplicate status, swak4foam work well! Thank you very must guy! :) See you next time on CFD-online! |
All times are GMT -4. The time now is 02:43. |