Page History
This page contains a minimal user guide / information for a set of supplemental Vitess modules (tested with current Vitess 3.3a release), based on the following McStas 2.4.1 components/instruments:
- ESS_butterfly.comp - analytically fits based on analytical fits to MCNP studies of the future BF1 moderator design
- MCPL_input.comp - reads MCPL event data from disk
- MCPL_output.comp - writes MCPL event data to disk
- ESS_butterfly_MCPL_test.instr - ESS source based on MCPL event data directly from MCNP runs of the future BF1 moderator design
Note: For more information about MCPL, please consult the website or publication.
Please bear in mind that:
1) “This is not Vitess” - but just a set of user-contributed, minimally documented modules,
2) I (Peter Willendrup) have discussed the solution with Klaus Lieutenant, who has on his mind/agenda to create a proper, official Vitess release with similar functionality at a later point
Download here: ESS_2017_Modules_for_Vitess_0.99.tgz or clone from the following repository https://github.com/McStasMcXtrace/Modules_for_Vitess
The tar.gz and the corresponding GitHub repo contain:
A) MODULES/ with binaries for Linux 64bit, Mac OS X and windows (built on 10.12, should run on 10.9 and newer) and Windows (64 bit, should work on Win7 or newer) - corresponding to the following McStas components:
...
C) SRC/ contains the original McStas code and some (light) documentation on the needed code changes
Installation:
- Copy the modules corresponding to your platform from MODULES/ to your /where/ever/vitess/MODULES/
- Copy GUI/usermodule.tcl to your /where/ever/vitess/GUI/
Usage:
Try the relevant .gui files found in subfolders of GUI/, respecting the following steps:
- Change of directory to that folder (i.e. GUI/ from the downloaded or cloned folder)
- All of the "The following "neutron-producing"/"neutron source" modules, mentioned below, will only run from an "exported" shell or batch file. They produce no will in the current version not produce any data when used from within the Vitess GUI:
- ESS_butterfly
- ESS_butterfly_mcpl
- MCPL_input
On MacOS and Linux- Save an sh shell script e.g. Untitled.sh
- Give execute permission to the shell script by e.g. chmod u+x Untitled.sh
- Execute by ./Untitled.sh
- Save a bat file, e.g. Untitled.bat
- Browse to the folder where the bat file is located
- Double-click the bat file
- Please always specify a full path for the MCPL file when using the MCPL Input/Output modules
- When using the ESS_butterfly_MCPL module, please place the relevant beamport MCPL file from http://public.esss.dk/users/willend/MCPL/ in the simulation folder
It may also be relevant to look at the presentation below:
View file | ||||
---|---|---|---|---|
|