-
I want apply the Bx = b0* tanh(y/delta), the harris-current configure, and there is the magnetic field code of ProblemGenerator |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
This is the ProblemGenerator file. |
Beta Was this translation helpful? Give feedback.
-
If you are compiling with |
Beta Was this translation helpful? Give feedback.
If you are compiling with
--eos isothermal
like your input file claims, then your problem generator has a bug. It's modifyingphydro->u(IEN,...)
when this variable does not exist, so it's overwriting some other part of memory. This part needs to be protected withif (NON_BAROTROPIC_EOS)
.