|
[Sponsors] |
Duplicate entry SpalartAllmaras in runtime selection table LESModel |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
December 12, 2014, 05:23 |
Duplicate entry SpalartAllmaras in runtime selection table LESModel
|
#1 | ||||
Senior Member
Freedom
Join Date: May 2014
Posts: 209
Rep Power: 13 |
Hello,everyone.
I encounter the problem which had troubled me for some time, and i also searched the forum but i did not get any clear answer. So i started a new post here. Every one could give me some suggestions even if you did not encounter this problem. My Make/options is as follows: Quote:
Quote:
The library was compiled with no problem, but when i run the solver , I encounter the following error: Quote:
The second error is as follows: Quote:
regards, wen |
|||||
December 13, 2014, 02:29 |
|
#2 |
Senior Member
Freedom
Join Date: May 2014
Posts: 209
Rep Power: 13 |
Have solved it!
|
|
May 15, 2015, 08:41 |
|
#3 |
Guest
Posts: n/a
|
And how did you solve it?
|
|
May 15, 2015, 09:10 |
|
#4 |
Senior Member
Freedom
Join Date: May 2014
Posts: 209
Rep Power: 13 |
We had used two library, one is the standard library, the other one is the library in our own $HOME/SRC.
For example: in my case, [QUOTE-I$(LIB_SRC)/thermophysicalModels/properties/liquidProperties/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/properties/liquidMixtureProperties/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/properties/solidProperties/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/properties/solidMixtureProperties/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/SLGThermo/lnInclude \ -I$(LIB_SRC)/regionModels/regionModel/lnInclude \][/QUOTE] These are standard library in $(LIB_SRC). We should COPY these standard libraries in our own library folder and substitute these standard library with own library, say, $(LIB_YOUOWM_SRC), Then in the solver, you should use these libraries: $(LIB_YOUOWM_SRC), BUT not: $(LIB_SRC) please do not forget define $(LIB_YOUOWM_SRC) in your .bashrc like: export $(LIB_YOUOWM_SRC) = $HOME/your run case library path/src Good luck! Xu |
|
May 29, 2015, 09:31 |
|
#5 | |
Member
|
To whom it may concern...
When you re-use some code, better to re-name name of the classes and functions. So such errors does not appear. You can take a look at Jens Höpken presentation "A brief introduction on the basic structure of functionObjects" where he suggests Quote:
__________________
practice makes perfect |
||
May 29, 2015, 09:34 |
|
#6 | |
Guest
Posts: n/a
|
Quote:
Best Regards |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Run time Selection Mechanism - Some help required to understand | jaswi | OpenFOAM Programming & Development | 3 | October 29, 2015 14:42 |
Problem in3D model processing | mebinitap | OpenFOAM | 2 | December 12, 2014 05:40 |
Adding thermophysical model to chemistryType runtime table | ChrisA | OpenFOAM Programming & Development | 3 | March 10, 2014 10:37 |
Changing viewfactor Model and use the changed my model by calling "mySolver" | FabianF | OpenFOAM Programming & Development | 2 | January 14, 2014 12:25 |
rhoSimplecFoam Mach0.8 no pressure values | CFDnewbie147 | OpenFOAM Running, Solving & CFD | 16 | November 23, 2013 06:58 |