# To get simulation data output by custom source

**URL:** <https://openmc.discourse.group/t/to-get-simulation-data-output-by-custom-source/767>\
**Category:** User Support\
**Created:** [September 18, 2020, 1:40am UTC](https://openmc.discourse.group/t/to-get-simulation-data-output-by-custom-source/767 "2020-09-18T01:40:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![krnshnia](https://avatars.discourse-cdn.com/v4/letter/k/da6949/32.png) [@krnshnia](https://openmc.discourse.group/u/krnshnia)\
**Post date:** [September 18, 2020, 1:40am UTC](https://openmc.discourse.group/t/to-get-simulation-data-output-by-custom-source/767/1 "2020-09-18T01:40:33Z")

</div>

Dear All,

I have compiled an example from custom source using g++, file named source\_ring.so. But I have trouble getting the output from the simulation data, or plotting. My aim is to get value of dose simulation from secondary scatter, so i used this script \<settings.electron\_treatment = ‘ttb’\>. Could you tell me to get simulation data output and plotting the model.

Thankyou.

---

<div class="post-metadata">

**Author:** ![paulromano](https://yyz2.discourse-cdn.com/free1/user_avatar/openmc.discourse.group/paulromano/32/486_2.png) [@paulromano](https://openmc.discourse.group/u/paulromano)\
**Post date:** [October 5, 2020, 9:34pm UTC](https://openmc.discourse.group/t/to-get-simulation-data-output-by-custom-source/767/2 "2020-10-05T21:34:38Z")

</div>

@krnshnia Can you tell us a little bit more about the problem that you are simulating? What tallies have you created for your model? For plotting the geometry, I would take a look at the example in [this notebook](https://docs.openmc.org/en/latest/examples/post-processing.html). We also have a [plotting application](https://github.com/openmc-dev/plotter/) that enables much easier geometry visualization.
