|
[Sponsors] |
March 13, 2018, 10:07 |
BiomassGasificationFoam compiling issue
|
#1 |
New Member
Lorenzo Riva
Join Date: Aug 2016
Posts: 3
Rep Power: 10 |
Hi everybody,
I recently downloaded a model called BiomassGasificationFoam available at: http://syngasburner.eu/biomassGasificationFoam. I am having some problems when compiling of the side-library called BiomassGasificationMedia. This library has some sub-libraries and once it works fine until a sub-library called solid is run. Here the installation file: Code:
#!/bin/sh source biomassGasificationMediaDirectories # If folders already exist a warning message will be showed mkdir $WM_PROJECT_DIR mkdir $FOAM_HGS mkdir $WM_PROJECT_DIR/applications cp -r biomassGasificationFoam $WM_PROJECT_DIR/applications/ cp -r totalMassBiomassGasificationFoam $WM_PROJECT_DIR/applications/ cp -r biomassGasificationMedia/porousReactingMedia $FOAM_HGS/ cp -r biomassGasificationMedia/thermophysicalModels $FOAM_HGS/ cp -r biomassGasificationMedia/pyrolysisModels $FOAM_HGS/ cp install $FOAM_HGS/ cp bashrc $FOAM_HGS/ cd $FOAM_HGS/porousReactingMedia wmake libso cd $FOAM_HGS/thermophysicalModels ./Allwmake cd $FOAM_HGS/pyrolysisModels wmake libso cd $WM_PROJECT_DIR/applications/biomassGasificationFoam wmake cd $WM_PROJECT_DIR/applications/totalMassBiomassGasificationFoam wmake Code:
#!/bin/sh cd ${0%/*} || exit 1 # run from this directory makeType=${1:-libso} set -x wmake $makeType solid wmake $makeType chemistryModel # Should be combined with solids&solidMixture wmake $makeType basicSolidThermo wmake $makeType solidChemistryModel wmake $makeType radiationModels Code:
wmake libso Code:
make: *** No rule to make target `reaction/Reactions/solidHeterogeneousReaction/solidHeterogeneousReaction.dep', needed by `Make/linux64GccDPOpt/dependencies'. Stop. Code:
In case of errors: 1. Make sure the OpenFOAM 2.1.1 is correctly installed, by testing one of the tutorial cases provided with OpenFOAM 2. Open new terminal and again set the nessesary paths: source /opt/openfoam211/etc/bashrc source biomassGasificationFoamMediaDirectiories 3. Check the setting: run: icoFoam -help (output should be 'usage info') echo $WM_PROJECT_USER_DIR (typically /home/user_name/OpenFOAM/user_name-2.1.1 echo $FOAM_HGS (typically /home/user_name/OpenFOAM/user_name-2.1.1/biomassGasificationMedia) echo $LIB_SRC (should be /opt/openfoam211/src) If missing set these variables manually. 4. Make sure all required packages have been installed by typing: sudo apt-get install build-essential flex bison cmake zlib1g-dev qt4-dev-tools libqt4-dev gnuplot libreadline-dev libncurses-dev libxt-dev 5. Test the ld version: ld -v The 'GNU ld' is required. If the 'GNU gold' is installed remove it typing: sudo apt-get remove --purge binutils-gold 6. Run install script: ./install > log_install & 7. Other possibility: clean up the library settings: unset LD_LIBRARY_PATH and repeat steps 1-3 and 6. Thanks in advanced. Best regards, Lorenzo |
|
September 16, 2018, 14:20 |
|
#2 |
Senior Member
|
Hello Lorenzo,
I have come across same errors when I installed biomassGasificationFoam from the following link you mentioned ~ compressed file size of 1.3MB. http://syngasburner.eu/biomassGasificationFoam. However, in the link below, the author Kamil Kwiatkowski uploaded the same biomassGasificationFoam module with the file size of 47.13MB ~ fortunately it works well in of211. https://www.researchgate.net/publica...tallPack_10tar Hope it helps. Thank you |
|
Tags |
biomass, gasification, pyrolysis |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Issue compiling solver for OF 2.4 | klausb | OpenFOAM Programming & Development | 8 | August 1, 2018 20:15 |
foam-extend-3.2: issue compiling new libraries on Windows | guest1044 | OpenFOAM Programming & Development | 3 | April 18, 2016 13:36 |
Convergence issue in natural convection problem | chrisf90 | FLUENT | 5 | March 5, 2016 09:30 |
[OpenFOAM.org] Trouble Compiling OpenFOAM-dev using Intel Compiler 15 for use on Xeon Phi | foamer123 | OpenFOAM Installation | 9 | August 20, 2015 15:03 |
Meshing related issue in Flow EFD | appu | FloEFD, FloWorks & FloTHERM | 1 | May 22, 2011 09:27 |