CFD Online Logo CFD Online URL
Home > Forums > CFX

time steps in transient diffusion problem

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   March 10, 2005, 17:41
Default time steps in transient diffusion problem
Posts: n/a
Dear all,

i m doing a transient simulation of drug diffusion in tissues, which acts as a porous media. drug is injected from a point source and injection velocity is zero.

linear resistance coefficient of the porous media is very high so the process of drug distribution is very slow. total time of injection is 24 hrs. (86400 secs) what time step should i select (considering memory and time of run)? i m starting with small time step of 10 sec and finally going up to 1000 sec. is that ok ? with this selection, RMS residual of mass fraction converges (1e-5). but pressure does not come below 1e-4.

thanks a lot for any suggestion.

  Reply With Quote

Old   March 10, 2005, 22:41
Default Re: time steps in transient diffusion problem
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.

  Reply With Quote


Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Time unit in finite volume solution for diffusion problem. alpha2beta Main CFD Forum 0 June 30, 2010 02:05
A variable expressing time steps in UDF? lcw FLUENT 4 January 16, 2006 13:19
cfx does not give time steps in cfxpost.why.urgent prakash CFX 2 November 24, 2005 00: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 05:42.