Transfers meta information from STP to MCNP
Project description
Description
Problem #1
You are an MCNP model developer. You have created simplified 3D CAD model using SpaceClaim, saved it to STP file, then converted it using SuperMC to an MCNP model. At this moment the MCNP model doesn’t have any information on relation of the MCNP came from cells to the CAD components, there’s no materials and densities in the cell specifications. The SuperMC (for the time of writing this) doesn’t transfer this information on exporting to MCNP model.
Problem #2
You have to provide results of neutron analysis in correspondence with 3D CAD model components. For example, you have to create a table describing activation of every component. To do this, you need some tools to associate CAD component with corresponding MCNP cells. Using this table the results of computation for MCNP cells can be aggregated to values for corresponding CAD component.
Solution
Using SpaceClaim you can add additional properties to components directly in STP file. The properties include: used material, density correction factor, classification tag. The properties are specified as a special label, which you can add to the components names. The properties are propagated over the CAD tree hierarchy from top to down and can be overridden on lower levels with more specific values. Using SpaceClaim for this is rather intuitive.
The using mapstp you can transfer this information from STP to MCNP: The mapstp:
sets material numbers and densities in all the cells, where it was specified
adds $-comment after each cell denoting its path in STP, with tag “stp:”,this lines can be easily removed later, if not needed
adds materials specifications, if they are available for mapstp
creates separate accompanying excel file with list of cells, applied materials, densities and correction factors, classification tag, and paths in STP
Installation
Documentation
Contributing
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file mapstp-1.0.1.tar.gz
.
File metadata
- Download URL: mapstp-1.0.1.tar.gz
- Upload date:
- Size: 218.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.13.0 Linux/6.5.0-1025-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ecb4e32ce1e249a883bdeaf7e03c537486028823a1af2e60a4c9acc7da10617f |
|
MD5 | dc75ff6efa381fa2713be61a2b0e2eb6 |
|
BLAKE2b-256 | db5c467f6ce76a1676f748a330d02ff6e2e5a7682bf080e915f3402dc3a27169 |
File details
Details for the file mapstp-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: mapstp-1.0.1-py3-none-any.whl
- Upload date:
- Size: 216.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.13.0 Linux/6.5.0-1025-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9a2e6e8543fd5d73835933745e08658b3db08d7749701f4ce19691191ecedfb5 |
|
MD5 | 4f4bce5a594524bc5238adac35c221df |
|
BLAKE2b-256 | d0a3f073169be2578ba00882c05e282dbe112cae37cf3c0439d0f739b3584cb2 |