Is there a simple way to do an axisymmetric 2D (i.e. RZ) simulation? #696
Replies: 3 comments 10 replies
|
We are sorry but we do not support 2D RZ coordinates with nx2=1. This is not fundamental but just due to some historical reason. If you want to do so, I suggest you to use either 2D spherical polar coordinates (r,theta), or a thin slice of 3D cylindrical coordinates (i.e., nx2=NGHOST). Alternatively, you may implement it by yourself - just swap x2 and x3 components in the Cylindrical coordinate class (note but in this case the coordinate becomes left-handed; you can simply flip the sign of the phi direction as well to keep it right-handed). |
|
Hello, hope you're doing well. I was wondering if you had any time to go over my module? |
|
I am sorry for my sparse response. I was completely overwhelmed with my teaching duties. I do not have time to run the calculation on my side, so let me point out some possibilities.
Please show me some figures; does the magnetic field evolve as you expected? |
Uh oh!
There was an error while loading. Please reload this page.
Hello, I'm Jonny Dadras. I'm a computational chemical physicist by training with a love for PMI.
Previously I was at Zap and I am currently contracting with a new fusion startup. I am not an expert in MHD codes.
I am trying to run a simple toy model of a plasma column in RZ. I made a cpp module that should generate and initialize the problem. From reviewing the code I believe the standard r, phi, z ordering is followed. I have seen several examples of problems in the R Phi plane, I believe (this is consistent with a paper by Skinner).
If I try to define a mesh in an athinput.par such that:
nx1=100, nx2=1, nx3=100; etc
It errors out; stating that 2D problems in x1-x3 plane not supported
Does anyone have any advice on how to proceed?
Thanks for any help
All reactions