CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT

Global Courant number diverging

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 19, 2011, 09:01
Default Global Courant number diverging
  #1
New Member
 
Join Date: Jun 2011
Posts: 19
Rep Power: 14
The_Architect is on a distinguished road
Hi,
I have a 2D problem with a moving wall as one of the BCs. The problem is that the global Courant number diverges after a few hundred iterations. I have used time steps as low as 1e-05 s and tried the variable time stepping method as well as the Implicit update method for the dynamic mesh at the BC. The results are however the same and I can't get away from the Courant number problem.
I think this is really odd because the wall is moving at a really slow pace, say cm/s. My grid has an aspect ratio of around 2 near the moving wall. The cell height normal to the moving wall is 5mm. As it is right now I really can't make the time step any smaller, in fact it is already way too small. I can't really see a new more dense mesh as an option either because that would make the problem computationally too heavy .

All help would be highly appreciated!
The_Architect is offline   Reply With Quote

Old   August 22, 2011, 05:20
Default
  #2
New Member
 
Denis
Join Date: May 2011
Posts: 17
Rep Power: 14
_Denis_ is on a distinguished road
Hi, Patrik

Maybe it's just me, but it seems that your question is insufficienlty detailed. (almost as if "there is something wrong with my solution. What is it?").
But, as I know what tutorial you've been following lately, I'd suggest to uncheck the "uniterative solution" box, and experiment with the number of iterations, starting with, say, 3.
It seems, you've got a realy dens mesh, and little timestep. Do you realy need it? Try to generate a somewhat coarser mesh, and specify bigger timestep (mine for the same problem is 1e-2 for now), at least until you get to the final solution.
Hope this helps.

Last edited by _Denis_; August 22, 2011 at 08:52.
_Denis_ is offline   Reply With Quote

Old   August 23, 2011, 05:00
Default
  #3
New Member
 
Join Date: Jun 2011
Posts: 19
Rep Power: 14
The_Architect is on a distinguished road
Thanks again for your reply Denis.
I have now been running multiple simulations with different meshes, but the end result is always the same, the courant number literally explodes (during 2 time steps it might go from 2 to 10^6, and the continuity residual might in the same time jump from 10^-2 to 10^10!). The last mesh I tried was basically the same as in the Fluent tutorial for wave generation, I just made the domain larger to better fit a bigger wave.
I have unsuccessfully tried to get away from this problem by trying the following things:
- Non-iterative time advancement or normal time advancement
- Implicit update
- Variable and fixed time steps
- Time step size from 10^-2 to 10^-4
- Solve volume fraction equations at every iteration or once per time step
- First and second order moment discretization
- Smaller URF

My BCs are, velocity inlet with an UDF to generate the wave, walls on the opposite side of the velocity inlet and on the bottom ,and pressure outlet above the basin.

I guess there is something fundamentally wrong with my problem set up as the different settings all give the same result of an unsuccessful simulation.
The_Architect is offline   Reply With Quote

Old   August 29, 2011, 02:22
Default velocity nlet udf
  #4
Member
 
Nirav
Join Date: Jul 2011
Posts: 43
Rep Power: 14
niravtm007 is on a distinguished road
Send a message via Skype™ to niravtm007
hiii friends i am entirely new to using udf's in fluent. I have a cubical geometry, with two inlets on perpendicular adjacent faces. i have to implement udf to only one of the conditions.
i have two cases
1) parabolic velocity inlet ( space varient)
2) sinusodial velocity velocity inlet ( time variant)
can any one pls send me the udf ( codes) ...
niravtm007 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
Dynamic moving mesh Pei-Ying Hsieh (Hsieh) OpenFOAM Running, Solving & CFD 64 June 7, 2012 10:04
air bubble is disappear increasing time using vof xujjun CFX 9 June 9, 2009 07:59
[blockMesh] BlockMeshmergePatchPairs hjasak OpenFOAM Meshing & Mesh Conversion 11 August 15, 2008 07:36
LES near wall model & courant number kasim CFX 5 March 16, 2008 18:23
variable time step:setting global courant number Cedric FLUENT 0 July 28, 2005 09:14


All times are GMT -4. The time now is 18:46.