CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Programming & Development

problem with compiling new RNGkEpsilon

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   May 14, 2014, 09:03
Question problem with compiling new RNGkEpsilon
New Member
Join Date: Aug 2012
Posts: 6
Rep Power: 5
buck_s is on a distinguished road
Hey Everybody,

While trying to implement an edited version of the turbulence model RNGkEpsilon, I get this error when trying to compile it with wmake.

SOURCE=myRNGkEpsilon/myRNGkEpsilon.C ;  g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -O3  -DNoRepository -ftemplate-depth-100 -I/disk/OpenFOAM/OpenFOAM-2.2.x/src/turbulenceModels -I/disk/OpenFOAM/OpenFOAM-2.2.x/src/thermophysicalModels/basic/lnInclude -I/disk/OpenFOAM/OpenFOAM-2.2.x/src/thermophysicalModels/solidThermo/lnInclude -I/disk/OpenFOAM/OpenFOAM-2.2.x/src/finiteVolume/lnInclude -I/disk/OpenFOAM/OpenFOAM-2.2.x/src/meshTools/lnInclude -I/disk/OpenFOAM/OpenFOAM-2.2.x/src/turbulenceModels/compressible/RAS/lnInclude -IlnInclude -I. -I/disk/OpenFOAM/OpenFOAM-2.2.x/src/OpenFOAM/lnInclude -I/disk/OpenFOAM/OpenFOAM-2.2.x/src/OSspecific/POSIX/lnInclude   -fPIC -c $SOURCE -o Make/linux64Gcc46DPOpt/myRNGkEpsilon.o
jar cfm /disk/OpenFOAM/mhanna-2.2.x/platforms/linux64Gcc46DPOpt/lib/libmyCompressibleRASModels .jar -lcompressibleTurbulenceModel -lfiniteVolume -lfluidThermophysicalModels -lspecie -lmeshTools -C Make/classes .
g++: error: .so: No such file or directory
make: *** [.so] Error 1
make: *** Waiting for unfinished jobs.... .jar (No such file or directory)
        at Method)
make: *** [/disk/OpenFOAM/mhanna-2.2.x/platforms/linux64Gcc46DPOpt/lib/libmyCompressibleRASModels] Error 1
Could anyone help me find out, where this error is coming from?

Thanks in advance
buck_s is offline   Reply With Quote

Old   November 14, 2014, 07:29
Senior Member
Join Date: Sep 2009
Location: Delft
Posts: 790
Rep Power: 13
Bernhard is on a distinguished road
For future readers. I had a similar error message for a boundary condition. If you have this error, take a few steps back to the original files that you copied. For the above example, be sure to replace all occurences of "RNGkEpsilon" with something unique, e.g. "myRNGkEpsilon". That solved it for me.

Another hint that might help future readers: there are depencies. Copy the Make files and options, and in options, add the original library where you copied the source from (as well as the lnInclude path). By the way, I had this issue in OpenFOAM version 2.1
Bernhard is offline   Reply With Quote


compilation error, rngkepsilon, turbulence model

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
C_T(c,t) problem while compiling (OK interpreted) crevoise Fluent UDF and Scheme Programming 6 February 4, 2014 08:16
Problem with compiling new solver palazi88 OpenFOAM Programming & Development 2 December 24, 2013 20:52
problem with compiling the source code michel1988 OpenFOAM Installation 1 April 17, 2013 17:19
COMPILING PROBLEM ammi FLUENT 1 December 7, 2006 05:07
problem in compiling UDF ammi reddy FLUENT 1 December 1, 2006 07:45

All times are GMT -4. The time now is 14:12.