|
[Sponsors] |
|
August 22, 2013, 02:36 |
|
#1 | |
Member
Join Date: May 2013
Location: Netherlands
Posts: 30
Rep Power: 12 |
Quote:
Hi Bobi, Thank you for your reply, please correct me if I'm wrong, since I'm not very experienced with OpenFOAM so far. I am already using rhoSimplecFoam for cold flow modelling, however what I would like to do is calculate the mixture fractions of different species in the domain. So for example the mixing of methane jets in an air flow. As far as I know rhoSimplecFoam can only cope with one species (if anyone can tell me how to implement several species in rhoSimplecFoam, I am very satisfied). I already looked into other solvers, e.g. reactingFoam and there you have the possibility to switch off chemical reactions (however this solver is transient, resulting in extreme calculation times). Is there any possibility to switch off the chemical reactions (or modify the library) for the libOpenSmoke? |
||
August 22, 2013, 05:29 |
|
#2 |
Senior Member
Bobby
Join Date: Oct 2012
Location: Michigan
Posts: 454
Rep Power: 15 |
Hi TBO
HTML Code:
if anyone can tell me how to implement several species in rhoSimplecFoam, I am very satisfied). HTML Code:
Is there any possibility to switch off the chemical reactions (or modify the library) for the libOpenSmoke? I hope you find this helpful Bobi |
|
August 22, 2013, 05:46 |
|
#3 |
Member
Join Date: May 2013
Location: Netherlands
Posts: 30
Rep Power: 12 |
Hi Bobi,
Thank you for your answer. Indeed I mean various inlet constituents without having combustion. I already looked into fireFoam (as well as reactingFoam) before, however the main problem with these solvers is that they are transient and I would like to model steady state (since this saves a lot of computational time). I already looked into several other options (alternateSteadyReactingFoam, edcSimpleFoam). However results for these solvers are not satisfying jet and documentation/CFD online discussions are very limited. Regards, |
|
August 22, 2013, 11:15 |
|
#4 |
Senior Member
Bobby
Join Date: Oct 2012
Location: Michigan
Posts: 454
Rep Power: 15 |
Hi TBO
HTML Code:
I already looked into fireFoam (as well as reactingFoam) HTML Code:
I would like to model steady state HTML Code:
documentation/CFD online discussions are very limited Bobi |
|
September 16, 2013, 05:41 |
|
#5 |
New Member
parsa
Join Date: Sep 2013
Posts: 3
Rep Power: 12 |
Dear All,
I'm doing also the same job with OpenFoam, but until now, i didn't get the semialer result as I got in Transient mode. I made several steady-State Solvers, but seems that No Combustion happens! I'm using the 'psi Combustion Model' which is used in reactingFoam Solver as well. If any of you could run the Transient Solver in Steady-State mode ( with delta T=1 for example , and not with deltaT= 10^-6) or already created a new steady-state solver , I would be so grateful if help me this way, looking forward to your replies, Sincerely, Parsa |
|
September 16, 2013, 12:03 |
|
#6 |
Super Moderator
Tobias Holzmann
Join Date: Oct 2010
Location: Tussenhausen
Posts: 2,708
Blog Entries: 6
Rep Power: 51 |
Dear all,
this thread is for libOpenSMOKE and not for other combustion solver. To have a clear thread, please make new threads with your problems Thanks Tobi |
|
September 16, 2013, 14:28 |
|
#7 |
Senior Member
Bobby
Join Date: Oct 2012
Location: Michigan
Posts: 454
Rep Power: 15 |
Hi Tobi
I have an issue with k parameter in simulating bluff-body flames. what should I take for this value? For instance; In your Sandia_CO/H/N2 you have mentioned as: Code:
outlet { type zeroGradient; } axis { type empty; } sidewall { type compressible::kqRWallFunction; value uniform 1; } burnerwall { type compressible::kqRWallFunction; value uniform 1; } Code:
bluffbody { type compressible::kqRWallFunction; value uniform 17.34; } back { type wedge; } outlet { type inletOutlet; inletValue uniform 1; value uniform 1; } My specific issue is its value for the bluff-body boundary as a kind of wall. It is the initial value, So is it important choosing the exact right value. I suggest maybe just estimating a value and starting my simulation. Am I right Buddy? Regards Bobi Last edited by babakflame; September 17, 2013 at 04:22. |
|
September 17, 2013, 06:16 |
|
#8 | |
Super Moderator
Tobias Holzmann
Join Date: Oct 2010
Location: Tussenhausen
Posts: 2,708
Blog Entries: 6
Rep Power: 51 |
Quote:
you are right. The values you choose are just initial values. After the first iteration the value change. But if you choose your value very good your simulation get to a steady state solution faster. Additionally the first timesteps could be hard for openfoam to calculate due to bounding things and stuff like that. So its good to have a accurate value. In my tutorial case its just a standard value if I do not know a correct one I always begin with 0.01 to 1 ... due to the velocity and geometry. The inlet value can be calculated (not exact but good for initialising). For the wall I could use 10 or 100 too So just start with 0.1 or 1 and check the first 10 or 50 timesteps / iterations ... if you have no problems with the wall value then everything is okay. I read in an other thread that People set the k and Epsilon values to 1e5 or sth. like that Well in my opinion you should set a correct dimension. So if you know that the inlet has k=0.0032 then I choose the same Dimension for the walls like 0.001 ... but not 10 Hope this answer will help you for your Problem. Tobi |
||
September 18, 2013, 14:11 |
|
#9 |
Member
sonu
Join Date: Jul 2013
Location: delhi
Posts: 92
Rep Power: 12 |
greetings oll ,
i have a small doubt that in 0 folder the value of each species (like CH4) in boundary fields is in mole fraction . rite ?? not the mass fraction correct me if i am wrong Thank you , Regards sonu |
|
September 18, 2013, 15:24 |
|
#10 | |
Super Moderator
Tobias Holzmann
Join Date: Oct 2010
Location: Tussenhausen
Posts: 2,708
Blog Entries: 6
Rep Power: 51 |
Quote:
You have no species in the folder 0! Otherwise you have the MASS FRACTION! Code:
// 13 - species mass fractions Regards Tobi |
||
September 19, 2013, 02:44 |
|
#11 |
Member
Join Date: May 2013
Location: Netherlands
Posts: 30
Rep Power: 12 |
I was to quick with answering, I didn't see the reply of Tobi untill I posted my reply
|
|
October 4, 2013, 15:25 |
|
#13 |
New Member
payal
Join Date: Aug 2013
Location: banglore
Posts: 14
Rep Power: 12 |
Greetings Tobi,
actually after doing the given tutorial , i started to solve my case but to have some fair amount of idea i tried to use the PDF-library of the tutorial and rest of the files according to my own problem . case running well , but i don't have any idea up-to how much time i should run it ? i tried to check the initial and final residual but there is still difference after T=15000 . so can you plz guide me through this . Thank You : Regards , Payal |
|
October 5, 2013, 14:07 |
|
#14 |
Senior Member
Bobby
Join Date: Oct 2012
Location: Michigan
Posts: 454
Rep Power: 15 |
Hi Payal
Code:
but i don't have any idea up-to how much time i should run it ? i tried to check the initial and final residual but there is still difference after T=15000 . @ Tobi Hi buddy I have found a point in flamelet model 2.2.x look-up table folder. You have put these lines in runFlameletGeneration.sh file: Code:
kinetics="PolimiC1C3" # # # aiabate flame # fEd[0]=-800 # # # defects Another question buddy: Have you ever simulated a bluff-body stabilized flame (Sydney Items) with the solver? If hopefully yes, How was your accuracy? Regards Bobi |
|
October 5, 2013, 15:27 |
|
#15 |
New Member
payal
Join Date: Aug 2013
Location: banglore
Posts: 14
Rep Power: 12 |
Thanks Bobi , i wl check that .....
|
|
October 5, 2013, 15:28 |
|
#16 |
Super Moderator
Tobias Holzmann
Join Date: Oct 2010
Location: Tussenhausen
Posts: 2,708
Blog Entries: 6
Rep Power: 51 |
Hi all,
@Bobi, 1. thanks for your hint to the tutorial with the wrong enthalpy defect for the adiabatic state. I changed that file. I think this mistake was a wrong key pressing in vim but now its corrected. 2. I never simulated a bluff-body stabilized flame. But I think Alberto and his team did it. But I am not sure if I mean the right kind of flames. So I can not give you an advice. 3. At the moment I am configurating my new server and therefor I have no time for cfd anymore. I wanted to calculate a complex gas burner but not now. @payal, 1. hello and welcome to the libOpenSMOKE thread. 2. for checking if your simulation is converged you have several options: a) checking the residuals with pyFoam/gnuplot or what ever you want. But keep in mind, that with the SIMPLE algorithm its not possible to get always nice residual graphics (eg. sandia flame tutorial - does not converge after 20.000 iterations; and would not du it) b) Check the residuals till they have a steady / or periodic fluctuations after that check your last timesteps (maybe everry 50 or 100 iterations; eg. 1500 1550 1600). If you can not realize big changes in your domain (U,T,csi etc.) then your solution should be converged. Problem of that solver is, that combustions always are very instationary and its hard to get a converged solution. There are always fluctuations in your domain - compare the CH4N2H2 flame - there is at the nozzle a field with fluctuation of U, and p so you will never get a convergence till 1e-6 or something like that. c) Play with schemes and relaxation factors d) check the transient solver (PISO algorithm). Compared with the steady state solution you will get a very good convergence compared with SIMPLE algorithm in the tutorial case. Negativ aspect - not steady and therefor it take long time for calculation. 3. you have to create new PDF-Libs for your problem Regards Tobi Last edited by Tobi; October 6, 2013 at 05:22. |
|
October 6, 2013, 13:33 |
|
#17 |
Senior Member
Bobby
Join Date: Oct 2012
Location: Michigan
Posts: 454
Rep Power: 15 |
Hi Tobi
I think I have found my problem with complex flows. In my bluff-body stabilized burner (according to exp data) I should confront negative velocity fields (Due to recirculation zones both for fuel and oxidizer jets), However the achieved numeric data has minimum of zero. I took a look into fvSchemes file. I found that my scheme for velocity is bounded i.e. can not take negative values. Code:
divSchemes { div(phi,U) bounded Gauss limitedLinearV 1; div(phi,epsilon) bounded Gauss limitedLinear 1; div(phi,k) bounded Gauss limitedLinear 1; div(phiU,p) bounded Gauss limitedLinear 1; div(phi,H) bounded Gauss limitedLinear 1; div(phi,Z) bounded Gauss limitedLimitedLinear 1 0 1; div(phi,Zvar) bounded Gauss limitedLimitedLinear 1 0 0.25; div((muEff*dev2(T(grad(U))))) Gauss linear; } Do you have any hint for me that which type should I select to show the negative fields more accurate? Regards Bobi |
|
October 7, 2013, 02:32 |
|
#18 | |
Member
Join Date: May 2013
Location: Netherlands
Posts: 30
Rep Power: 12 |
Quote:
Please correct me if I'm wrong, shouldn't the velocity vector U always be positive (so the size of the velocity), of course the different components (Ux, Uy, Uz) can have negative values (which is the case for e.g. a recirculation zone). Regards |
||
October 7, 2013, 04:03 |
|
#19 |
Super Moderator
Tobias Holzmann
Join Date: Oct 2010
Location: Tussenhausen
Posts: 2,708
Blog Entries: 6
Rep Power: 51 |
Hi all,
for the schemes: the bound keyword is a trick for stabilisation: Code:
bound = Sp(...) Code:
Gauss limitedLimitedLinear 0 1 0,4 To clear the mind - the following declaration should be correct: Code:
Gauss limitedLinear 0 = Gauss linear Due to your fact of negative recirculation zones. TBT is correct - a vector is only positiv - just its components can be negativ. In the sandia flame you have already recirulation fields. |
|
October 7, 2013, 04:13 |
|
#20 | |
Member
sonu
Join Date: Jul 2013
Location: delhi
Posts: 92
Rep Power: 12 |
Greetings Tobi ,
Quote:
Code:
# aiabate flame # fEd[0]=-800 Thank You , sonu |
||
|
|
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 |