Temporally varying resistivity #598
-
Hi, I've used the EnrollFieldDiffusivity function to successfully implement a spatially varying resistivity function in my MHD simulations, but is it possible to also vary the resistivity in time? |
Beta Was this translation helpful? Give feedback.
Answered by
tomidakn
Jul 8, 2024
Replies: 2 comments
-
This function is called every timestep, so it can be time dependent. If you need time explicitly, you can access it through pmb->pmy_mesh->time. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
veraberger
-
Thank you very much, and for such a quick response! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This function is called every timestep, so it can be time dependent. If you need time explicitly, you can access it through pmb->pmy_mesh->time.