this example shows users how to make a mesh source using a cylindrical mesh and a source term for each voxel.
this is a minimal example but a more realistic example could use the voxel location to look up properties of the plasma at each coordinate and customize the source energy and strength at each mesh voxel location
this could be combined with a function that looks up the location properties in the plasma and customizes (e.g temperature, strength) the source at that mexh voxel location for each source. For now I've put in a simple filter to set voxels with a radius below a limit to strength = 0
meshsource was added recently to the openmc develop branch and will be in the next release (which should be before TOFE conference)
this example shows users how to make a mesh source using a cylindrical mesh and a source term for each voxel.
this is a minimal example but a more realistic example could use the voxel location to look up properties of the plasma at each coordinate and customize the source energy and strength at each mesh voxel location
this could be combined with a function that looks up the location properties in the plasma and customizes (e.g temperature, strength) the source at that mexh voxel location for each source. For now I've put in a simple filter to set voxels with a radius below a limit to strength = 0
meshsource was added recently to the openmc develop branch and will be in the next release (which should be before TOFE conference)