CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Community Contributions

[Other] Difficulties trying to install porousMultiphaseFoam on OpenFOAM for Windows 15.06

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 15, 2015, 09:36
Default Difficulties trying to install porousMultiphaseFoam on OpenFOAM for Windows 15.06
  #1
New Member
 
Jeroen Koeleman
Join Date: Feb 2014
Posts: 5
Rep Power: 8
JKoeleman is on a distinguished road
Hi,

Iíve tried to install the porousMultiphaseFoam toolbox (https://github.com/phorgue/porousMultiphaseFoam.git) on the OpenFoam for windows15.06, but I canít get it to work.

Below are the instructions provided with the toolbox:

* Installation instructions :

- First, source the OpenFOAM configuration file, i.e. (example for ubuntu version) :
source /opt/openfoam2xx/etc/bashrc

- then in the "porousMultiphaseFoam" directory, run :

./Allwmake

to install the package.

- Dynamic libraries, "libporousBoundaryConditions.so" and "libporousModels.so"
are compiled in the standard OpenFOAM user directory : $FOAM_USER_LIBBIN;

- The executable solver "impesFoam" is placed in the standard OpenFOAM user
directory $FOAM_USER_APPBIN.

- Each tutorial directory contains "run" and "clean" files to test installation
and validate the solver.

- To remove temporary files AND dynamic librairies AND executables, run :

./Allwclean

Below are the steps Iíve taken.

1.Copy the complete porousMultiphaseFoam folder to C:\OpenFOAM\cygwin64\opt\OpenFOAM\OpenFOAM-2.3.x\tutorials\
2.Start Openfoam for windows 15.06 by clicking on the icon
3.Type the following command: source /opt/OpenFOAM/OpenFOAM-2.3.x/etc/bashrc
4.Change directory to opt/OpenFOAM/OpenFOAM-2.3.x/tutorials/multiphase/porousMultiphaseFoam
5.Run command: ./Allwmake

This gives me the following error on the bottom of the command output:
capillarityModels/BrooksAndCorey/pcBrooksAndCorey.dep:414: recipe for target 'Make/cygwin64mingw-w64DPOpt/pcBrooksAndCorey.o' failed
make: *** [Make/cygwin64mingw-w64DPOpt/pcBrooksAndCorey.o] Error 1
+ wmake impesFoam
Making dependency files...
x86_64-w64-mingw32-g++ -m64 -Dcygwin64 -DWM_DP -DMSWIN -DLITTLE_ENDIAN -Wall -Wextra -Wno-unused-parameter -Wnon-virtual-dtor -O3 -DNDEBUG -DNoRepository -ftemplate-depth-100 -I/opt/OpenFOAM/OpenFOAM-2.3.x/src/finiteVolume/lnInclude -I/opt/OpenFOAM/OpenFOAM-2.3.x/src/meshTools/lnInclude -I../porousModels/lnInclude -IlnInclude -I. -I/opt/OpenFOAM/OpenFOAM-2.3.x/src/OpenFOAM/lnInclude -I/opt/OpenFOAM/OpenFOAM-2.3.x/src/OSspecific/MSWindows/lnInclude -Wl,--enable-auto-import,--enable-auto-image-base,--force-exe-suffix,--strip-all Make/cygwin64mingw-w64DPOpt/impesFoam.o -L/opt/OpenFOAM/OpenFOAM-2.3.x/platforms/cygwin64mingw-w64DPOpt/lib \
-lfiniteVolume -L/home/j.koeleman/OpenFOAM/j.koeleman-2.3.x/platforms/cygwin64mingw-w64DPOpt/lib -lporousBoundaryConditions -lporousModels -lOpenFOAM -lm -o /home/j.koeleman/OpenFOAM/j.koeleman-2.3.x/platforms/cygwin64mingw-w64DPOpt/bin/impesFoam.exe
/usr/lib/gcc/x86_64-w64-mingw32/4.8.3/../../../../x86_64-w64-mingw32/bin/ld: cannot find -lporousModels
collect2: error: ld returned 1 exit status
/opt/OpenFOAM/OpenFOAM-2.3.x/wmake/Makefile:155: recipe for target '/home/j.koeleman/OpenFOAM/j.koeleman-2.3.x/platforms/cygwin64mingw-w64DPOpt/bin/impesFoam.exe' failed
make: *** [/home/j.koeleman/OpenFOAM/j.koeleman-2.3.x/platforms/cygwin64mingw-w64DPOpt/bin/impesFoam.exe] Error 1
+ wmake anisoImpesFoam
Making dependency files...
x86_64-w64-mingw32-g++ -m64 -Dcygwin64 -DWM_DP -DMSWIN -DLITTLE_ENDIAN -Wall -Wextra -Wno-unused-parameter -Wnon-virtual-dtor -O3 -DNDEBUG -DNoRepository -ftemplate-depth-100 -I/opt/OpenFOAM/OpenFOAM-2.3.x/src/finiteVolume/lnInclude -I/opt/OpenFOAM/OpenFOAM-2.3.x/src/meshTools/lnInclude -I../porousModels/lnInclude -IlnInclude -I. -I/opt/OpenFOAM/OpenFOAM-2.3.x/src/OpenFOAM/lnInclude -I/opt/OpenFOAM/OpenFOAM-2.3.x/src/OSspecific/MSWindows/lnInclude -Wl,--enable-auto-import,--enable-auto-image-base,--force-exe-suffix,--strip-all Make/cygwin64mingw-w64DPOpt/anisoImpesFoam.o -L/opt/OpenFOAM/OpenFOAM-2.3.x/platforms/cygwin64mingw-w64DPOpt/lib \
-lfiniteVolume -L/home/j.koeleman/OpenFOAM/j.koeleman-2.3.x/platforms/cygwin64mingw-w64DPOpt/lib -lporousBoundaryConditions -lporousModels -lOpenFOAM -lm -o /home/j.koeleman/OpenFOAM/j.koeleman-2.3.x/platforms/cygwin64mingw-w64DPOpt/bin/anisoImpesFoam.exe
/usr/lib/gcc/x86_64-w64-mingw32/4.8.3/../../../../x86_64-w64-mingw32/bin/ld: cannot find -lporousModels
collect2: error: ld returned 1 exit status
/opt/OpenFOAM/OpenFOAM-2.3.x/wmake/Makefile:155: recipe for target '/home/j.koeleman/OpenFOAM/j.koeleman-2.3.x/platforms/cygwin64mingw-w64DPOpt/bin/anisoImpesFoam.exe' failed
make: *** [/home/j.koeleman/OpenFOAM/j.koeleman-2.3.x/platforms/cygwin64mingw-w64DPOpt/bin/anisoImpesFoam.exe] Error 1

After I've copied the tutorial folder to my $FOAM_RUN folder Iíve ran the ./run command. In the impes.log file I find the following line:
/opt/OpenFOAM/OpenFOAM-2.3.x/bin/tools/RunFunctions: line52 impesFoam: command not found.

Blockmesh and setfields does work.

Can Anyone help me to get this working?

Thank you!

With kind regards,
Jeroen

Last edited by JKoeleman; September 15, 2015 at 14:19.
JKoeleman is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Combustion modelling in OpenFOAM - Difficulties AleDR OpenFOAM Running, Solving & CFD 22 October 12, 2016 03:12
[OpenFOAM.com] Docker OpenFOAM install error on Mac OS X dersh OpenFOAM Installation 10 May 6, 2016 12:49
OpenFOAM v3.0.1 Training, London, Houston, Berlin, Jan-Mar 2016 cfd.direct OpenFOAM Announcements from Other Sources 0 January 5, 2016 03:18
OpenFOAM Training, London, Chicago, Munich, Sep-Oct 2015 cfd.direct OpenFOAM Announcements from Other Sources 2 August 31, 2015 13:36
Install openFOAM from with proxy server Dhruval OpenFOAM Installation 3 October 18, 2014 15:38


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