{"id":39812901,"url":"https://github.com/openmc-dev/openmc_mcnp_adapter","last_synced_at":"2026-01-18T12:45:45.978Z","repository":{"id":39669796,"uuid":"506808685","full_name":"openmc-dev/openmc_mcnp_adapter","owner":"openmc-dev","description":"Tool for converting MCNP input files to OpenMC classes/XML","archived":false,"fork":false,"pushed_at":"2025-11-29T10:22:11.000Z","size":91,"stargazers_count":51,"open_issues_count":9,"forks_count":29,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-11-30T08:18:23.683Z","etag":null,"topics":["mcnp","monte-carlo-simulation","nuclear-engineering","openmc"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/openmc-dev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-06-23T22:27:12.000Z","updated_at":"2025-11-29T14:17:56.000Z","dependencies_parsed_at":"2022-07-13T13:30:32.974Z","dependency_job_id":"adc17efd-d632-4460-92dc-cb11ccd5aa37","html_url":"https://github.com/openmc-dev/openmc_mcnp_adapter","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/openmc-dev/openmc_mcnp_adapter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openmc-dev%2Fopenmc_mcnp_adapter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openmc-dev%2Fopenmc_mcnp_adapter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openmc-dev%2Fopenmc_mcnp_adapter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openmc-dev%2Fopenmc_mcnp_adapter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/openmc-dev","download_url":"https://codeload.github.com/openmc-dev/openmc_mcnp_adapter/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openmc-dev%2Fopenmc_mcnp_adapter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28536027,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-18T10:13:46.436Z","status":"ssl_error","status_checked_at":"2026-01-18T10:13:11.045Z","response_time":98,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["mcnp","monte-carlo-simulation","nuclear-engineering","openmc"],"created_at":"2026-01-18T12:45:45.886Z","updated_at":"2026-01-18T12:45:45.963Z","avatar_url":"https://github.com/openmc-dev.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MCNP Conversion Tools for OpenMC\n\n[![License](https://img.shields.io/badge/license-MIT-green)](https://opensource.org/licenses/MIT)\n[![codecov](https://codecov.io/github/openmc-dev/openmc_mcnp_adapter/graph/badge.svg?token=KX00MQ57G5)](https://codecov.io/github/openmc-dev/openmc_mcnp_adapter)\n\nThis repository provides tools for parsing/converting MCNP models to OpenMC\nclasses and/or XML files. To install these tools, run:\n\n    python -m pip install git+https://github.com/openmc-dev/openmc_mcnp_adapter.git\n\nThis makes the `openmc_mcnp_adapter` Python module and `mcnp_to_openmc` console\nscript available. To convert an MCNP model, run:\n\n    mcnp_to_openmc mcnp_input\n\n## Disclaimer\n\nThere has been no methodical V\u0026V on this converter; use at your own risk!\n\n## Known Limitations\n\nThe converter currently only handles geometry and material information; source\ndefinition (SDEF) and tally specifications are ignored.\n\nThe converter will try to set surface boundary conditions to match the MCNP\nmodel, but in many cases it doesn't work cleanly. For these cases, you will need\nto manually set boundary conditions on the outermost surfaces.\n\nSome geometry features are not currently supported:\n\n- `X`, `Y`, and `Z` surfaces with 3 coordinate pairs\n- `RHP`, `REC`, `ELL`, `WED`, and `ARB` macrobodies\n- Hexagonal lattices\n- One-dimensional lattices\n- Two-dimensional lattices with basis other than x-y\n- `U`, `LAT`, and `FILL` cards specified in the data card block\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenmc-dev%2Fopenmc_mcnp_adapter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopenmc-dev%2Fopenmc_mcnp_adapter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenmc-dev%2Fopenmc_mcnp_adapter/lists"}