Skip to content

Spatially Varying Viscosity #488

Answered by tomidakn
hwhitehead asked this question in Q&A
Discussion options

You must be logged in to vote

It is not well documented yet, but you can use Mesh::EnrollViscosityCoefficient to enroll a function to set arbitrary viscosity nu(DiffProcess::iso,k,j,i).
https://github.com/PrincetonUniversity/athena/wiki/Diffusion-Processes
For details, please read the source code, hydro_diffusion.cpp.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@hwhitehead
Comment options

Answer selected by hwhitehead
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants