mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-29 06:35:48 -04:00
Enabling MCPL source files to be read when using surf_source_read (#3472)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
This commit is contained in:
parent
637e04a9ba
commit
659e43af7d
9 changed files with 187 additions and 59 deletions
|
|
@ -0,0 +1,40 @@
|
|||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<model>
|
||||
<materials>
|
||||
</materials>
|
||||
<geometry>
|
||||
<cell id="1" material="void" region="-1" universe="1"/>
|
||||
<cell id="2" material="void" region="1 -2" universe="1"/>
|
||||
<cell id="3" material="void" region="2 -3" universe="1"/>
|
||||
<cell id="4" material="void" region="3 -4" universe="1"/>
|
||||
<surface coeffs="0.0 0.0 0.0 1.0" id="1" type="sphere"/>
|
||||
<surface coeffs="0.0 0.0 0.0 2.0" id="2" type="sphere"/>
|
||||
<surface coeffs="0.0 0.0 0.0 2.5" id="3" type="sphere"/>
|
||||
<surface boundary="vacuum" coeffs="0.0 0.0 0.0 4.0" id="4" type="sphere"/>
|
||||
</geometry>
|
||||
<settings>
|
||||
<run_mode>fixed source</run_mode>
|
||||
<particles>1000</particles>
|
||||
<batches>10</batches>
|
||||
<source particle="neutron" strength="1.0" type="independent">
|
||||
<space type="point">
|
||||
<parameters>0 0 0</parameters>
|
||||
</space>
|
||||
</source>
|
||||
<surf_source_write>
|
||||
<surface_ids>1</surface_ids>
|
||||
<mcpl>true</mcpl>
|
||||
<max_particles>1000</max_particles>
|
||||
</surf_source_write>
|
||||
<seed>1</seed>
|
||||
</settings>
|
||||
<tallies>
|
||||
<filter id="1" type="cell">
|
||||
<bins>3</bins>
|
||||
</filter>
|
||||
<tally id="1">
|
||||
<filters>1</filters>
|
||||
<scores>flux</scores>
|
||||
</tally>
|
||||
</tallies>
|
||||
</model>
|
||||
Loading…
Add table
Add a link
Reference in a new issue