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

Courant number is spiking in very small section

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 8, 2024, 01:20
Default Courant number is spiking in very small section
  #1
Senior Member
 
Desh
Join Date: Mar 2021
Location: Sydney
Posts: 109
Rep Power: 5
dasith0001 is on a distinguished road
Hi All,

I am running a venting event in 2D wedge domain with rhoPimpleFoam in OF10.

Please see the attached figure.

My fluid domain is roughly 0.7 m (height) x 0.1 m (radius) of a wedge.

From the bottom surface of the wedge I've assigned my outlet.

The question is solver is choosing very small time stepping (1E-9/10). Reason for this is only few cells Co no is reaching to 1 whilst all the rest remains under 1e-8 or so.

My mesh is clean, and no errors at all..

How can I avoid this few cells Co being increased so I can increase my overall time stepping ?

Any insights are highly appreciated.

Thank you.
Dasith
dasith0001 is offline   Reply With Quote

Old   March 8, 2024, 01:23
Default
  #2
Senior Member
 
Desh
Join Date: Mar 2021
Location: Sydney
Posts: 109
Rep Power: 5
dasith0001 is on a distinguished road
Sorry forgot to attached the figure
Attached Images
File Type: jpg maxC0.jpg (88.2 KB, 17 views)
dasith0001 is offline   Reply With Quote

Old   March 8, 2024, 09:27
Default
  #3
Senior Member
 
Josh Williams
Join Date: Feb 2021
Location: Scotland
Posts: 113
Rep Power: 5
joshwilliams is on a distinguished road
Quote:
Originally Posted by dasith0001 View Post
Sorry forgot to attached the figure

Looks like this occurs where there is a significant jump in cell spacing. Try to keep changes in cell size to within 20%. This means you would need to apply some simpleGrading.
joshwilliams is offline   Reply With Quote

Old   March 10, 2024, 17:12
Unhappy
  #4
Senior Member
 
Desh
Join Date: Mar 2021
Location: Sydney
Posts: 109
Rep Power: 5
dasith0001 is on a distinguished road
Quote:
Originally Posted by joshwilliams View Post
Looks like this occurs where there is a significant jump in cell spacing. Try to keep changes in cell size to within 20%. This means you would need to apply some simpleGrading.

Hi,

Thank you for your reply. Apologies for the misinterpretation of the problem.

The mesh in the figure is only one iterations of me trying to avoid the Co spike.

I tried simpleGrading to make the mesh for uniform/refine/course basically everything. Nothing works.

However that boundry has a pressure gradient of delataP = 200MPa- 0.1MPa

Following are the pressure and velocity boundary conditions I am using;

PHP Code:
internalField   uniform 200000000;

boundaryField
{

    
outlet
    
{
            
type              totalPressure;
            
p0                uniform 101325;
            
value             uniform 101325;
    }

PHP Code:
    outlet
    
{
        
type            pressureInletOutletVelocity;
        
inletValue      uniform (0 0 0);
        
value           uniform (0 0 0);
    } 
I am running out of options here.
Thank you
dasith0001 is offline   Reply With Quote

Reply

Tags
courant number


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
Foam::error::PrintStack almir OpenFOAM Running, Solving & CFD 92 May 21, 2024 07:56
Courant Number waseeqsiddiqui FLUENT 3 December 27, 2018 10:43
Inconsistencies in reading .dat file during run time in new injection model Scram_1 OpenFOAM 0 March 23, 2018 22:29
decomposePar -allRegions stru OpenFOAM Pre-Processing 2 August 25, 2015 03:58
[blockMesh] --> foam fatal error: lillo763 OpenFOAM Meshing & Mesh Conversion 0 March 5, 2014 10:27


All times are GMT -4. The time now is 01:07.