|
[Sponsors] |
April 7, 2014, 12:30 |
divergence after 35 msec with reactingFoam
|
#1 |
Senior Member
Bobby
Join Date: Oct 2012
Location: Michigan
Posts: 454
Rep Power: 15 |
Dear Foamers
I am trying to simulate a swirl flame (SM1) with reactingFoam solver (LES-FSD approach). I have made a 3D grid wich has a compression ratio of 3.5 i.e. the last cell near the outlet has a length 3.5 times to the first cell after nozzle outlet. The latest cells have length of 1.2 mm and the first cells immediately after the nozzle outlet have the length of 0.34 mm. Also, I have used immersed bounadry conditions to make the inlet flows fully developped. My problem is that divergence symptoms appear in the result after 30 msec. My courant number was 0.39. I have used the zeroGradient condition for the outelet velocity. I have attached two pics from my velocity results one showing the flowfield at 30 msec and the other identifies velocity after 33 msec. As It is evident the divergence symptoms appear from the outlet of the doamin. Would Somebody PLZ hint me why this happens and how can I solve it? PS: I reduced the courant number to 0.35 and the problem still exists. Regards Bobi |
|
April 8, 2014, 17:04 |
|
#2 |
Senior Member
Joachim Herb
Join Date: Sep 2010
Posts: 650
Rep Power: 21 |
What do you use as boundary condition for the pressure field? Perhaps "meanValue" instead of fixedValue does help.
|
|
April 9, 2014, 04:10 |
|
#3 |
Senior Member
Bobby
Join Date: Oct 2012
Location: Michigan
Posts: 454
Rep Power: 15 |
Greetings Joachim
These are my input files for pressure and velocity. As it is evident from the figures the disturbance comes into the domain from outlet. I have treated side (lateral boundaries) as an outlet too. detacher is the wall between inletAir and inletSwirl flows. Code:
dimensions [1 -1 -2 0 0 0 0]; internalField uniform 101325; boundaryField { inletFuel { type zeroGradient; } inletAir { type zeroGradient; } outlet { type fixedValue; value uniform 101325; } bluffbody { type zeroGradient; } detacher { type zeroGradient; } side { type fixedValue; value uniform 101325; } inletSwirl { type zeroGradient; } } Code:
dimensions [0 1 -1 0 0 0 0]; internalField uniform (0 20 0); boundaryField { outlet { type zeroGradient; } side { type zeroGradient; } bluffbody { type fixedValue; value uniform (0 0 0); } detacher { type fixedValue; value uniform (0 0 0); } inletAir { type turbulentInlet; referenceField uniform (0 20 0); fluctuationScale (0.02 0.1 0.02); value uniform (0 20 0); } inletFuel { type turbulentInlet; referenceField uniform (0 32.7 0); fluctuationScale (0.04 0.2 0.04); value uniform (0 32.7 0); } inletSwirl { type swirlFlowRateInletVelocity; flowRate 0.0107; rpm 6632.42; value uniform (0 0 0); } } Regards Bobi Last edited by babakflame; April 9, 2014 at 10:12. |
|
April 9, 2014, 10:38 |
|
#4 |
Senior Member
Joachim Herb
Join Date: Sep 2010
Posts: 650
Rep Power: 21 |
I think there is not example in the tutorials for meanValue. But you can look at the documentation in the header of https://github.com/OpenFOAM/OpenFOAM...FvPatchField.H and this thread: http://www.cfd-online.com/Forums/ope...condition.html
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Floating point error and divergence detected | aannjj | FLUENT | 0 | July 2, 2013 03:44 |
Divergence problem | Smaras | FLUENT | 13 | February 21, 2013 05:03 |
3d vof | Smaras | FLUENT | 2 | February 19, 2013 06:58 |
Quarter Burner mesh with periosic condition | SamCanuck | FLUENT | 2 | August 31, 2011 11:34 |
reactingFoam wedge handling wrong U | dhondupant | OpenFOAM Bugs | 1 | December 9, 2010 07:34 |