CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

divergence after 35 msec with reactingFoam

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By jherb

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 7, 2014, 12:30
Default divergence after 35 msec with reactingFoam
  #1
Senior Member
 
Bobby
Join Date: Oct 2012
Location: Michigan
Posts: 454
Rep Power: 15
babakflame is on a distinguished road
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
Attached Images
File Type: jpg 30msec.jpg (18.1 KB, 37 views)
File Type: jpg 33msec.jpg (17.9 KB, 32 views)
babakflame is offline   Reply With Quote

Old   April 8, 2014, 17:04
Default
  #2
Senior Member
 
Joachim Herb
Join Date: Sep 2010
Posts: 650
Rep Power: 21
jherb is on a distinguished road
What do you use as boundary condition for the pressure field? Perhaps "meanValue" instead of fixedValue does help.
jherb is offline   Reply With Quote

Old   April 9, 2014, 04:10
Default
  #3
Senior Member
 
Bobby
Join Date: Oct 2012
Location: Michigan
Posts: 454
Rep Power: 15
babakflame is on a distinguished road
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);
    }
}
Would you PLZ introduce an example in tutorials that uses meanValue?

Regards
Bobi

Last edited by babakflame; April 9, 2014 at 10:12.
babakflame is offline   Reply With Quote

Old   April 9, 2014, 10:38
Default
  #4
Senior Member
 
Joachim Herb
Join Date: Sep 2010
Posts: 650
Rep Power: 21
jherb is on a distinguished road
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
babakflame likes this.
jherb 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
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


All times are GMT -4. The time now is 16:15.