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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 10, 2005, 17:41
Default time steps in transient diffusion problem
  #1
Anurag
Guest
 
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.

Anurag
  Reply With Quote

Old   March 10, 2005, 22: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

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
A variable expressing time steps in UDF? lcw FLUENT 6 March 28, 2020 04:07
Time unit in finite volume solution for diffusion problem. alpha2beta Main CFD Forum 0 June 30, 2010 03:05
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 06:47
unsteady calcs in FLUENT Sanjay Padhiar Main CFD Forum 1 March 31, 1999 13:32


All times are GMT -4. The time now is 04:24.