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

time steps in transient diffusion problem

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   March 10, 2005, 21:41
Default Re: time steps in transient diffusion problem
  #2
Jeff
Guest
 
Posts: n/a
Look in the FORTRAN examples at the end of the Solver Modeling manual. There's some handy user Fortran for an adaptive time stepping scheme. If your coefficient loops are few (say less than three) you can set a multiplier to increase the time step size. If it's not converging in say 8 or 9 coefficient loops, it will reduce the time step.

I've modified it a bit to limit by a maximum time step, and not to increase until at least 10 steps in a row have met the minimum coefficient loops target (for stability) and it works pretty good. My problems have convection as well, but your diffusion problem aught to be able to work its way up to some large time steps as the gradients are reduced.

Jeff
  Reply With Quote

 


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
A variable expressing time steps in UDF? lcw FLUENT 6 March 28, 2020 03:07
Time unit in finite volume solution for diffusion problem. alpha2beta Main CFD Forum 0 June 30, 2010 02:05
cfx does not give time steps in cfxpost.why.urgent prakash CFX 2 November 23, 2005 23:06
time steps in transient heat transfer in solids Mike Main CFD Forum 3 June 5, 2003 05:47
unsteady calcs in FLUENT Sanjay Padhiar Main CFD Forum 1 March 31, 1999 12:32


All times are GMT -4. The time now is 13:39.