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

decomposePar 4-core warning/error?

Register Blogs Community New Posts Updated Threads Search

Like Tree4Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 5, 2014, 19:43
Default
  #21
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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)
it will give you a list of libraries it links to and among them are some of your own custom libraries, which very likely were copied from the original turbulence models. Since you're using the installation at "/opt", you can run this command to see a short list, among which are your custom libraries:
Code:
ldd $(which MyinterFoam) | grep -v "opt"
I'm guessing that you have a library named "libMyincompressibleLESModels.so", which is nearly identical to the official "libincompressibleLESModels.so", which is why you're getting the error messages you're getting!

At least, this is my guess, without more information.

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   April 7, 2014, 06:43
Default But without some swak4foam librairies
  #22
Member
 
Emeline Noel
Join Date: Dec 2013
Location: Paris
Posts: 31
Rep Power: 12
zarox is on a distinguished road
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
suchi89 likes this.
zarox is offline   Reply With Quote

Old   April 7, 2014, 16:56
Default
  #23
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Hi Emeline,

If you run this command:
Code:
ldd $FOAM_USER_LIBBIN/libswakFunctionObjects.so | grep incompressibleLESModels.so
you'll see that it indicates that the library "libswakFunctionObjects.so" depends on "libincompressibleLESModels.so".

There are a few possible solutions you can use:
  1. You can edit all ".H" files in your customized turbulence libraries and renamed the entries like this one:
    Code:
    TypeName("laplace");
    to something like this:
    Code:
    TypeName("laplaceMine");
  2. Or you can have only the classes you strictly need in your own library.
  3. Or you can embed the classes you need into your solver!
Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   April 8, 2014, 09:57
Default Great!
  #24
Member
 
Emeline Noel
Join Date: Dec 2013
Location: Paris
Posts: 31
Rep Power: 12
zarox is on a distinguished road
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!
zarox is offline   Reply With Quote

Reply


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
mpirun, best parameters pablodecastillo Hardware 18 November 10, 2016 13:36
solving a conduction problem in FLUENT using UDF Avin2407 Fluent UDF and Scheme Programming 1 March 13, 2015 03:02
Superlinear speedup in OpenFOAM 13 msrinath80 OpenFOAM Running, Solving & CFD 18 March 3, 2015 06:36
decomposePar gives errors of_user_ OpenFOAM 1 July 4, 2011 06:27
Serial Job Jumping from Core to Core Will FLUENT 2 August 25, 2008 15:21


All times are GMT -4. The time now is 09:52.