Warwick-Plasma / epoch

Particle-in-cell code for plasma physics simulations
https://epochpic.github.io
GNU General Public License v3.0
184 stars 58 forks source link

First simulation with EPOCH #687

Closed hoaithanhbk closed 2 months ago

hoaithanhbk commented 3 months ago

Dear All member, I am newbine using epoch. Now I am trying to run first simulation with Epoch. I have successfully installed Epoch. I am running first Epoch via "Quick start guide".

the my result running

epcoh

-step4: I saw three new files (0000.sdf, deck.status, normal.visit) appears in example_deck folder.

I want to ask you, my simulation do finish yet?

if yes, how to saw the my result. now I am using the "visit" software to visulize.

I was trying to open "visit"

one more thing when I read the userguide of epoch. the result of epoch will be so many sdf file like picture. But my result they are just have only one a sdf file (0000.sdf).

I know my question maybe very basic. I hope you can help me to run for first simulation in EPOCH.

thank you for any helps!

Status-Mirror commented 3 months ago

I know some other developers have managed to get EPOCH running on Visit, but I've never managed it myself unfortunately. Most users I know use MATLAB or Python to read SDF files - MATLAB uses the GetDataSDF function in SDF/Matlab, and Python can be setup according to the guide on this page.

I'll keep the issue open for now in case any Visit users would like to comment further.

Sorry I couldn't be more helpful, Stuart

hoaithanhbk commented 3 months ago

Thank you for your reply! the fist what is the status of my first simulation by EPOCH. it is successful or not? Because I just saw a one SDF file (0000.sdf). it take about 0.02 second to run.

Status-Mirror commented 3 months ago

If you're getting SDF files, it probably ran successfully. The files in example_deck are mainly there to demonstrate input-deck syntax, they're not proper simulations. If you want to learn more about EPOCH, I think it would be better to go through the worked examples on particle loading, laser injection and ionisation. The Ionisation demos are a bit more technical, but they're worth reading if you want to simulate ionisation.

Hope this helps, Stuart

Status-Mirror commented 2 months ago

I'm going to mark this issue as closed for now, but feel free to re-open if you run into more problems.

Cheers, Stuart