|
[Sponsors] |
May 1, 2020, 11:37 |
|
#541 |
Super Moderator
Tobias Holzmann
Join Date: Oct 2010
Location: Bad Wörishofen
Posts: 2,711
Blog Entries: 6
Rep Power: 52 |
Dear all,
I just want to inform you that I moved the repository to github and rebuild the code for OpenFOAM 7.x. https://github.com/shor-ty/CRECKFlameletModel Tobi
__________________
Keep foaming, Tobias Holzmann |
|
May 14, 2020, 13:39 |
|
#542 |
New Member
Join Date: Nov 2019
Posts: 3
Rep Power: 7 |
Hello Tobi,
Make/files are missing for all folders that are to be compiled. I reused the ones from your OpenFOAM 4.x version with some minor modifications and it seems to be working fine! Thank you very much for still working on this. It is much appreciated. Greetings, azu037 Edit: You mention the ability to use the PIMPLE-algorithm for transient calculations in your description but I couldn't get it to work.The solver complains about missing the SIMPLE settings in fvSolution ... |
|
May 14, 2020, 13:42 |
|
#543 |
Super Moderator
Tobias Holzmann
Join Date: Oct 2010
Location: Bad Wörishofen
Posts: 2,711
Blog Entries: 6
Rep Power: 52 |
Ah I see, I will change it. If you do have it for any version please make a pull request.
Thanks. PS: I am not working on the code anymore, I just keep it up-to-date for compatibility reasons.
__________________
Keep foaming, Tobias Holzmann |
|
May 15, 2020, 07:18 |
|
#544 |
New Member
Join Date: Nov 2019
Posts: 3
Rep Power: 7 |
It's really more than you can ask for, keeping it up to date!
I have a general question to all the people in the thread. I tried to get the transient solver to work with the SANDIA flame but I always encounter a sigFPE error. I tried different settings for the solvers, checked the BCs and schemes but to no avail. Sadly there is no transient tutorial case for the 2.3.x version to get a working example from but I tried settings from Hagen Müller's and Alberto Cuoci's transient tutorial case. I'd be very grateful for some input or - even better - a working case to learn from. Edit: I don't have a GitHub-Account but the changes from the 4.x version are minuscule. You just have to remove the folders src or flamelet in the paths of the files referenced in the Make/files |
|
May 15, 2020, 09:14 |
|
#545 |
Super Moderator
Tobias Holzmann
Join Date: Oct 2010
Location: Bad Wörishofen
Posts: 2,711
Blog Entries: 6
Rep Power: 52 |
Hi, the setup should be the same. The only thing that will change is the solver. I once had the transient solver added to the repository. Hmm ... maybe I should do it again.
I just saw that Hagen Müller made another derivation for the transient solver. The implementation to FOAM was also a bit different. He had hard coded something to the turbulence models which I did not like as it will destroy the original. However, if I remember correctly, he took some compressibility into account. So the solver derivation regarding the pressure equation was a bit different. Tobi
__________________
Keep foaming, Tobias Holzmann |
|
May 19, 2020, 06:11 |
|
#546 |
New Member
qian yao
Join Date: May 2020
Posts: 6
Rep Power: 6 |
hi tobi
i try to compile following the instructions posted on github(https://github.com/shor-ty/CRECKFlam...e/OpenFOAM-4.x). but i get some errors " no matching function for call to..." what's wrong i also get some "unused variable" warnings flameletSimpleFoam.C:62:31: error: no matching function for call to ‘Foam::simpleControl::loop(Foam::Time&)’ while (simple.loop(runTime)) ^ In file included from flameletSimpleFoam.C:36:0: /opt/openfoam4/src/finiteVolume/lnInclude/simpleControl.H:106:26: note: candidate: virtual bool Foam::simpleControl::loop() virtual bool loop(); ^ /opt/openfoam4/src/finiteVolume/lnInclude/simpleControl.H:106:26: note: candidate expects 0 arguments, 1 provided In file included from flameletSimpleFoam.C:68:0: ZEqn.H:10:15: error: no matching function for call to ‘Foam::fvMatrix<double>::solve(const char [2])’ ZEqn.solve("Z"); ^ In file included from /opt/openfoam4/src/finiteVolume/lnInclude/fvMatrix.C:2396:0, from /opt/openfoam4/src/finiteVolume/lnInclude/fvMatrix.H:1058, from /opt/openfoam4/src/finiteVolume/lnInclude/ddtScheme.C:29, from /opt/openfoam4/src/finiteVolume/lnInclude/ddtScheme.H:337, from /opt/openfoam4/src/finiteVolume/lnInclude/fvcDdt.C:28, from /opt/openfoam4/src/finiteVolume/lnInclude/fvcDdt.H:199, from /opt/openfoam4/src/finiteVolume/lnInclude/fvc.H:44, from /opt/openfoam4/src/finiteVolume/lnInclude/fvCFD.H:8, from flameletSimpleFoam.C:33: /opt/openfoam4/src/finiteVolume/lnInclude/fvMatrixSolve.C:56:31: note: candidate: Foam::SolverPerformance<Type> Foam::fvMatrix<Type>::solve(const Foam::dictionary&) [with Type = double] Foam::SolverPerformance<Type> Foam::fvMatrix<Type>::solve ^ /opt/openfoam4/src/finiteVolume/lnInclude/fvMatrixSolve.C:56:31: note: no known conversion for argument 1 from ‘const char [2]’ to ‘const Foam::dictionary&’ /opt/openfoam4/src/finiteVolume/lnInclude/fvMatrixSolve.C:313:31: note: candidate: Foam::SolverPerformance<Type> Foam::fvMatrix<Type>::solve() [with Type = double] Foam::SolverPerformance<Type> Foam::fvMatrix<Type>::solve() ^ /opt/openfoam4/src/finiteVolume/lnInclude/fvMatrixSolve.C:313:31: note: candidate expects 0 arguments, 1 provided In file included from flameletSimpleFoam.C:68:0: ZEqn.H:27:25: error: no matching function for call to ‘Foam::fvMatrix<double>::solve(const char [5])’ ZvarEqn.solve("Zvar"); |
|
May 19, 2020, 09:12 |
|
#547 |
Super Moderator
Tobias Holzmann
Join Date: Oct 2010
Location: Bad Wörishofen
Posts: 2,711
Blog Entries: 6
Rep Power: 52 |
Hi,
what I can tell you is the following:
Code:
flameletSimpleFoam.C:62:31: error: no matching function for call to ‘Foam::simpleControl::loop(Foam::Time&)’ while (simple.loop(runTime)) ^ Code:
git branch Code:
git checkout OpenFOAM-4.x
__________________
Keep foaming, Tobias Holzmann |
|
May 19, 2020, 22:57 |
|
#548 |
New Member
qian yao
Join Date: May 2020
Posts: 6
Rep Power: 6 |
hi tobi
thanks for your help. ps: the git link in compile instruction for OpenFOAM 4.x is out of date |
|
May 26, 2020, 05:02 |
|
#549 |
New Member
qian yao
Join Date: May 2020
Posts: 6
Rep Power: 6 |
hi tobi,
i downloaded kinetics from http://creckmodeling.chem.polimi.it/...1-c1-c3-ht-nox and i try to interpret it into idealgas.bin and reactions.bin, using command: ./OpenSMOKE_CHEMKINInterpreter.sh --kinetics "kinetic(2003)/CRECK_2003_C1_C3_HT_NOX.cki" --thermo "kinetic(2003)/CRECK_2003_C1_C3_HT_NOX.ckt" --transport "kinetic(2003)/CRECK_2003_C1_C3_HT_NOX.trc" --output "OutputFolder" but i got this message: ** Reading thermodynamic database... Class: OpenSMOKE_CHEMKINInterpreter_ThermoData Object: Error: Expected: THERMO - Found: Press a key to continue... what does it mean? regards, mike |
|
May 26, 2020, 22:24 |
|
#551 |
New Member
qian yao
Join Date: May 2020
Posts: 6
Rep Power: 6 |
hi tobi,
i don't understand where this - exists. i did not find it in .ckt thermo file. and OpenSMOKE_CHEMKINInterpreter.sh is not written in human language. is there any other file need to look in? regards, mike |
|
May 27, 2020, 04:58 |
|
#552 |
Super Moderator
Tobias Holzmann
Join Date: Oct 2010
Location: Bad Wörishofen
Posts: 2,711
Blog Entries: 6
Rep Power: 52 |
The version you are using cannot handle "comments or whitespaces" and is restricted to the original format:
Code:
! This thermodynamic database was obtained by fitting the thermodynamic properties ! extracted from the following file: TOT2003.THERM ! The thermodynamic properties are fitted in order to preserve not only the ! continuity of each function at the intermediate temperature, but also the continuity ! of the derivatives, from the 1st to the 3rd order ! The intermediate temperatures are chosen in order to minimize the fitting error. ! Last update: 3/24/2020 THERMO ALL 270. 1000. 3500. AR AR 1 G 200.00 3500.00 820.00 1 2.50013931e+00-3.98290200e-07 3.45886082e-10-1.18293971e-13 1.38553174e-17 2 -7.45407891e+02 4.37897362e+00 2.49974489e+00 1.52569132e-06-3.17359231e-09 3 2.74307057e-12-8.58511922e-16-7.45343207e+02 4.38079817e+00 4 N2 N 2 G 200.00 3500.00 1050.00 1 Has to be changed to: Code:
THERMO ALL 270. 1000. 3500. AR AR 1 G 200.00 3500.00 820.00 1 2.50013931e+00-3.98290200e-07 3.45886082e-10-1.18293971 The first word in the file has to be THERMO without whitespaces or any other empty lines.
__________________
Keep foaming, Tobias Holzmann |
|
May 27, 2020, 10:04 |
|
#553 |
New Member
qian yao
Join Date: May 2020
Posts: 6
Rep Power: 6 |
hi tobi,
does it mean that i can't use OpenSMOKE_CHEMKINInterpreter.sh to process .cki or .ckt or .trc file? i got this message: ** Reading thermodynamic database... terminate called after throwing an instance of 'std:ut_of_range' what(): basic_string::substr Aborted (core dumped) regards, mike |
|
May 27, 2020, 10:25 |
|
#554 |
Super Moderator
Tobias Holzmann
Join Date: Oct 2010
Location: Bad Wörishofen
Posts: 2,711
Blog Entries: 6
Rep Power: 52 |
As you might already realized, the interpreter as well as the kinetic applications are binaries and therefore, we cannot analyze the code. If you do have problems regarding the application you should ask the people from CRECK Modeling group. Personal, I never had the feeling they want to support people. My messages was only replied two/three times, so no chance. I signed for the openSMOKE application in order to see what they did new but I never got access. Thus, good luck.
Tobi
__________________
Keep foaming, Tobias Holzmann |
|
July 12, 2021, 11:22 |
|
#555 |
New Member
Join Date: Mar 2021
Posts: 7
Rep Power: 5 |
Hello, wenxu
How can I use the LT utility to output a flamelet file with suffix .kg? Many thanks! |
|
February 5, 2022, 07:59 |
|
#556 |
New Member
BISSAI NKAA
Join Date: Feb 2022
Posts: 16
Rep Power: 4 |
hello to all of you
I managed to implement flameletSimpleFoam in OpenFOAM-4.0 and I have a problem; I can't run the default tutorial. The default mesh is not there. Please I need the procedure to make this tutorial. |
|
February 5, 2022, 16:53 |
|
#557 |
Super Moderator
Tobias Holzmann
Join Date: Oct 2010
Location: Bad Wörishofen
Posts: 2,711
Blog Entries: 6
Rep Power: 52 |
Don't know why you built it for OpenFOAM-4 as I already have it here:
https://github.com/shor-ty/CRECKFlameletModel Check it out. Things should work here with v4
__________________
Keep foaming, Tobias Holzmann |
|
February 7, 2022, 05:37 |
|
#558 |
New Member
BISSAI NKAA
Join Date: Feb 2022
Posts: 16
Rep Power: 4 |
Hello Mr TOBI
I don't understand what you are saying. Please be more explicit! Cordially ! |
|
February 7, 2022, 08:29 |
|
#559 |
Super Moderator
Tobias Holzmann
Join Date: Oct 2010
Location: Bad Wörishofen
Posts: 2,711
Blog Entries: 6
Rep Power: 52 |
I said, that I don't understand why you implemented the flameletSImpleFoam into OpenFOAM-4. We have already everything in my repository. You simply can use it.
__________________
Keep foaming, Tobias Holzmann |
|
February 8, 2022, 12:59 |
|
#560 |
New Member
BISSAI NKAA
Join Date: Feb 2022
Posts: 16
Rep Power: 4 |
Hi Mr TOBI.
Indeed I used your repository and I followed the compilation procedure which worked well. The flameletSimpleFoam solver is present. But I can't launch the tutorial. That's why I'm having problems. I am a novice. Please I need your help. |
|
|
|
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 14:42 |
[openSmoke] flameletSmoke + new ODESolver (by Alberto Cuoci) | Tobi | OpenFOAM Community Contributions | 1 | November 21, 2017 19:24 |
Unsteady solver with Flamelet Model (libOpenSMOKE) | francesco_capuano | OpenFOAM Running, Solving & CFD | 11 | November 26, 2013 05:50 |
LibOpenSmoke, getting the species in ParaFoam | Christoph_84 | OpenFOAM | 1 | May 31, 2012 15:42 |