CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Pre-Processing (https://www.cfd-online.com/Forums/openfoam-pre-processing/)
-   -   Parabolic inlet profile (https://www.cfd-online.com/Forums/openfoam-pre-processing/140417-parabolic-inlet-profile.html)

mich_K August 14, 2014 08:50

Parabolic inlet profile
 
I am trying to follow these instructions for implementing the utility written by gschaider :

http://www.cfd-online.com/Forums/ope...y-profile.html

But get the following error:

mich@mich-TravelMate-8372:~/OpenFOAM/OpenFOAM-2.3.0/applications/inletProfile$ wmake
g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-100 -I/home/mich/OpenFOAM/OpenFOAM-2.3.0/src/cfdTools/lnInclude -I/home/mich/OpenFOAM/OpenFOAM-2.3.0/src/finiteVolume/lnInclude -IlnInclude -I. -I/home/mich/OpenFOAM/OpenFOAM-2.3.0/src/OpenFOAM/lnInclude -I/home/mich/OpenFOAM/OpenFOAM-2.3.0/src/OSspecific/POSIX/lnInclude -fPIC -Xlinker --add-needed -Xlinker --no-as-needed -L/home/mich/OpenFOAM/OpenFOAM-2.3.0/platforms/linux64GccDPOpt/lib \
-lcfdTools -lOpenFOAM -ldl -lm -o OpenFOAM.out
/usr/bin/ld: cannot find -lcfdTools
collect2: error: ld returned 1 exit status
make: *** [OpenFOAM.out] Error 1

I am a newbie and not to good with the programming side yet. Maybe I am doing something obvious wrong.

Would someone be so kind as to show me the exact implementation of the utility once it has been compliled?

Also, will this utility be able to implement a turbulance profile as well?

Thanks in advance.

jhoepken August 18, 2014 04:28

I suppose that you have not compiled OpenFOAM properly? In your shell:
Code:

src
./Allwmake

Watch out for possible errors and then report back ;)


All times are GMT -4. The time now is 00:37.