|
[Sponsors] |
July 3, 2014, 07:43 |
Looking for icoFoam source code in OpenFOAM
|
#1 |
New Member
Join Date: Jan 2014
Posts: 5
Rep Power: 12 |
Hi All,
I am new to Open FOAM. I want to couple energy equation with the in-compressible solvers. I am not able to locate where are source codes situated for icoFoam ? Kindly Help. |
|
July 3, 2014, 08:06 |
|
#2 |
Senior Member
|
A very detailed explanation is available on Wiki. I think you should refer to that, it clearly explains how the thermal energy equation can be coupled in icoFoam.
http://openfoamwiki.net/index.php/Ho...ure_to_icoFoam Follow the instructions carefully. Cheers |
|
July 5, 2014, 02:49 |
ource code in OpenFOAM
|
#3 |
New Member
Join Date: Jan 2014
Posts: 5
Rep Power: 12 |
Thank u for your kind reply, but the issue still persists when I enter the following command line.
wmake It shows this message: Making dependency list for source file my_icoFoam.c SOURCE=my_icoFoam.c ; gcc -m64 -Dlinux64 -DWM_DP -Wall -O3 -I/opt/openfoam230/src/finiteVolume/lnInclude -I/opt/openfoam230/src/sampling/lnInclude -IlnInclude -I. -I/opt/openfoam230/src/OpenFOAM/lnInclude -I/opt/openfoam230/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/my_icoFoam.o In file included from /opt/openfoam230/src/OpenFOAM/lnInclude/labelList.H:47:0, from /opt/openfoam230/src/OpenFOAM/lnInclude/UPstream.H:42, from /opt/openfoam230/src/OpenFOAM/lnInclude/Pstream.H:42, from /opt/openfoam230/src/OpenFOAM/lnInclude/parRun.H:35, from /opt/openfoam230/src/finiteVolume/lnInclude/fvCFD.H:4, from my_icoFoam.c:32: /opt/openfoam230/src/OpenFOAM/lnInclude/label.H:38:19: fatal error: climits: No such file or directory compilation terminated. make: *** [Make/linux64GccDPOpt/my_icoFoam.o] Error 1[/B] Kindly help.. Last edited by bchakra; July 5, 2014 at 05:53. |
|
July 6, 2014, 02:33 |
|
#4 |
Senior Member
|
Why don't you download the files available on wiki and check your case.
Check these on the same page of wiki: Your case should run and display the usual information in the window. The solution for time-step 0.5 should look like this: Media:CaseFile.tar.gz --Media:My_icoFoam_cavity_OF-1.7.0.tar.gz case according OpenFoam-1.7.0 Media:SolverSource.tar.gz --Mike Jaworski 06:49, 25 February 2008 (CET) That will solve your problem. Please excuse for the same, I have other important assignments. - Best Luck! |
|
July 6, 2014, 06:02 |
|
#5 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128 |
Greetings to all!
@bchakra: You need to install in your system the necessary packages for compiling software. That is why you got the error indicating that "climits" is missing. If you are using Ubuntu, run: Code:
sudo apt-get install build-essential flex bison zlib1g-dev Best regards, Bruno
__________________
|
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
GPU Linear Solvers for OpenFOAM | gocarts | OpenFOAM Announcements from Other Sources | 37 | August 17, 2022 14:22 |
Help for the small implementation in turbulence model | shipman | OpenFOAM Programming & Development | 25 | March 19, 2014 10:08 |
[swak4Foam] swak4Foam-groovyBC build problem | zxj160 | OpenFOAM Community Contributions | 18 | July 30, 2013 13:14 |
"parabolicVelocity" in OpenFoam 2.1.0 ? | sawyer86 | OpenFOAM Running, Solving & CFD | 21 | February 7, 2012 11:44 |
New OpenFOAM Forum Structure | jola | OpenFOAM | 2 | October 19, 2011 06:55 |