CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Pre-Processing

Parabolic inlet profile

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

Reply
 
LinkBack Thread Tools Display Modes
Old   August 14, 2014, 08:50
Default Parabolic inlet profile
  #1
Member
 
Michael Kruger
Join Date: Jul 2014
Location: South Africa
Posts: 37
Rep Power: 3
mich_K is on a distinguished road
I am trying to follow these instructions for implementing the utility written by gschaider :

Parabolic inlet velocity profile

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.
__________________
-------------------------------------------------------
Michael
mich_K is offline   Reply With Quote

Old   August 18, 2014, 04:28
Default
  #2
Senior Member
 
Jens Höpken
Join Date: Apr 2009
Location: Duisburg, Germany
Posts: 156
Rep Power: 8
jhoepken is on a distinguished road
Send a message via Skype™ to jhoepken
I suppose that you have not compiled OpenFOAM properly? In your shell:
Code:
src
./Allwmake
Watch out for possible errors and then report back
__________________
Blog: sourceflux.de/blog
"The OpenFOAM Technology Primer": sourceflux.de/book
Twitter: @sourceflux_de
Interested in courses on OpenFOAM?
jhoepken is offline   Reply With Quote

Reply

Tags
gschaider, inlet profile, parabolic inlet

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
extracting outlet velocity profile from one case to another case's inlet tonggysun OpenFOAM 2 September 13, 2013 04:19
Pulsatile profile at inlet Josyula Fluent UDF and Scheme Programming 4 May 6, 2012 10:09
simpleFoam Blows up with Parabolic Inlet Pipe Flow swahono OpenFOAM 0 December 6, 2010 20:37
Inlet Profile with CFX-Pre Fadi Ishak CFX 1 June 10, 2008 07:12
create logarithmic wind profile for inlet Murat Main CFD Forum 0 December 30, 2003 01:45


All times are GMT -4. The time now is 10:05.