CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

BiomassGasificationFoam compiling issue

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By Kummi

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 13, 2018, 10:07
Default BiomassGasificationFoam compiling issue
  #1
New Member
 
Lorenzo Riva
Join Date: Aug 2016
Posts: 3
Rep Power: 10
bob_marley is on a distinguished road
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
That doesn't have any problem until thermophysicalModels. And here the Allwmake file for that:
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
When I try to compile solid by:
Code:
 wmake libso
The following error appears:

Code:
make: *** No rule to make target `reaction/Reactions/solidHeterogeneousReaction/solidHeterogeneousReaction.dep', needed by `Make/linux64GccDPOpt/dependencies'.  Stop.
Readme file has some warnings, that however i respect:
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.
May anyone help me?
Thanks in advanced.

Best regards,
Lorenzo
bob_marley is offline   Reply With Quote

Old   September 16, 2018, 14:20
Default
  #2
Senior Member
 
Kumaresh
Join Date: Oct 2016
Posts: 355
Rep Power: 12
Kummi is on a distinguished road
Send a message via Yahoo to Kummi
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
112233 likes this.
Kummi is offline   Reply With Quote

Reply

Tags
biomass, gasification, pyrolysis


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
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


All times are GMT -4. The time now is 17:22.