Advanced Options#
This section covers advanced configuration options for fine-tuning your CAD to DAGMC workflow.
Topics#
Topic |
Description |
|---|---|
Unit conversion with |
|
Shared surface handling |
|
Void/air region tagging |
|
Thread control for performance |
|
h5py vs pymoab comparison |
Quick Reference#
Common Options#
model.export_dagmc_h5m_file(
filename="dagmc.h5m",
scale_factor=0.1, # mm to cm conversion
imprint=True, # Handle shared surfaces
implicit_complement_material_tag="air", # Tag for void space
h5m_backend="h5py", # H5M writing backend
method="file", # CAD transfer method
)
When to Use Each#
Option |
When to Use |
|---|---|
|
CAD in different units than simulation |
|
Single volume or non-touching geometry |
|
Need to track particles in void |
|
Compatibility with older DAGMC tools |
|
Large geometry with matching OCC versions |