Assistance Required for Adding New Materials to PyNE with DAGMC

24 views
Skip to first unread message

­심규현 | 원자력공학과 | 한양대(서울)

unread,
Sep 26, 2024, 9:50:40 PM9/26/24
to PyNE
Dear PyNE development team,

I am a student currently working with DAGMC, and I am reaching out to seek your guidance on a technical issue I have encountered.
I am attempting to add a new material to PyNE that is not included in the PNNL materials compendium. I have tried entering the information for the new material into the materials_compendium.csv file, following the existing format. However, I am experiencing difficulties as uwuw_preproc does not seem to recognize the new material.
Could you please advise if there is a specific procedure or additional steps I should follow to successfully add new materials to PyNE? Any detailed instructions or resources you could provide would be greatly appreciated.

Thank you very much for your time and assistance.

Best regards,
Gyuhyeon Sim

Ahnaf Tahmid

unread,
Oct 4, 2024, 10:50:38 AM10/4/24
to PyNE

Hello Gyuhyeon Sim,

Thank you for reaching out and for highlighting the issue you’ve encountered.

It's great to hear that you're working with DAGMC and PyNE! The materials compendium in PyNE is indeed a bit outdated, and we now have a new package called materials-compendium. Unfortunately, we don’t yet have direct integration with DAGMC for this package.

In the meantime, for the bug you're facing, I suggest adding an issue to either the PyNE repository so that we can track and address it accordingly. This will also help other users who might encounter similar problems.

Thank you for bringing this up, and feel free to follow up if you need any further assistance!

Best regards,
Ahnaf Tahmid Chowdhury
NukeHub

Paul Wilson

unread,
Oct 5, 2024, 1:51:26 PM10/5/24
to pyne...@googlegroups.com

Hello all,

 

I don’t think this needs an issue…

 

If you need a new material for your problem, you can create it in your own material library, separate from materials compendium. This is generally the correct approach, as the materials compendium (although out of date, as Ahnaf indicated) is meant to be a fixed reference.

 

I don’t think the PyNE documentation has any good examples, but you can find an example of how we use PyNE to build a material library for a specific purpose here: https://github.com/svalinn/fusion-material-db/blob/main/pureMaterials/createPurematlib.py

 

Some variation of this would include copying materials from the compendium into your own individual material library for use on your project.

 

I hope that is helpful,

Paul

 

-- 
-- ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ --
Paul P.H. Wilson (he/him/his)
Grainger Professor of Nuclear Engineering
Chair, Department of Nuclear Engineering & Engineering Physics
o: 608-263-0807, c: 608-469-9615
paul....@wisc.edu
153 Engineering Research Bldg
1500 Engineering Dr, Madison, WI 53706
Zoom Meeting Room: https://uwmadison.zoom.us/j/6082630807
Zoom Phone Access: +1-929-205-6099, Access code: 6082630807

Computational Nuclear Engineering Research Group

 

 

 

--

---
You received this message because you are subscribed to the Google Groups "PyNE" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pyne-dev+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pyne-dev/c943e740-8107-4991-a9a2-ef6f2c56f09cn%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages