|
[Sponsors] |
March 10, 2005, 21:41 |
Re: time steps in transient diffusion problem
|
#2 |
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 |
|
|
|
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 |