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

[openSmoke] libOpenSMOKE

Register Blogs Community New Posts Updated Threads Search

Like Tree133Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 12, 2012, 10:28
Default
  #61
Senior Member
 
Bobby
Join Date: Oct 2012
Location: Michigan
Posts: 454
Rep Power: 15
babakflame is on a distinguished road
Dear Wyldckat
Iam trying to install libopensmoke step by step as you have described in
https://github.com/wyldckat/libOpenSMOKE
Iam in the prerequistes, first I installed GSL
Then according to libopensmoke user guide and from the
Sub-libraries compilation and installation section first I copied gsl into my openfoam folder (/opt/openfoam210)
Now and second I should update my path to GSL library in src/libraries/qmom/Make/options and src/libraries/pdfThermo/Make/options using the correct path on my machine

would u plz help me that how can I do this ?
I don't know where is my path to gsl library and how can I change the options files notes?
babakflame is offline   Reply With Quote

Old   November 12, 2012, 10:33
Default
  #62
Super Moderator
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Tussenhausen
Posts: 2,708
Blog Entries: 6
Rep Power: 51
Tobi has a spectacular aura aboutTobi has a spectacular aura aboutTobi has a spectacular aura about
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
Quote:
Originally Posted by babakflame View Post
Dear Wyldckat
Iam trying to install libopensmoke step by step as you have described in
https://github.com/wyldckat/libOpenSMOKE
Iam in the prerequistes, first I installed GSL
Then according to libopensmoke user guide and from the
Sub-libraries compilation and installation section first I copied gsl into my openfoam folder (/opt/openfoam210)
Now and second I should update my path to GSL library in src/libraries/qmom/Make/options and src/libraries/pdfThermo/Make/options using the correct path on my machine

would u plz help me that how can I do this ?
I don't know where is my path to gsl library and how can I change the options files notes?

Hi,
do you just wanna use the flamelet solver or the soot solver too?

you can install your gsl in your own folder by using that one:
Code:
cd gsl_download_dir
./configure --prefix=$HOME/OpenFOAM/gsl
make
make install
If you just wanna use the flamelet solver, then you do not need the gsl lib.
But as I wrote befor ... the solver has a few bugs.

non-adiabatic systems are not working for combustion cambers (only for freestream flames) but there for you have to fix the bug.

There are 3 more important errors for describing the enthalpydefect due to the transportequation H.

So my guess to all!

Use only adiabatic mode!!! Otherwise you have to wait till I finish my thesis and publishing the new updated solver.

Have fun...
Tobi is offline   Reply With Quote

Old   November 13, 2012, 04:25
Default
  #63
Senior Member
 
Bobby
Join Date: Oct 2012
Location: Michigan
Posts: 454
Rep Power: 15
babakflame is on a distinguished road
Dear Tobi
I tried to install libopensmoke exactly as u have said in 31th april 2012 post
I have installed it in /opt/openfoam210 folder
after writing ./Allwmake I have got these messages :


+ wmake libso common
mkdir: cannot create directory `linuxGccDPOpt': Permission denied
/bin/sh: cannot create linuxGccDPOpt/options: Directory nonexistent
make: *** [linuxGccDPOpt/options] Error 2
/opt/openfoam210/wmake/MakefileFiles:40: linuxGccDPOpt/options: No such file or directory
make: *** No rule to make target `linuxGccDPOpt/options'. Stop.
wmake error: file 'Make/linuxGccDPOpt/objectFiles' could not be created in /opt/openfoam210/libOpenSMOKE/src/libraries/common
+ wmake libso flamelets
mkdir: cannot create directory `linuxGccDPOpt': Permission denied
/bin/sh: cannot create linuxGccDPOpt/options: Directory nonexistent
make: *** [linuxGccDPOpt/options] Error 2
/opt/openfoam210/wmake/MakefileFiles:40: linuxGccDPOpt/options: No such file or directory
make: *** No rule to make target `linuxGccDPOpt/options'. Stop.
wmake error: file 'Make/linuxGccDPOpt/objectFiles' could not be created in /opt/openfoam210/libOpenSMOKE/src/libraries/flamelets
+ wmake libso twoequations
mkdir: cannot create directory `linuxGccDPOpt': Permission denied
/bin/sh: cannot create linuxGccDPOpt/options: Directory nonexistent
make: *** [linuxGccDPOpt/options] Error 2
/opt/openfoam210/wmake/MakefileFiles:40: linuxGccDPOpt/options: No such file or directory
make: *** No rule to make target `linuxGccDPOpt/options'. Stop.
wmake error: file 'Make/linuxGccDPOpt/objectFiles' could not be created in /opt/openfoam210/libOpenSMOKE/src/libraries/twoequations
+ wmake libso qmom
mkdir: cannot create directory `linuxGccDPOpt': Permission denied
/bin/sh: cannot create linuxGccDPOpt/options: Directory nonexistent
make: *** [linuxGccDPOpt/options] Error 2
/opt/openfoam210/wmake/MakefileFiles:40: linuxGccDPOpt/options: No such file or directory
make: *** No rule to make target `linuxGccDPOpt/options'. Stop.
wmake error: file 'Make/linuxGccDPOpt/objectFiles' could not be created in /opt/openfoam210/libOpenSMOKE/src/libraries/qmom
+ wmake libso pdfThermo
mkdir: cannot create directory `linuxGccDPOpt': Permission denied
/bin/sh: cannot create linuxGccDPOpt/options: Directory nonexistent
make: *** [linuxGccDPOpt/options] Error 2
/opt/openfoam210/wmake/MakefileFiles:40: linuxGccDPOpt/options: No such file or directory
make: *** No rule to make target `linuxGccDPOpt/options'. Stop.
wmake error: file 'Make/linuxGccDPOpt/objectFiles' could not be created in /opt/openfoam210/libOpenSMOKE/src/libraries/pdfThermo
mkdir: cannot create directory `linuxGccDPOpt': Permission denied
/bin/sh: cannot create linuxGccDPOpt/options: Directory nonexistent
make[1]: *** [linuxGccDPOpt/options] Error 2
/opt/openfoam210/wmake/MakefileFiles:40: linuxGccDPOpt/options: No such file or directory
make[1]: *** No rule to make target `linuxGccDPOpt/options'. Stop.
wmake error: file 'Make/linuxGccDPOpt/objectFiles' could not be created in /opt/openfoam210/libOpenSMOKE/src/applications/rhoSimpleFoamFlamelets_1007
make: *** [rhoSimpleFoamFlamelets_1007] Error 1
mkdir: cannot create directory `linuxGccDPOpt': Permission denied
/bin/sh: cannot create linuxGccDPOpt/options: Directory nonexistent
make[1]: *** [linuxGccDPOpt/options] Error 2
/opt/openfoam210/wmake/MakefileFiles:40: linuxGccDPOpt/options: No such file or directory
make[1]: *** No rule to make target `linuxGccDPOpt/options'. Stop.
wmake error: file 'Make/linuxGccDPOpt/objectFiles' could not be created in /opt/openfoam210/libOpenSMOKE/src/applications/rhoSimpleFoamPostProcessorSoot2E_1007
make: *** [rhoSimpleFoamPostProcessorSoot2E_1007] Error 1
make: Target `application' not remade because of errors.

Could u PLZ tell me that have I installed it right or not? and whether what are my mistakes?
babakflame is offline   Reply With Quote

Old   November 13, 2012, 04:33
Default
  #64
Super Moderator
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Tussenhausen
Posts: 2,708
Blog Entries: 6
Rep Power: 51
Tobi has a spectacular aura aboutTobi has a spectacular aura aboutTobi has a spectacular aura about
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
Hi,

you installed OpenFOAM in your /opt/ folder.

Do you create your run folder:

Code:
mkdir $FOAM_RUN -p
First
- - - - - - - - - - - - - - - - - - - - - - - - -
Control your entries in your /libraries/.../Make/file file.
There the ibs should placed into your $WM_USER_PROJECT_DIR like that:

for common lib
Code:
Common = src

$(Common)/OpenSMOKE_ChiDistribution.cpp
$(Common)/OpenSMOKE_External_Functions.cpp

LIB = $(FOAM_USER_LIBBIN)/libOpenSMOKE_common
Your compilation is not working couse you are trying to compile into a folder where you have no permissions.

You can use
Code:
sudo ./Allwmake
but I prefer to build own libs into my project dir folder.


Check out where your libs be compiled (Make/file)
and change it into your $(FOAM_USER_LIBBIN)

Tobi
Tobi is offline   Reply With Quote

Old   November 13, 2012, 08:26
Default
  #65
Senior Member
 
Bobby
Join Date: Oct 2012
Location: Michigan
Posts: 454
Rep Power: 15
babakflame is on a distinguished road
Dear Tobi
Hi

I have created a FOAM_RUN folder in my home directory that contains openfoam tutorials.
your hints was a bit hard for me to understand. would you plz help me with a bit more details to what to do for solving my problems?
babakflame is offline   Reply With Quote

Old   November 13, 2012, 08:53
Default
  #66
Super Moderator
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Tussenhausen
Posts: 2,708
Blog Entries: 6
Rep Power: 51
Tobi has a spectacular aura aboutTobi has a spectacular aura aboutTobi has a spectacular aura about
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
Hi,

yes of course:


Step 1 - Downloading
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Download the libOpenSMOKE with git in your project dir and update to your OF-version
(described in the readme file made by bruno)
Code:
cd $FOAM_RUN
cd ..
git clone "libOpenSMOKE_URL"
git branch  <<< in the description

Step 2 - Cleaning (not necessary)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

If you just wanna use the flamelet solver and not the soot solver
you can remove the following:

-> libraries/qmom
-> libraries/twoEquations
-> applications/rhoSimpleFoamSoot <<< I dont know how that solver is called


Step 3 - Compile the libraries step by step
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Move into your libs:
Code:
cd libaries/common
wmake libso
cd ../flamelets/
wmake libso
cd ../pdfThermo
wmake libso
Normally the libs be placed in your project dir.
You can post your output for that. There should no ERROR

If there is an error couse of GSL you have to switch into the Make/option
file and remove the gsl entries cause you dont need it.

The reason why the are in the code is the following:

If you download the original from creck-modelling HP, the team would to apply the
soot calcuulation into the flameletsolver, so you do not need to make a second solver.

But they made zwo solvers but do not update the tool.


Step 4 - Compile the solver
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Switch into your solver
Code:
cd applications/rhoSimpleFoam_Flamelet <<< or something like that
wmake
Finished.
Here (I think) you have to remove the GSL - ln-Include paths in the Make/file file


Regard Tobi
babakflame likes this.
Tobi is offline   Reply With Quote

Old   November 13, 2012, 10:53
Default
  #67
Senior Member
 
Bobby
Join Date: Oct 2012
Location: Michigan
Posts: 454
Rep Power: 15
babakflame is on a distinguished road
Dear Tobi

Love u boy
I did exactly what u mentioned step by step and the result was as u prescribed.
Now I want to start from modeling the sandia HEO flame that has been described as an example in the user guide . Do u have any experience on modeling this flame with opensmoke?


Regards
Bobi
babakflame is offline   Reply With Quote

Old   November 13, 2012, 11:18
Default
  #68
Super Moderator
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Tussenhausen
Posts: 2,708
Blog Entries: 6
Rep Power: 51
Tobi has a spectacular aura aboutTobi has a spectacular aura aboutTobi has a spectacular aura about
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
Quote:
Originally Posted by babakflame View Post
Dear Tobi

Love u boy
I did exactly what u mentioned step by step and the result was as u prescribed.
Now I want to start from modeling the sandia HEO flame that has been described as an example in the user guide . Do u have any experience on modeling this flame with opensmoke?


Regards
Bobi

Hi,

yes I have many experience using libOpenSmoke. I did it the last half year.
I make a validation with the SANDIA_COH2N2 flame (updated on the Sandia page).

Adiabatic works good
Nonadiabatic do not work (as I mentioned a few posts befor)

I updated the tool so that you can use nonadiabatics too.
After that I make biomass combustion with good results (I only can compare the temperature in time and its a bit better than Ansys-CFX result)

Therefor I used a very complex burning chamber.
But if you wanna do a simulation like that you should use my updated version.

There are a few bugs in the modell using non-adiabatics.


For example:'

In albertos user guide there is described that you can make use of fixedTemperature walls.
Thats correct but therefor I had to update the pdfThermo libraries and the solver couse:

If you are using a closed geometry you are not allowed to use the radiation model (only for free flames)
Setting to nonadiabatic simulation overwrite your adiabatic enthalpie on the inlet with other enthalpie calculated
between Look-Up-Tables using the temperature

its a very nice tool but I spend many time to get through the whole code.
But for that I know every function of the libOpenSmoke tool

I have to finish my thesis the next 3 Weeks and after that, I ll update and clear everything and share my
libraries!



Regard
Tobi
Tobi is offline   Reply With Quote

Old   November 15, 2012, 06:04
Default
  #69
Senior Member
 
Bobby
Join Date: Oct 2012
Location: Michigan
Posts: 454
Rep Power: 15
babakflame is on a distinguished road
Deat Tobi
I have read in the user guide that this solver uses RANS for simulating turbulence. Can I apply LES to this solver? HAve u examined this?

Regards
Bobi
babakflame is offline   Reply With Quote

Old   November 15, 2012, 11:53
Default
  #70
Super Moderator
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Tussenhausen
Posts: 2,708
Blog Entries: 6
Rep Power: 51
Tobi has a spectacular aura aboutTobi has a spectacular aura aboutTobi has a spectacular aura about
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
Quote:
Originally Posted by babakflame View Post
Deat Tobi
I have read in the user guide that this solver uses RANS for simulating turbulence. Can I apply LES to this solver? HAve u examined this?

Regards
Bobi

Hi,
to use LES you have to apply other transport equations I think. I did only one LES simulation and can not say much about that but:

If you know how to implement a conserved scalar into LES then you are able to change the following equations for:

- conserved mixture fraction Z (csi in the flameletlib)
- "conserved" enthalpie H

but the calculation of the variance of the mixture fraction depends on a semi empirical equation (Peters et al. and others). Therefor I think you need new equations.

I have no experiance with LES so I am sorry.
Tobi is offline   Reply With Quote

Old   November 15, 2012, 14:45
Default
  #71
Senior Member
 
Bobby
Join Date: Oct 2012
Location: Michigan
Posts: 454
Rep Power: 15
babakflame is on a distinguished road
Dear Tobi
Its so confusing.

I did exactly what you had posted in april 13th 2012. and then November 13th 2012. There was no error report, However when I started simulating from libOpenSMOKE tutorials, I got this message:

OpenSMOKE_SteadyStateFlamelet.sh command not found.

Iam again trying to fix it.

My linux version is Ubuntu 11.04
Using openfoam 2.1.0 on the /opt/
I have installed gsl-1.9 both on $Home and /opt/ folder.
I have installed libOpenSMOKE in $Home folder.
Also I have made a FOAM_RUN folder in $HOME.
I did exactly as u have told both in the April 13th and November 13th posts.
I tried to use ./Allwmake for installing libOpenSMOKE and then I got this message.

“babak@babak-pc:~/libOpenSMOKE$ ./Allwmake
+ wmake libso common
'/home/babak/OpenFOAM/babak-2.1.0/platforms/linuxGccDPOpt/lib/libOpenSMOKE_common.so' is up to date.
+ wmake libso flamelets
'/home/babak/OpenFOAM/babak-2.1.0/platforms/linuxGccDPOpt/lib/libOpenSMOKE_flamelets.so' is up to date.
+ wmake libso twoequations
'/home/babak/OpenFOAM/babak-2.1.0/platforms/linuxGccDPOpt/lib/libOpenSMOKE_twoequations.so' is up to date.
+ wmake libso qmom
'/home/babak/OpenFOAM/babak-2.1.0/platforms/linuxGccDPOpt/lib/libOpenSMOKE_qmom.so' is up to date.
+ wmake libso pdfThermo
'/home/babak/OpenFOAM/babak-2.1.0/platforms/linuxGccDPOpt/lib/libOpenSMOKE_pdfThermo.so' is up to date.
make[1]: Entering directory `/home/babak/libOpenSMOKE/src/applications/rhoSimpleFoamFlamelets_1007'
make[1]: `/home/babak/OpenFOAM/babak-2.1.0/platforms/linuxGccDPOpt/bin/rhoSimpleFoamFlamelets_1007' is up to date.
make[1]: Leaving directory `/home/babak/libOpenSMOKE/src/applications/rhoSimpleFoamFlamelets_1007'
make[1]: Entering directory `/home/babak/libOpenSMOKE/src/applications/rhoSimpleFoamPostProcessorSoot2E_1007'
make[1]: `/home/babak/OpenFOAM/babak-2.1.0/platforms/linuxGccDPOpt/bin/rhoSimpleFoamPostProcessorSoot2E_1007' is up to date.
make[1]: Leaving directory `/home/babak/libOpenSMOKE/src/applications/rhoSimpleFoamPostProcessorSoot2E_1007'”

It seems that everything is uptodate, But its kiling me,For god;s sake why the hell I got this error?

babak@babak-pc:~/libOpenSMOKE/tutorials/LookUpTable_Assembling/Step01$ OpenSMOKE_SteadyStateFlamelet.sh
OpenSMOKE_SteadyStateFlamelet.sh: command not found

Wolud you plz help ms? Iam so .
babakflame is offline   Reply With Quote

Old   November 15, 2012, 14:50
Default
  #72
Super Moderator
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Tussenhausen
Posts: 2,708
Blog Entries: 6
Rep Power: 51
Tobi has a spectacular aura aboutTobi has a spectacular aura aboutTobi has a spectacular aura about
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
Quote:
Originally Posted by babakflame View Post
babak@babak-pc:~/libOpenSMOKE/tutorials/LookUpTable_Assembling/Step01$ OpenSMOKE_SteadyStateFlamelet.sh
OpenSMOKE_SteadyStateFlamelet.sh: command not found

Wolud you plz help ms? Iam so .

Hi,

that does not depend on your compilation couse the flamelet-generation is a pre-processing and is not connected to the libraries or with the solver.

For that you have to use the binaries in the tool.
If you run the ./Run.sh script, look inside and have a look to the directory where the script tries to start the executable OpenSMOKE_SteadystateFlamelet.sh


Have a look into the UserGuide from Alberto.

Tobi
Tobi is offline   Reply With Quote

Old   November 16, 2012, 07:29
Default
  #73
Senior Member
 
Bobby
Join Date: Oct 2012
Location: Michigan
Posts: 454
Rep Power: 15
babakflame is on a distinguished road
Dear Tobi
In the ../tutorials/LookUpTable_Assembling/step01 folder I typed the command ./Run.sh and I got this error:

babak@babak-pc:~/libOpenSMOKE/tutorials/LookUpTable_Assembling/Step01$ ./Run.sh
./Run.sh: line 1: ../../../utilities/exe/OpenSMOKE_SteadyStateFlamelet.sh: cannot execute binary file

But as u know I think that i have installed libOpenSMOKE successfully. Is it due to my ubuntu version (11.04)? cause a friend told me that If I move to 10.10 then ./Run.sh commands can work properly

Regards
Bobi

Last edited by babakflame; November 16, 2012 at 08:42.
babakflame is offline   Reply With Quote

Old   November 16, 2012, 08:51
Default
  #74
Super Moderator
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Tussenhausen
Posts: 2,708
Blog Entries: 6
Rep Power: 51
Tobi has a spectacular aura aboutTobi has a spectacular aura aboutTobi has a spectacular aura about
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
Quote:
Originally Posted by babakflame View Post
Dear Tobi
In the ../tutorials/LookUpTable_Assembling/step01 folder I typed the command ./Run.sh and I got this error:

babak@babak-pc:~/libOpenSMOKE/tutorials/LookUpTable_Assembling/Step01$ ./Run.sh
./Run.sh: line 1: ../../../utilities/exe/OpenSMOKE_SteadyStateFlamelet.sh: cannot execute binary file

But as u know I think that i have installed libOpenSMOKE successfully. Is it due to my ubuntu version (11.04)? cause a friend told me that If I move to 10.10 then ./Run.sh commands can work properly

Regards
Bobi
Hi,

no its not depending on your ubuntu or on any compilation.

OpenSMOKE_SteadyStateFlamelet.sh is a compiled binary program. You can execute it everywhere without compiling/installing etc.

Code:
../../../utilities/exe/OpenSMOKE_SteadyStateFlamelet.sh --kinetics "../../../utilities/kinetics/PreProcessed/PolimiH2CO_1006" --input "Data.inp" --schedule "Operations.inp"
ITS BASH. and you should know how to execute a file:

Code:
./fileToExecute
Maybe you have to change your Run.sh file or copy the binary in that file and execute it by your self! Examples given in the user-guide. try it

maybe that one ll work - try it
Code:
./../../../utilities/exe/OpenSMOKE_SteadyStateFlamelet.sh --kinetics "../../../utilities/kinetics/PreProcessed/PolimiH2CO_1006" --input "Data.inp" --schedule "Operations.inp"

Last edited by Tobi; November 16, 2012 at 16:22.
Tobi is offline   Reply With Quote

Old   November 16, 2012, 16:12
Default
  #75
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings to all!

I'm sorry for coming in so late into the conversation, but hopefully I'm not too late.
@Tobi: Very good work on giving support on this!

I've updated the README file at https://github.com/wyldckat/libOpenSMOKE , based on Babak's problems in getting things to work.

As for the binaries located in the folder "utilities/exe", I'm sorry to say that they will only work in Linux Distributions with an x86_64 architecture (also known as "amd64", i.e. 64bit x86 developed by AMD).
In other words, those particular binaries will not work on Babak's Ubuntu installation because it's i686 (or i386). To confirm which one your using, run:
Code:
uname -m
Therefore, it's not a version problem, it's an architecture limitation. And since the source code for those particular binaries is not publicly available, it's therefore not possible to rebuild from source for i686

Best regards,
Bruno
babakflame likes this.
__________________
wyldckat is offline   Reply With Quote

Old   November 17, 2012, 05:39
Default
  #76
Senior Member
 
Bobby
Join Date: Oct 2012
Location: Michigan
Posts: 454
Rep Power: 15
babakflame is on a distinguished road
Dear My friends (Tobi & Wyldckat)

Thanks for all ur kind helps.
I have downloaded the AMD64 type of ubuntu. I will install openfoam and libopensmoke and will tell u my results.
Regards
babak
babakflame is offline   Reply With Quote

Old   November 18, 2012, 06:24
Default
  #77
Senior Member
 
Bobby
Join Date: Oct 2012
Location: Michigan
Posts: 454
Rep Power: 15
babakflame is on a distinguished road
Dear My friends Tobi & Wyldckat
I changed my ubuntu type to amd64.
I did exactly as the same last installation process. However, In the end when I executed ./Allwmake directive I got the following error:


babak@babak-xd:~/OpenFOAM/libOpenSMOKE$ ./Allwmake
+ wmake libso common
'/home/babak/OpenFOAM/babak-2.1.0/platforms/linux64GccDPOpt/lib/libOpenSMOKE_common.so' is up to date.
+ wmake libso flamelets
'/home/babak/OpenFOAM/babak-2.1.0/platforms/linux64GccDPOpt/lib/libOpenSMOKE_flamelets.so' is up to date.
+ wmake libso twoequations
'/home/babak/OpenFOAM/babak-2.1.0/platforms/linux64GccDPOpt/lib/libOpenSMOKE_twoequations.so' is up to date.
+ wmake libso qmom
'/home/babak/OpenFOAM/babak-2.1.0/platforms/linux64GccDPOpt/lib/libOpenSMOKE_qmom.so' is up to date.
+ wmake libso pdfThermo
'/home/babak/OpenFOAM/babak-2.1.0/platforms/linux64GccDPOpt/lib/libOpenSMOKE_pdfThermo.so' is up to date.
make[1]: Entering directory `/home/babak/OpenFOAM/libOpenSMOKE/src/applications/rhoSimpleFoamFlamelets_1007'
SOURCE=rhoSimpleFoam_flamelets.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-100 -I/home/babak/OpenFOAM/libOpenSMOKE/src/libraries/common/lnInclude -I/home/babak/OpenFOAM/libOpenSMOKE/src/libraries/flamelets/lnInclude -I/home/babak/OpenFOAM/libOpenSMOKE/src/libraries/pdfThermo/lnInclude -I/opt/openfoam210/src/thermophysicalModels/basic/lnInclude -I/opt/openfoam210/src/turbulenceModels -I/opt/openfoam210/src/turbulenceModels/compressible/RAS/RASModel -I/opt/openfoam210/src/finiteVolume/cfdTools -I/opt/openfoam210/src/finiteVolume/lnInclude -Ibabak/OpenFOAM/gsl-1.15/include -IlnInclude -I. -I/opt/openfoam210/src/OpenFOAM/lnInclude -I/opt/openfoam210/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/rhoSimpleFoam_flamelets.o
rhoSimpleFoam_flamelets.C:61:39: fatal error: readSIMPLEControls.H: No such file or directory
compilation terminated.
make[1]: *** [Make/linux64GccDPOpt/rhoSimpleFoam_flamelets.o] Error 1
make[1]: Target `/home/babak/OpenFOAM/babak-2.1.0/platforms/linux64GccDPOpt/bin/rhoSimpleFoamFlamelets_1007' not remade because of errors.
make[1]: Leaving directory `/home/babak/OpenFOAM/libOpenSMOKE/src/applications/rhoSimpleFoamFlamelets_1007'
make: *** [rhoSimpleFoamFlamelets_1007] Error 2
make[1]: Entering directory `/home/babak/OpenFOAM/libOpenSMOKE/src/applications/rhoSimpleFoamPostProcessorSoot2E_1007'
SOURCE=rhoSimpleFoamPostProcessorSoot2E.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-100 -I/opt/openfoam210/src/thermophysicalModels/basic/lnInclude -I/opt/openfoam210/src/turbulenceModels -I/opt/openfoam210/src/turbulenceModels/compressible/RAS/RASModel -I/opt/openfoam210/src/finiteVolume/cfdTools -I/opt/openfoam210/src/finiteVolume/lnInclude -I/home/babak/OpenFOAM/libOpenSMOKE/src/libraries/common/lnInclude -I/home/babak/OpenFOAM/libOpenSMOKE/src/libraries/flamelets/lnInclude -I/home/babak/OpenFOAM/libOpenSMOKE/src/libraries/pdfThermo/lnInclude -I/home/babak/OpenFOAM/libOpenSMOKE/src/libraries/twoequations/lnInclude -Ibabak/OpenFOAM/gsl-1.15/include -IlnInclude -I. -I/opt/openfoam210/src/OpenFOAM/lnInclude -I/opt/openfoam210/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/rhoSimpleFoamPostProcessorSoot2E.o
rhoSimpleFoamPostProcessorSoot2E.C:60:39: fatal error: readSIMPLEControls.H: No such file or directory
compilation terminated.
make[1]: *** [Make/linux64GccDPOpt/rhoSimpleFoamPostProcessorSoot2E.o] Error 1
make[1]: Target `/home/babak/OpenFOAM/babak-2.1.0/platforms/linux64GccDPOpt/bin/rhoSimpleFoamPostProcessorSoot2E_1007' not remade because of errors.
make[1]: Leaving directory `/home/babak/OpenFOAM/libOpenSMOKE/src/applications/rhoSimpleFoamPostProcessorSoot2E_1007'
make: *** [rhoSimpleFoamPostProcessorSoot2E_1007] Error 2
make: Target `application' not remade because of errors.
babak@babak-xd:~/OpenFOAM/libOpenSMOKE$ cd src/applications/rhoSimpleFoamFlamelets_1007/
babak@babak-xd:~/OpenFOAM/libOpenSMOKE/src/applications/rhoSimpleFoamFlamelets_1007$ wmake
Making dependency list for source file rhoSimpleFoam_flamelets.C
could not open file readSIMPLEControls.H for source file rhoSimpleFoam_flamelets.C
SOURCE=rhoSimpleFoam_flamelets.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-100 -I/home/babak/OpenFOAM/libOpenSMOKE/src/libraries/common/lnInclude -I/home/babak/OpenFOAM/libOpenSMOKE/src/libraries/flamelets/lnInclude -I/home/babak/OpenFOAM/libOpenSMOKE/src/libraries/pdfThermo/lnInclude -I/opt/openfoam210/src/thermophysicalModels/basic/lnInclude -I/opt/openfoam210/src/turbulenceModels -I/opt/openfoam210/src/turbulenceModels/compressible/RAS/RASModel -I/opt/openfoam210/src/finiteVolume/cfdTools -I/opt/openfoam210/src/finiteVolume/lnInclude -I/include -IlnInclude -I. -I/opt/openfoam210/src/OpenFOAM/lnInclude -I/opt/openfoam210/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/rhoSimpleFoam_flamelets.o
rhoSimpleFoam_flamelets.C:61:39: fatal error: readSIMPLEControls.H: No such file or directory
compilation terminated.
make: *** [Make/linux64GccDPOpt/rhoSimpleFoam_flamelets.o] Error 1


It seems that the libraries are compiled correctly, But there is problem in compiling the solver.
Why this has happened to me?



************************************************** **
Luckily the problem solved.!!!!!
It was because I forgot to use the directive
git checkout v2.1.0 before running ./Allwmake

Regards
Babak

Last edited by babakflame; November 19, 2012 at 09:19.
babakflame is offline   Reply With Quote

Old   November 29, 2012, 19:48
Default updated flamelet libraries
  #78
Super Moderator
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Tussenhausen
Posts: 2,708
Blog Entries: 6
Rep Power: 51
Tobi has a spectacular aura aboutTobi has a spectacular aura aboutTobi has a spectacular aura about
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
Dear all,

today I share my modified libraries of the flamelet solver build by Alberto Cuoci.
Have a look at my homepage www.holzmann-cfd.de ... (at the moment I create everything new, so its temp. just in german) or for the direct download use that link:
Code:
git clone https://github.com/shor-ty/flameletModel.git
The differences | new:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  • a brief description of the flamelet solver is given
  • new solver with the SIMPLEC algorithm build (for a better stabilization)
  • option to switch on/off the radiation mode for non-adiabatic mode in closed geometrys
  • updated the pdfThermo to handle fixed wall temperatures better (thats not a bug but if a user specify the inlet temperature it ll give you a wrong result)
  • upgrading the enthalpy equation for enthalpydefects due to fixedwall temperatures
  • 2x SIMPLEC tutorials (CH4H2N2 - flame, fiction chamber + sHM)
  • 1x SIMPLE tutorial (CH4H2N2 - flame)
  • added script for building flamelet libs (Look-Up-Table) automatically
  • cleaned the flamelet libs and applications
  • added scripts for building all the stuff
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

I hope that someone can use that new tool.
Sorry for that brief description in the documentation but my thesis has about 160 pages and I am out of concentration to write the stuff into english.

I am looking forward to hear about you.

Have fun and if I have time I ll give you an validation of the CH4H2N2 flame.


Regards
Tobi


PS: if there are any problems please mail me.
tomf, wyldckat, MaximeIST and 3 others like this.
Tobi is offline   Reply With Quote

Old   November 30, 2012, 09:28
Default
  #79
New Member
 
Join Date: Feb 2010
Posts: 8
Rep Power: 16
MaximeIST is on a distinguished road
Hi Tobi

Thanks a lot for sharing your work, I think I will try your flamelet solver in a close future. I will let you know how it is going.

Best Regards,
Maxime
Tobi likes this.
MaximeIST is offline   Reply With Quote

Old   December 3, 2012, 04:56
Default
  #80
Senior Member
 
Bobby
Join Date: Oct 2012
Location: Michigan
Posts: 454
Rep Power: 15
babakflame is on a distinguished road
Dear Buddies
I tried to install Tobi's flamelet code in my linux 11.10 oneirot. I got this error.

babak@babak-xd:~/OpenFOAM/flameletModel/applications$ ./Allwmake
Making dependency list for source file turbulentFlameletRhoSimpleFoam.C
could not open file basicPdfThermo.H for source file turbulentFlameletRhoSimpleFoam.C
could not open file hPdfThermo.H for source file turbulentFlameletRhoSimpleFoam.C
SOURCE=turbulentFlameletRhoSimpleFoam.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-100 -I/home/babak/OpenFOAM/babak-2.1.0/flameletModels/libraries/common/lnInclude -I/home/babak/OpenFOAM/babak-2.1.0/flameletModels/libraries/flamelets/turbulent/lnInclude -I/home/babak/OpenFOAM/babak-2.1.0/flameletModels/libraries/pdfThermo/lnInclude -I/opt/openfoam210/src/thermophysicalModels/basic/lnInclude -I/opt/openfoam210/src/turbulenceModels -I/opt/openfoam210/src/turbulenceModels/compressible/RAS/RASModel -I/opt/openfoam210/src/finiteVolume/cfdTools -I/opt/openfoam210/src/finiteVolume/lnInclude -IlnInclude -I. -I/opt/openfoam210/src/OpenFOAM/lnInclude -I/opt/openfoam210/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/turbulentFlameletRhoSimpleFoam.o
turbulentFlameletRhoSimpleFoam.C:33:28: fatal error: basicPdfThermo.H: No such file or directory
compilation terminated.
make: *** [Make/linux64GccDPOpt/turbulentFlameletRhoSimpleFoam.o] Error 1
Making dependency list for source file turbulentFlameletRhoSimplecFoam.C
could not open file basicPdfThermo.H for source file turbulentFlameletRhoSimplecFoam.C
could not open file hPdfThermo.H for source file turbulentFlameletRhoSimplecFoam.C
SOURCE=turbulentFlameletRhoSimplecFoam.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-100 -I/home/babak/OpenFOAM/babak-2.1.0/flameletModels/libraries/common/lnInclude -I/home/babak/OpenFOAM/babak-2.1.0/flameletModels/libraries/flamelets/turbulent/lnInclude -I/home/babak/OpenFOAM/babak-2.1.0/flameletModels/libraries/pdfThermo/lnInclude -I/opt/openfoam210/src/thermophysicalModels/basic/lnInclude -I/opt/openfoam210/src/turbulenceModels -I/opt/openfoam210/src/turbulenceModels/compressible/RAS/RASModel -I/opt/openfoam210/src/finiteVolume/cfdTools -I/opt/openfoam210/src/finiteVolume/lnInclude -IlnInclude -I. -I/opt/openfoam210/src/OpenFOAM/lnInclude -I/opt/openfoam210/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/turbulentFlameletRhoSimplecFoam.o
turbulentFlameletRhoSimplecFoam.C:34:28: fatal error: basicPdfThermo.H: No such file or directory
compilation terminated.
make: *** [Make/linux64GccDPOpt/turbulentFlameletRhoSimplecFoam.o] Error 1

would somebody plz help me what is my mistake?
babakflame is offline   Reply With Quote

Reply


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
Numerical treatment of the source term in combustion equations Tobi Main CFD Forum 37 September 15, 2020 13:42
[openSmoke] flameletSmoke + new ODESolver (by Alberto Cuoci) Tobi OpenFOAM Community Contributions 1 November 21, 2017 18:24
Unsteady solver with Flamelet Model (libOpenSMOKE) francesco_capuano OpenFOAM Running, Solving & CFD 11 November 26, 2013 04:50
LibOpenSmoke, getting the species in ParaFoam Christoph_84 OpenFOAM 1 May 31, 2012 14:42


All times are GMT -4. The time now is 02:46.