Difference between revisions of "Rotating Translating STL Bunny"

From Serpent Wiki
Jump to: navigation, search
(Input)
Line 4: Line 4:
  
 
[http://virtual.vtt.fi/virtual/montecarlo/examples/3Dgeo_example/STL/bunny.stl bunny.stl]
 
[http://virtual.vtt.fi/virtual/montecarlo/examples/3Dgeo_example/STL/bunny.stl bunny.stl]
 +
 +
== Running ==
 +
 +
'''NOTE:''' Since the delayed neutron precursors are not rotated and/or translated alongside with the geometry, some of them will fall outside of the bunny during some parts of the simulation being emitted from the void-part of the geometry instead. This will lead to a number of warning messages such as
 +
 +
<nowiki>***** Tue Jun 20 14:58:13 2017 (seed = 1497959831)
 +
Warning message from function SamplePointDelnu:
 +
 +
Precursor is not in material?
 +
 +
x = -2.443193E+00, y = -4.201429E+00, z = 9.463751E+00
 +
Cell name 4
 +
</nowiki>
  
 
== Output ==
 
== Output ==

Revision as of 14:02, 20 June 2017

This example demonstrates the use of time-dependent transformations in the context of STL-objects. Time dependent transformations are also applicable to other Serpent objects.

Input

bunny.stl

Running

NOTE: Since the delayed neutron precursors are not rotated and/or translated alongside with the geometry, some of them will fall outside of the bunny during some parts of the simulation being emitted from the void-part of the geometry instead. This will lead to a number of warning messages such as

***** Tue Jun 20 14:58:13 2017 (seed = 1497959831)
Warning message from function SamplePointDelnu:

Precursor is not in material?

 x = -2.443193E+00, y = -4.201429E+00, z = 9.463751E+00
 Cell name 4

Output

From the 180 plots rendered for each of the three plotting planes the following animation can be compiled:

Resulting movement of the bunny. Compiled from 180 individual frames plotted during the simulation time-intervals.


Notes

  • The transformations are updated at time-interval boundaries, which means that the geometry is static for each time-interval.
  • The positions of neutrons and precursors are not updated as the transformations are updated.