|
[Sponsors] |
February 2, 2014, 16:28 |
Cannot Load Custom Turbulence Model
|
#1 | |
Member
Eric Robertson
Join Date: Jul 2012
Posts: 95
Rep Power: 14 |
I have implemented a custom LES model for OpenFOAM 2.0.0 and have successfully compiled it. However, the terminal reports that it cannot read the .so file associated with it.
Quote:
How can it not recognize the file when there were no compilation errors? |
||
February 3, 2014, 00:37 |
|
#2 |
Senior Member
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,900
Rep Power: 37 |
Hi Eric,
1. How do you try to load the additional library? 2. Are you sure that it is in a location that OpenFoam knows? Kind regards, Niels
__________________
Please note that I do not use the Friend-feature, so do not be offended, if I do not accept a request. |
|
February 3, 2014, 00:43 |
|
#3 | |
Member
Eric Robertson
Join Date: Jul 2012
Posts: 95
Rep Power: 14 |
Quote:
I compiled using wmake, which created the library in my $FOAM_USER_LIBBIN path. I load it with the appropriate controlDict entry. It is worth noting that I have done the same with custom RANS models with no issue, which means OF recognizes this path. This seems to be an issue with custom LES models and I wonder if this is a bug. |
||
February 3, 2014, 01:22 |
|
#4 | |
Member
Eric Robertson
Join Date: Jul 2012
Posts: 95
Rep Power: 14 |
I might also mention that I am "linking" two LES models (much like the "mixedSmagorinsky" model uses scaleSimilarity and Smagorinsky) in order to develop this custom model. Would that be adding difficulty to the compilation?
Example: Quote:
|
||
February 5, 2014, 15:55 |
|
#5 |
Member
Eric Robertson
Join Date: Jul 2012
Posts: 95
Rep Power: 14 |
To provide closure for this thread, I had an error in the header file that the compiler didn't throw.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
SimpleFoam case with SpalartAllmaras turbulence model implemented | nedved | OpenFOAM Running, Solving & CFD | 2 | November 30, 2014 22:43 |
turbulence model for Refrigerator | cicatrix | Main CFD Forum | 0 | October 3, 2012 01:47 |
Wrong calculation of nut in the kOmegaSST turbulence model | FelixL | OpenFOAM Bugs | 27 | March 27, 2012 09:02 |
Low Reynolds k-epsilon model | YJZ | ANSYS | 1 | August 20, 2010 13:57 |
KOmega Turbulence model from wwwopenFOAMWikinet | philippose | OpenFOAM Running, Solving & CFD | 30 | August 4, 2010 10:26 |