ATS timestep debugging

50 views
Skip to first unread message

Lijing Wang

unread,
Jul 25, 2023, 7:04:42 PM7/25/23
to Amanzi-ATS Users
Hi Ethan, 

I would like to ask a general perspective on the timestep. I am doing cold spin-up and each timestep is around 0.01. I understand that a better practice might be from the 0.1 to 1. But I have a hard time finding where is wrong and what physics that I can improve. 

I am mostly facing converging error for the overland flow. But it seems that after reducing the timestep to the 0.5 of the last step, it converges. Therefore, I would say the physics is ok. 

But still for the model I run (smaller scale), the timestep seems to be very small. What would be a great practice of choosing the timestep? 

Thanks! And thank you for making this great tool available to the community. I really appreciate it! 


Best,
Lijing. 

Amanzi-ATS Users

unread,
Aug 5, 2023, 3:41:10 PM8/5/23
to Amanzi-ATS Users
Hi Lijin,

The answer depends completely upon the physics you're solving, along with boundary and initial conditions and parameters.  It sounds like this is on surface+subsurface flow only?  Is this a 3D run or else what is your geometry?  What boundary and initial conditions are you using?  What are the min and max values of permeability and porosity?  All of these (and more) will affect the performance of the code.

Ethan

Lijing Wang

unread,
Aug 6, 2023, 8:08:36 PM8/6/23
to Amanzi-ATS Users
Thanks Ethan! I now have a better idea where there is no single rule for the timesteps. I will debug with the boundary/initial condition, mesh complexity and flow PKs. 



Best,
Lijing. 

--
You received this message because you are subscribed to a topic in the Google Groups "Amanzi-ATS Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ats-users/0JtSAc4wIVc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ats-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ats-users/4c4d8238-3161-46c6-b752-237e4219d70en%40googlegroups.com.


--
Lijing Wang
Postdoc Fellow @ EESA, Berkeley Lab
Ph.D., Stanford University, lijingwang.github.io
Reply all
Reply to author
Forward
0 new messages