I'm studying the ion-ion plasma thruster, I want to simulate the magnetic filter in it. The thruster I want to study is similar to that designed by St ́ephane Mazouffrea and Denis Renaud which has a cylindrical geometry, and the magnetic field is perpendicular to the axis. I know the PIC method can simulate the magnetic filter, but it will compensate large compute source, and the fluid model is practicable. So is there any code that can simulate the weakly magnetized plasma based on the fluid method? An open-source code is better. Thanks for your answer.