|
[Sponsors] |
reactingFoam , FOAM Warning : Increase time precision and then crash |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 17, 2013, 06:02 |
reactingFoam , FOAM Warning : Increase time precision and then crash
|
#1 | ||
Member
Camille
Join Date: Oct 2012
Posts: 54
Rep Power: 14 |
Hi every OpenFoamer,
I am a new user trying to simulate a burner (premixed air/gas) with reactingFoam. I have boundary conditions over inlet, outlet and walls. FrontAndBack are everytime set as wedge and the axis set as empty. I use in a first time laminar RASModel. My boundary conditions are the next ones : VELOCITY : - inlet : fixed value (5.77 0 0) m/s - walls : fixedValue (0 0 0) (no slip condition) - outlet: inletOutlet inletValue (5.77 0 0) value (0 0 0) PRESSURE - inlet : first I put a totalPressure condition (with p0 = 1e5 and gamma=1.3 ) but it didn't work, I had a error message such that T was out of range of the JANAF table (i.e. 145 K instead of 200 to 5000 K) Then I put fixedValue 1e5 and had the same problem but with T = 44 218 K ! Now I put zeroGradient pressure condition at the inlet and have the error described below... It increases time precision, become slower then and finally crashes. - outlet : waveTransmissive ; field p; phi phi; rho rho; psi psi; gamma 1.3; fieldInf 1e5; lInf 0.3; value uniform 1e5; - walls : zeroGradient Can somebody help me? I can give you more details of my case if necessary. Thank you for your help Camille FIRST WARNING Quote:
Quote:
|
|||
March 17, 2013, 06:36 |
|
#2 |
Member
Camille
Join Date: Oct 2012
Posts: 54
Rep Power: 14 |
I try with another outlet BC for pressure : inletOutlet instead of waveTransmissive :
pressure BC : - inlet : zeroGradient - outlet : inletOutlet; inletValue 1e5; value 1e5; but it doesn't seem to work anymore. after a few time I also have an error about JANAF bounds, the T is over 5000 K.. Does anybody have an idea of how to counter this issue? EDIT : I forgot to give you my TEMPERATURE BC : - inlet : fixedValue 293 (room temperature) - outlet : inletOutlet inletValue uniform 293; value uniform 293; - walls : wallHeatTransfer Tinf uniform 293; alphaWall uniform 20; value uniform 293; - internalField 293 Last edited by camille131; March 17, 2013 at 07:45. Reason: forgot Temperature BC |
|
March 18, 2013, 06:26 |
|
#3 |
Senior Member
|
Dear Camille,
Is there a reason why you want to use waveTransmissive or inletOutlet? If you want to do this: For pressure I would use outletInlet combined with inletOutlet for other variables (T, Y_i), maybe pressureInletOutletVelocity for U pressure BC : - inlet : zeroGradient - outlet : fixedValue or - outlet: outletInlet; outletValue 1e5; value 1e5; |
|
March 18, 2013, 09:01 |
|
#4 |
Member
Camille
Join Date: Oct 2012
Posts: 54
Rep Power: 14 |
Hello Tom,
First I would like to thank you for your answer. The outlet of the flow is at atmospheric conditions. Therefore, the pressure at the outlet is a fixed value corresponding to the atmospheric pressure, i.e. 105 Pa. But such a condition could cause the outlet to be reflective like a wall. That's why I thought to use waveTransmissiveWave . But may I have to use it with other combined BC for velocity field and others? Then I thought to use inletOutlet to put a zeroGradient is the flux goes outside or a fixedValue if the flux goes inside. Actually I don t really understand the necessity to specify inletValue and then value when we use a inletOutlet BC ? the inletValue isn't the one that we selected for the inlet? or is this in the case we choose à fixedGradient or something else at the inlet? I could use the BC you suggest to me but I don't really know what a outletInlet BC does? Thank you for your help Cam |
|
March 18, 2013, 10:01 |
|
#5 |
Senior Member
|
Ok, well the naming is a bit confusing, but I hope this explains:
inletOutlet means that this boundary acts as zeroGradient when there is an flux out of the domain. Normally you would use this for velocity, turbulence, temperature etc. on an outlet. It will act as fixedValue when there is an inward flux. In that case, the value it takes is the "inletValue" the "value" entry is only used at the first timestep, so it is the initial condition. outletInlet does the exact opposite: It is fixed value with an outward flux (taking the outletValue as value) and zeroGradient with an inward flux. This is the behavior you want for the pressure, normally. Regards, Tom |
|
March 24, 2013, 10:10 |
|
#6 |
Member
Camille
Join Date: Oct 2012
Posts: 54
Rep Power: 14 |
Hi Tom,
thank you for the precisions. Then I will try what you suggest me bt I still have a question : I should use pressureInletVelocity instead of fixedValue for the U inlet path ? and what about the U outlet path ? inletOutlet value is ok? thank you Cam |
|
March 25, 2013, 08:26 |
|
#7 |
Senior Member
|
Fixed Value is good for the inlet. You may want to use pressureInletOutletVelocity on the outlet.
|
|
March 26, 2013, 14:50 |
|
#8 | |
Member
Camille
Join Date: Oct 2012
Posts: 54
Rep Power: 14 |
Hi and thanks for the help.
I tried with the suggested BC and it seems to run. But first I had a big problem because i I was wrong in a comma for species proportions ... :-/ I wrote 19 instead of 0.19 for the O2 specie.. So it seems to work with the BC : p/outlet : type outletInlet ; outletValue uniform 1e5; value uniform 1e5; U/outlet : type inletOutlet; inletValue uniform (5.77 0 0); value (0 0 0); And it simulate till 5 sec as I ask. But when I put the pressureInletOutletVelocity BC for U/outlet, the simulation stops : - at 2.8 seconds if I put value (0 0 0 ); - at 4.2 seconds if I put value (5.77 0 0); And I think it stops because it has to increase time precision. And all the simulations are done with RAS turbulence model of laminar type, with chemistry on (ode) , and combustion active true. Now I'm not sure of the BC for T ... Quote:
|
||
|
|