From m.freiria87 at gmail.com Wed Feb 5 09:50:01 2014 From: m.freiria87 at gmail.com (=?ISO-8859-1?Q?Mar=EDa_Freir=EDa_L=F3pez?=) Date: Wed, 5 Feb 2014 09:50:01 +0100 Subject: [mcstas-users] Fwd: Neutron Beam tracking - MCSTAS In-Reply-To: References: Message-ID: Hello everybody, my name is Mar?a Freir?a, Master Student in Nuclear Engineering at the Technische Universit?t M?nchen. Right now I am working at my Master Thesis at the research reactor FRM II, studying the viability of a future fuel conversion. The fact is that we did some experiments at the reactor in order to measure the cold neutron spectrum for different reactor power levels. Here is a brief description of the reactor: [image: Im?genes integradas 1] Several beam tubes supply various experimental stations with neutrons from different parts of the reactor. In our experiment we considered the tube SR-1 (connected to the cold source), which is subdivided into 6 smaller tubes as shown in the figure above. One of these 6 tubes (NL-4) is again divided into 2 tubes (named NL-4a and NL-4b) which lead to the 2 stations (SANS-1 and PGAA) where the measures were taken: [image: Im?genes integradas 2] The obtained results concerning neutron spectrum at the 2 stations differ from each other. Eventhough the neutrons in both tubes come from the cold source, based on the results, we think that the neutrons have a different nature, due to the heterogeneous properties along the cold source. A point to be taken into account is the fill level of the cold source (D2 - liquid deuterium aprox. 25K). Some experts suggest that the major part of the neutron flux analyzed at SANS-1 comes from the lower part of the cold source and in the case of PGAA the neutrons have their origin in the upper part of the tank (near the fill level). This would explain the different results at the 2 stations: [image: Im?genes integradas 3] In order to proof this theory, we started to work with MCSTAS. I got the instruments and components defined in MCSTAS which describe the geometry of the tube structure. But, as a beginner, I need to ask for some help: I need to know the origin of the neutrons which enter the tubes NL-4a and b. In other words: from which part of the cold source do most of the neutrons come in each case (NL-4a and NL-4b): [image: Im?genes integradas 4] Is it true that the neutron spectrum is different at the 2 experimental stations because the beam has its origin in different parts (the lower and the upper part) of the cold source? Or is the distribution almost homogeneous so that the beam properties in both tubes should be the same? In order to answer these questions, the suggestion made is to implement a kind of "marker" at the beginning of SR-1 divided in "n" cells. This would make it possible to know which of these neutrons "make their way" to SANS-1 and which others to PGAA. Is it viable to create such a "marker"? Or do you have any other suggestions for solving this problem? As I said, as a beginner I am not conscious of the possibilities that MCSTAS offers, that is why I was directed to you by Peter Link, Neutron Optics department at the FRM II. I hope I could explain my problem in a more or less understandable way :) I would be really greatfull for your help! Kind regards, Mar?a -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Experiment_Scheme_2.jpg Type: image/jpeg Size: 50905 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Experiment_Scheme_3.jpg Type: image/jpeg Size: 5965 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Experiment_Scheme_1.jpg Type: image/jpeg Size: 38312 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Beam_tubes.jpg Type: image/jpeg Size: 95723 bytes Desc: not available URL: From pkwi at fysik.dtu.dk Wed Feb 5 11:41:43 2014 From: pkwi at fysik.dtu.dk (=?Windows-1252?Q?Peter_Kj=E6r_Willendrup?=) Date: Wed, 5 Feb 2014 10:41:43 +0000 Subject: [mcstas-users] Fwd: Neutron Beam tracking - MCSTAS In-Reply-To: References: Message-ID: <0EA7A615-C44C-4291-8F6C-0C67BA630927@fysik.dtu.dk> Dear Maria, Answers to the specifics below... On 05 Feb 2014, at 09:50 , Mar?a Freir?a L?pez > wrote: The obtained results concerning neutron spectrum at the 2 stations differ from each other. Eventhough the neutrons in both tubes come from the cold source, based on the results, we think that the neutrons have a different nature, due to the heterogeneous properties along the cold source. A point to be taken into account is the fill level of the cold source (D2 - liquid deuterium aprox. 25K). Some experts suggest that the major part of the neutron flux analyzed at SANS-1 comes from the lower part of the cold source and in the case of PGAA the neutrons have their origin in the upper part of the tank (near the fill level). This would explain the different results at the 2 stations: In order to proof this theory, we started to work with MCSTAS. I got the instruments and components defined in MCSTAS which describe the geometry of the tube structure. But, as a beginner, I need to ask for some help: I need to know the origin of the neutrons which enter the tubes NL-4a and b. In other words: from which part of the cold source do most of the neutrons come in each case (NL-4a and NL-4b): The most easy way to do this is using PreMonitor_nD and Monitor_nD: 1) Right after the source, put COMPONENT SrcExit1 = PreMontior_nD(monitor_comp=AfterTube1) AT (0,0,1e-6) RELATIVE Source 2) After your first pieces of neutron optics, put a corresponding Monitor_nD COMPONENT AfterTube1 = Monitor_nD(options=?auto x, y, premonitor?, filename=?Aftertube1?) AT (0,0,1) RELATIVE Optics Perhaps also consult the more elaborate explanation of this available in the component manual. Is it true that the neutron spectrum is different at the 2 experimental stations because the beam has its origin in different parts (the lower and the upper part) of the cold source? Or is the distribution almost homogeneous so that the beam properties in both tubes should be the same? As a starting point, the source is assumed to have uniform brilliance across the surface - but such an effect could be modelled by putting several sources (with independent brilliance definition) and doing a Monte Carlo choice between them (e.g. via the WHEN keyword - see e.g. LL_H53_D16.instr in your installation.). Further, the spectra after the neutron optics will of course be slightly different, as the source position (and therefore incoming divergence) may be slightly different in the two cases - which then through the reflectivity parametrisation of the two pieces of optics perform slightly different. In order to answer these questions, the suggestion made is to implement a kind of "marker" at the beginning of SR-1 divided in "n" cells. This would make it possible to know which of these neutrons "make their way" to SANS-1 and which others to PGAA. As I understand what you want to do, this is exactly what the premonitor will do for you. Alternatively you can add some extra c-code (EXTEND keyword) and add your own variables for monitoring the processes - also see LL_H53_D16.instr here) Is it viable to create such a "marker"? Or do you have any other suggestions for solving this problem? As I said, as a beginner I am not conscious of the possibilities that MCSTAS offers, that is why I was directed to you by Peter Link, Neutron Optics department at the FRM II. I hope I could explain my problem in a more or less understandable way :) I think so! :-) Hope my tips help you - feel free to write back for further hints. Best regards, Peter Willendrup Peter Kj?r Willendrup Senior Research Engineer, Special Consultant DTU Physics Technical University of Denmark [cid:image002.gif at 01CCCAF1.5E6331F0] Department of Physics Fysikvej Building 307 DK-2800 Kongens Lyngby Direct +45 2125 4612 Mobil +45 2125 4612 Fax +45 4593 2399 pkwi at fysik.dtu.dk -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 58 bytes Desc: image001.gif URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.gif Type: image/gif Size: 1055 bytes Desc: image002.gif URL: From broh at fysik.dtu.dk Wed Feb 5 10:28:12 2014 From: broh at fysik.dtu.dk (Britt Rosendahl Hansen) Date: Wed, 5 Feb 2014 09:28:12 +0000 Subject: [mcstas-users] Fwd: Neutron Beam tracking - MCSTAS In-Reply-To: References: , Message-ID: <764BA851-9CFB-4FD1-A19A-0FF60BC9170A@fysik.dtu.dk> Hi Maria I think you could use the premonitor_nd and monitor_nd components to get the answer you need. I suggest looking at these components in the component manual. Feel free to write me again if you cannot get it to work. Regards, Britt Sent from my iPhone > On 05 Feb 2014, at 09:50, "Mar?a Freir?a L?pez" wrote: > > > Hello everybody, > > my name is Mar?a Freir?a, Master Student in Nuclear Engineering at the Technische Universit?t M?nchen. Right now I am working at my Master Thesis at the research reactor FRM II, studying the viability of a future fuel conversion. > > The fact is that we did some experiments at the reactor in order to measure the cold neutron spectrum for different reactor power levels. > > Here is a brief description of the reactor: > > > Several beam tubes supply various experimental stations with neutrons from different parts of the reactor. In our experiment we considered the tube SR-1 (connected to the cold source), which is subdivided into 6 smaller tubes as shown in the figure above. > > One of these 6 tubes (NL-4) is again divided into 2 tubes (named NL-4a and NL-4b) which lead to the 2 stations (SANS-1 and PGAA) where the measures were taken: > > > > > > The obtained results concerning neutron spectrum at the 2 stations differ from each other. Eventhough the neutrons in both tubes come from the cold source, based on the results, we think that the neutrons have a different nature, due to the heterogeneous properties along the cold source. A point to be taken into account is the fill level of the cold source (D2 - liquid deuterium aprox. 25K). Some experts suggest that the major part of the neutron flux analyzed at SANS-1 comes from the lower part of the cold source and in the case of PGAA the neutrons have their origin in the upper part of the tank (near the fill level). This would explain the different results at the 2 stations: > > > > In order to proof this theory, we started to work with MCSTAS. > > I got the instruments and components defined in MCSTAS which describe the geometry of the tube structure. But, as a beginner, I need to ask for some help: > > I need to know the origin of the neutrons which enter the tubes NL-4a and b. In other words: from which part of the cold source do most of the neutrons come in each case (NL-4a and NL-4b): > > > > Is it true that the neutron spectrum is different at the 2 experimental stations because the beam has its origin in different parts (the lower and the upper part) of the cold source? Or is the distribution almost homogeneous so that the beam properties in both tubes should be the same? > > In order to answer these questions, the suggestion made is to implement a kind of "marker" at the beginning of SR-1 divided in "n" cells. This would make it possible to know which of these neutrons "make their way" to SANS-1 and which others to PGAA. > > Is it viable to create such a "marker"? Or do you have any other suggestions for solving this problem? > > As I said, as a beginner I am not conscious of the possibilities that MCSTAS offers, that is why I was directed to you by Peter Link, Neutron Optics department at the FRM II. > > I hope I could explain my problem in a more or less understandable way :) > > I would be really greatfull for your help! > > Kind regards, > > Mar?a > > _______________________________________________ > mcstas-users mailing list > mcstas-users at mcstas.org > http://mailman.mcstas.org/cgi-bin/mailman/listinfo/mcstas-users -------------- next part -------------- A non-text attachment was scrubbed... Name: Experiment_Scheme_2.jpg Type: image/jpeg Size: 50905 bytes Desc: Experiment_Scheme_2.jpg URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Experiment_Scheme_3.jpg Type: image/jpeg Size: 5965 bytes Desc: Experiment_Scheme_3.jpg URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Experiment_Scheme_1.jpg Type: image/jpeg Size: 38312 bytes Desc: Experiment_Scheme_1.jpg URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Beam_tubes.jpg Type: image/jpeg Size: 95723 bytes Desc: Beam_tubes.jpg URL: From messaoud209 at gmail.com Sun Feb 23 15:12:15 2014 From: messaoud209 at gmail.com (Morad Messaoud) Date: Sun, 23 Feb 2014 14:12:15 +0000 Subject: [mcstas-users] mcstas-users Digest, Vol 25, Issue 3 In-Reply-To: References: Message-ID: Hi, I need just example about the specter of reflectivity of a polariser supermirror (by reflexion and by transmission) and monochromator 2014-02-06 7:36 UTC, mcstas-users-request at mcstas.org : > Send mcstas-users mailing list submissions to > mcstas-users at mcstas.org > > To subscribe or unsubscribe via the World Wide Web, visit > http://mailman.mcstas.org/cgi-bin/mailman/listinfo/mcstas-users > or, via email, send a message with subject or body 'help' to > mcstas-users-request at mcstas.org > > You can reach the person managing the list at > mcstas-users-owner at mcstas.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of mcstas-users digest..." > > > Today's Topics: > > 1. Re: Fwd: Neutron Beam tracking - MCSTAS (Britt Rosendahl Hansen) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Wed, 5 Feb 2014 09:28:12 +0000 > From: Britt Rosendahl Hansen > To: Mar?a Freir?a L?pez > Cc: "mcstas-users at mcstas.org" > Subject: Re: [mcstas-users] Fwd: Neutron Beam tracking - MCSTAS > Message-ID: <764BA851-9CFB-4FD1-A19A-0FF60BC9170A at fysik.dtu.dk> > Content-Type: text/plain; charset="iso-8859-1" > > Hi Maria > > I think you could use the premonitor_nd and monitor_nd components to get the > answer you need. I suggest looking at these components in the component > manual. > > Feel free to write me again if you cannot get it to work. > > Regards, > Britt > > > Sent from my iPhone > >> On 05 Feb 2014, at 09:50, "Mar?a Freir?a L?pez" >> wrote: >> >> >> Hello everybody, >> >> my name is Mar?a Freir?a, Master Student in Nuclear Engineering at the >> Technische Universit?t M?nchen. Right now I am working at my Master Thesis >> at the research reactor FRM II, studying the viability of a future fuel >> conversion. >> >> The fact is that we did some experiments at the reactor in order to >> measure the cold neutron spectrum for different reactor power levels. >> >> Here is a brief description of the reactor: >> >> >> Several beam tubes supply various experimental stations with neutrons from >> different parts of the reactor. In our experiment we considered the tube >> SR-1 (connected to the cold source), which is subdivided into 6 smaller >> tubes as shown in the figure above. >> >> One of these 6 tubes (NL-4) is again divided into 2 tubes (named NL-4a and >> NL-4b) which lead to the 2 stations (SANS-1 and PGAA) where the measures >> were taken: >> >> >> >> >> >> The obtained results concerning neutron spectrum at the 2 stations differ >> from each other. Eventhough the neutrons in both tubes come from the cold >> source, based on the results, we think that the neutrons have a different >> nature, due to the heterogeneous properties along the cold source. A point >> to be taken into account is the fill level of the cold source (D2 - >> liquid deuterium aprox. 25K). Some experts suggest that the major part of >> the neutron flux analyzed at SANS-1 comes from the lower part of the cold >> source and in the case of PGAA the neutrons have their origin in the upper >> part of the tank (near the fill level). This would explain the different >> results at the 2 stations: >> >> >> >> In order to proof this theory, we started to work with MCSTAS. >> >> I got the instruments and components defined in MCSTAS which describe the >> geometry of the tube structure. But, as a beginner, I need to ask for some >> help: >> >> I need to know the origin of the neutrons which enter the tubes NL-4a and >> b. In other words: from which part of the cold source do most of the >> neutrons come in each case (NL-4a and NL-4b): >> >> >> >> Is it true that the neutron spectrum is different at the 2 experimental >> stations because the beam has its origin in different parts (the lower and >> the upper part) of the cold source? Or is the distribution almost >> homogeneous so that the beam properties in both tubes should be the same? >> >> >> In order to answer these questions, the suggestion made is to implement a >> kind of "marker" at the beginning of SR-1 divided in "n" cells. This would >> make it possible to know which of these neutrons "make their way" to >> SANS-1 and which others to PGAA. >> >> Is it viable to create such a "marker"? Or do you have any other >> suggestions for solving this problem? >> >> As I said, as a beginner I am not conscious of the possibilities that >> MCSTAS offers, that is why I was directed to you by Peter Link, Neutron >> Optics department at the FRM II. >> >> I hope I could explain my problem in a more or less understandable way :) >> >> I would be really greatfull for your help! >> >> Kind regards, >> >> Mar?a >> >> _______________________________________________ >> mcstas-users mailing list >> mcstas-users at mcstas.org >> http://mailman.mcstas.org/cgi-bin/mailman/listinfo/mcstas-users > -------------- next part -------------- > A non-text attachment was scrubbed... > Name: Experiment_Scheme_2.jpg > Type: image/jpeg > Size: 50905 bytes > Desc: Experiment_Scheme_2.jpg > URL: > > -------------- next part -------------- > A non-text attachment was scrubbed... > Name: Experiment_Scheme_3.jpg > Type: image/jpeg > Size: 5965 bytes > Desc: Experiment_Scheme_3.jpg > URL: > > -------------- next part -------------- > A non-text attachment was scrubbed... > Name: Experiment_Scheme_1.jpg > Type: image/jpeg > Size: 38312 bytes > Desc: Experiment_Scheme_1.jpg > URL: > > -------------- next part -------------- > A non-text attachment was scrubbed... > Name: Beam_tubes.jpg > Type: image/jpeg > Size: 95723 bytes > Desc: Beam_tubes.jpg > URL: > > > ------------------------------ > > _______________________________________________ > mcstas-users mailing list > mcstas-users at mcstas.org > http://mailman.mcstas.org/cgi-bin/mailman/listinfo/mcstas-users > > > End of mcstas-users Digest, Vol 25, Issue 3 > ******************************************* > From erkn at fysik.dtu.dk Mon Feb 24 16:33:04 2014 From: erkn at fysik.dtu.dk (=?ISO-8859-1?Q?Erik_Bergb=E4ck_Knudsen?=) Date: Mon, 24 Feb 2014 16:33:04 +0100 Subject: [mcstas-users] mcstas-users Digest, Vol 25, Issue 3 In-Reply-To: References: Message-ID: <530B6630.30408@fysik.dtu.dk> Dear Dr. Messaoud, I am not quite sure I understand your request, but I shall try to answer. Apologies if I have misunderstood you. To simulate a single polarising supermirror, you would use the Pol_mirror component. Take a look at Test_Pol_Mirror for an example of how to use it. If what you need is a spectrum for an actual physical device I'd suggest checking the websites of the commercial vendors such as Mirrotron, Swiss Neutronics, Misubishi, too name a few. cheers Erik On 02/23/2014 03:12 PM, Morad Messaoud wrote: > Hi, I need just example about the specter of reflectivity of a > polariser supermirror (by reflexion and by transmission) and > monochromator > > 2014-02-06 7:36 UTC, mcstas-users-request at mcstas.org > : >> Send mcstas-users mailing list submissions to >> mcstas-users at mcstas.org >> >> To subscribe or unsubscribe via the World Wide Web, visit >> http://mailman.mcstas.org/cgi-bin/mailman/listinfo/mcstas-users >> or, via email, send a message with subject or body 'help' to >> mcstas-users-request at mcstas.org >> >> You can reach the person managing the list at >> mcstas-users-owner at mcstas.org >> >> When replying, please edit your Subject line so it is more specific >> than "Re: Contents of mcstas-users digest..." >> >> >> Today's Topics: >> >> 1. Re: Fwd: Neutron Beam tracking - MCSTAS (Britt Rosendahl Hansen) >> >> >> ---------------------------------------------------------------------- >> >> Message: 1 >> Date: Wed, 5 Feb 2014 09:28:12 +0000 >> From: Britt Rosendahl Hansen >> To: Mar?a Freir?a L?pez >> Cc: "mcstas-users at mcstas.org" >> Subject: Re: [mcstas-users] Fwd: Neutron Beam tracking - MCSTAS >> Message-ID: <764BA851-9CFB-4FD1-A19A-0FF60BC9170A at fysik.dtu.dk> >> Content-Type: text/plain; charset="iso-8859-1" >> >> Hi Maria >> >> I think you could use the premonitor_nd and monitor_nd components to get the >> answer you need. I suggest looking at these components in the component >> manual. >> >> Feel free to write me again if you cannot get it to work. >> >> Regards, >> Britt >> >> >> Sent from my iPhone >> >>> On 05 Feb 2014, at 09:50, "Mar?a Freir?a L?pez" >>> wrote: >>> >>> >>> Hello everybody, >>> >>> my name is Mar?a Freir?a, Master Student in Nuclear Engineering at the >>> Technische Universit?t M?nchen. Right now I am working at my Master Thesis >>> at the research reactor FRM II, studying the viability of a future fuel >>> conversion. >>> >>> The fact is that we did some experiments at the reactor in order to >>> measure the cold neutron spectrum for different reactor power levels. >>> >>> Here is a brief description of the reactor: >>> >>> >>> Several beam tubes supply various experimental stations with neutrons from >>> different parts of the reactor. In our experiment we considered the tube >>> SR-1 (connected to the cold source), which is subdivided into 6 smaller >>> tubes as shown in the figure above. >>> >>> One of these 6 tubes (NL-4) is again divided into 2 tubes (named NL-4a and >>> NL-4b) which lead to the 2 stations (SANS-1 and PGAA) where the measures >>> were taken: >>> >>> >>> >>> >>> >>> The obtained results concerning neutron spectrum at the 2 stations differ >>> from each other. Eventhough the neutrons in both tubes come from the cold >>> source, based on the results, we think that the neutrons have a different >>> nature, due to the heterogeneous properties along the cold source. A point >>> to be taken into account is the fill level of the cold source (D2 - >>> liquid deuterium aprox. 25K). Some experts suggest that the major part of >>> the neutron flux analyzed at SANS-1 comes from the lower part of the cold >>> source and in the case of PGAA the neutrons have their origin in the upper >>> part of the tank (near the fill level). This would explain the different >>> results at the 2 stations: >>> >>> >>> >>> In order to proof this theory, we started to work with MCSTAS. >>> >>> I got the instruments and components defined in MCSTAS which describe the >>> geometry of the tube structure. But, as a beginner, I need to ask for some >>> help: >>> >>> I need to know the origin of the neutrons which enter the tubes NL-4a and >>> b. In other words: from which part of the cold source do most of the >>> neutrons come in each case (NL-4a and NL-4b): >>> >>> >>> >>> Is it true that the neutron spectrum is different at the 2 experimental >>> stations because the beam has its origin in different parts (the lower and >>> the upper part) of the cold source? Or is the distribution almost >>> homogeneous so that the beam properties in both tubes should be the same? >>> >>> >>> In order to answer these questions, the suggestion made is to implement a >>> kind of "marker" at the beginning of SR-1 divided in "n" cells. This would >>> make it possible to know which of these neutrons "make their way" to >>> SANS-1 and which others to PGAA. >>> >>> Is it viable to create such a "marker"? Or do you have any other >>> suggestions for solving this problem? >>> >>> As I said, as a beginner I am not conscious of the possibilities that >>> MCSTAS offers, that is why I was directed to you by Peter Link, Neutron >>> Optics department at the FRM II. >>> >>> I hope I could explain my problem in a more or less understandable way :) >>> >>> I would be really greatfull for your help! >>> >>> Kind regards, >>> >>> Mar?a >>> >>> _______________________________________________ >>> mcstas-users mailing list >>> mcstas-users at mcstas.org >>> http://mailman.mcstas.org/cgi-bin/mailman/listinfo/mcstas-users >> -------------- next part -------------- >> A non-text attachment was scrubbed... >> Name: Experiment_Scheme_2.jpg >> Type: image/jpeg >> Size: 50905 bytes >> Desc: Experiment_Scheme_2.jpg >> URL: >> >> -------------- next part -------------- >> A non-text attachment was scrubbed... >> Name: Experiment_Scheme_3.jpg >> Type: image/jpeg >> Size: 5965 bytes >> Desc: Experiment_Scheme_3.jpg >> URL: >> >> -------------- next part -------------- >> A non-text attachment was scrubbed... >> Name: Experiment_Scheme_1.jpg >> Type: image/jpeg >> Size: 38312 bytes >> Desc: Experiment_Scheme_1.jpg >> URL: >> >> -------------- next part -------------- >> A non-text attachment was scrubbed... >> Name: Beam_tubes.jpg >> Type: image/jpeg >> Size: 95723 bytes >> Desc: Beam_tubes.jpg >> URL: >> >> >> ------------------------------ >> >> _______________________________________________ >> mcstas-users mailing list >> mcstas-users at mcstas.org >> http://mailman.mcstas.org/cgi-bin/mailman/listinfo/mcstas-users >> >> >> End of mcstas-users Digest, Vol 25, Issue 3 >> ******************************************* >> > _______________________________________________ > mcstas-users mailing list > mcstas-users at mcstas.org > http://mailman.mcstas.org/cgi-bin/mailman/listinfo/mcstas-users > -- Erik Bergb?ck Knudsen, Research Engineer | DTU | morituri NEXMAP, DTU Fysik, DK-2800 Kgs. Lyngby, Denmark |<>-<>| te phone: (+45) 2132 3151, mobile: (+45) 3123 6184 |<>-<>| salutant From pkwi at fysik.dtu.dk Tue Feb 25 10:28:08 2014 From: pkwi at fysik.dtu.dk (=?utf-8?B?UGV0ZXIgS2rDpnIgV2lsbGVuZHJ1cA==?=) Date: Tue, 25 Feb 2014 09:28:08 +0000 Subject: [mcstas-users] New McStas release in the workings, fixes issue with ESS moderator bispectral moderator Message-ID: Hi all, This is just to let you know that the McStas team is working hard toward a new McStas release, McStas 2.1. Only one bit is missing: An updated ESS moderator component with: * Possibility for ?pancake? spectra * Simplified interface with less parameters, brilliance is defined via a simple string like ?2001?, ?TDR? or ?2014? * Possibility for either - MCNPX-like geometry with cylindrical cold moderator, thermal wings - Simple flat, mono-spectral source * Fixes the bispectral weighting issue mentioned below A tentative list of changes wrt. McStas 2.0 is available as an attachment to this email. The release should be available within apx. 1 week. Now for the bispectral weighting issue: In the currently available McStas bispectral sources, i.e. - The ?standard? McStas 2.0 bispectral source - The ?updated? ESS source for 1.12c and 2.0 use, (inside http://www.mcstas.org/download/share/ESS_source_20130502.zip) a bug was found, affecting bispectral instruments ONLY, where 0 < cold_frac < 1. The ?standard?, simple 1.12c mono-spectral source is NOT affected. When assigning statistics to the cold part of the spectrum via the cold_frac input parameter, a re-weighting of the spectrum was missing, i.e.: if (cold) { p/=cold_frac; // Divide by cold_frac to renormalise cold moderator intensity } else { p/=(1-cold_frac); // Divide by (1-cold_frac) to renormalise thermal moderator intensity } * In the case of a cold_frac of 50%, this means that existing results have been UNDERestimated by a ?clean? factor of 2. * As you can see from the ?equations", a cold_frac = 1 (i.e. cold neutrons only) or cold_frac = 0 (i.e. thermal neutrons only), these cases are NOT affected by the mis-weighting. * For non-trivial choices of cold_frac, the re-weighting is not as simple. We advice you to install McStas 2.1 to fix the issue. This release should be available within apx. 1 week. If you have any questions or concerns regarding this or other issues with McStas, feel free to write me an email. Best regards, and sorry for any inconvenience this may have caused! Peter Willendrup Peter Kj?r Willendrup Senior Research Engineer, Special Consultant DTU Physics [cid:79e8d7e5-955b-41f0-9f75-406d70cbe04f at win.dtu.dk] Technical University of Denmark [cid:976f2279-8e5e-4bfc-9555-276b77fd9d22 at win.dtu.dk] Department of Physics Fysikvej Building 307 DK-2800 Kongens Lyngby Direct +45 2125 4612 Mobil +45 2125 4612 Fax +45 4593 2399 pkwi at fysik.dtu.dk -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 58 bytes Desc: image001.gif URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.gif Type: image/gif Size: 1055 bytes Desc: image002.gif URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: CHANGES.txt URL: From pkwi at fysik.dtu.dk Mon Mar 10 17:34:25 2014 From: pkwi at fysik.dtu.dk (=?Windows-1252?Q?Peter_Kj=E6r_Willendrup?=) Date: Mon, 10 Mar 2014 16:34:25 +0000 Subject: [mcstas-users] Public beta McStas 2.1rc1 available Message-ID: <2F8D1BFF-E35C-4FEA-98D5-9C564F69BF2C@fysik.dtu.dk> Dear all, A public beta-release of the forthcoming McStas 2.1 is now available. As this is a beta-release that will be replaced by the official McStas 2.1, it is available via a special download page: http://downloads.mcstas.org/mcstas-2.1rc1/ The public beta includes an updated model for the ESS moderator (ESS_moderator.comp), including the "pancake" brilliance model and vertical assymetry of the cold moderator brilliance. (Special thanks to Troels Schoenfeldt and Esben Klinkby!) The final McStas 2.1 may still include further improvements of this new source component. Please also consult the new platform-oriented installation pages: ? Linux (and general Unix) Installation page at http://www.mcstas.org/download/install_linux/ ? Mac OS X Installation page at http://www.mcstas.org/download/install_mac_os_x/ ? Windows Installation page at http://www.mcstas.org/download/install_windows/ If you are on Unix (Linux/Mac) and want to keep your McStas 1.x or 2.0 alongside McStas 2.1rc or the forthcoming 2.1, please use our migration scripts ? mcstas 1.x migration script from http://trac.mccode.org/browser/trunk/tools/migration-tool/migrate-mcstas-1.x.sh ? mcstas 2.0 migration script from http://trac.mccode.org/browser/trunk/tools/migration-tool/migrate-mcstas-2.0.sh Best regards, Peter Willendrup Peter Kj?r Willendrup Senior Research Engineer, Special Advisor DTU Physics Technical University of Denmark [cid:image002.gif at 01CCCAF1.5E6331F0] Department of Physics Fysikvej Building 307 DK-2800 Kongens Lyngby Direct +45 2125 4612 Mobil +45 2125 4612 Fax +45 4593 2399 pkwi at fysik.dtu.dk -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 58 bytes Desc: image001.gif URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.gif Type: image/gif Size: 1055 bytes Desc: image002.gif URL: From pkwi at fysik.dtu.dk Mon Mar 10 17:55:31 2014 From: pkwi at fysik.dtu.dk (=?Windows-1252?Q?Peter_Kj=E6r_Willendrup?=) Date: Mon, 10 Mar 2014 16:55:31 +0000 Subject: [mcstas-users] Public beta McStas 2.1rc1 available In-Reply-To: <2F8D1BFF-E35C-4FEA-98D5-9C564F69BF2C@fysik.dtu.dk> References: <2F8D1BFF-E35C-4FEA-98D5-9C564F69BF2C@fysik.dtu.dk> Message-ID: Hello again, A quick note for those running on Debian-type systems: Please note that an apt-get dist-upgrade should automatically update your installed mcstas to 2.1rc1! Best, Peter Willendrup On 10 Mar 2014, at 17:34 , Peter Kj?r Willendrup > wrote: Dear all, A public beta-release of the forthcoming McStas 2.1 is now available. As this is a beta-release that will be replaced by the official McStas 2.1, it is available via a special download page: http://downloads.mcstas.org/mcstas-2.1rc1/ The public beta includes an updated model for the ESS moderator (ESS_moderator.comp), including the "pancake" brilliance model and vertical assymetry of the cold moderator brilliance. (Special thanks to Troels Schoenfeldt and Esben Klinkby!) The final McStas 2.1 may still include further improvements of this new source component. Please also consult the new platform-oriented installation pages: ? Linux (and general Unix) Installation page at http://www.mcstas.org/download/install_linux/ ? Mac OS X Installation page at http://www.mcstas.org/download/install_mac_os_x/ ? Windows Installation page at http://www.mcstas.org/download/install_windows/ If you are on Unix (Linux/Mac) and want to keep your McStas 1.x or 2.0 alongside McStas 2.1rc or the forthcoming 2.1, please use our migration scripts ? mcstas 1.x migration script from http://trac.mccode.org/browser/trunk/tools/migration-tool/migrate-mcstas-1.x.sh ? mcstas 2.0 migration script from http://trac.mccode.org/browser/trunk/tools/migration-tool/migrate-mcstas-2.0.sh Best regards, Peter Willendrup Peter Kj?r Willendrup Senior Research Engineer, Special Advisor DTU Physics Technical University of Denmark Department of Physics Fysikvej Building 307 DK-2800 Kongens Lyngby Direct +45 2125 4612 Mobil +45 2125 4612 Fax +45 4593 2399 pkwi at fysik.dtu.dk _______________________________________________ mcstas-users mailing list mcstas-users at mcstas.org http://mailman.mcstas.org/cgi-bin/mailman/listinfo/mcstas-users -------------- next part -------------- An HTML attachment was scrubbed... URL: From c.felder at fz-juelich.de Wed Mar 26 09:11:14 2014 From: c.felder at fz-juelich.de (Felder, Christian) Date: Wed, 26 Mar 2014 08:11:14 +0000 Subject: [mcstas-users] McStas 2.0 Installation from subversion tag Message-ID: <0B00EC5D-7D6D-4AB9-B4F9-347FDCFF9EEB@fz-juelich.de> Hello, I have recently installed McStas release 2.0 using your sources from subversion. After installation some directories and binary files have a -2.9999-svn suffix but are relying on system calls to e.g. mcstas without suffix. I tried to patch this myself using sed because I did not figure out how to configure a build without the suffix mentioned above. At the moment I resolved this issue using symlinks to the suffixed binaries. How to disable -2.99-svn suffix? I would like to get rid off these symlinks. See build instructions on bash below: for my_dir in mcstas mcstas-comps tools/Legacy-Perl tools/Python/mcplot/matplotlib ;\ do \ rm -rf ${my_dir}/build ;\ mkdir -p ${my_dir}/build &&\ cd ${my_dir}/build ;\ ${my_PREFIX}/bin/cmake -DCMAKE_INSTALL_PREFIX:PATH=${my_PREFIX} \ -Denable_mcstas=1 .. ;\ cd - ;\ done for my_dir in mcstas mcstas-comps tools/Legacy-Perl tools/Python/mcplot/matplotlib ;\ do \ cd ${my_dir}/build &&\ make -j2 ;\ cd - ;\ done for my_dir in mcstas mcstas-comps tools/Legacy-Perl tools/Python/mcplot/matplotlib ;\ do \ cd ${my_dir}/build &&\ make install DESTDIR=${my_DESTDIR} ;\ cd - ;\ done find ${my_DESTDIR} -name '.svn' -type d -exec rm -rf {}/ \\; || echo ;\ ln -s mccode-select-bundle-mcstas-2.9999-svn ${my_DESTDIR}/usr/local/bin/mccode-select-bundle-mcstas ;\ ln -s mccode-select-mcstas-2.9999-svn ${my_DESTDIR}/usr/local/bin/mccode-select-mcstas ;\ ln -s mcconfig-2.9999-svn ${my_DESTDIR}/usr/local/bin/mcconfig ;\ ln -s mcconvert-2.9999-svn ${my_DESTDIR}/usr/local/bin/mcconvert ;\ ln -s mcdaemon-2.9999-svn ${my_DESTDIR}/usr/local/bin/mcdaemon ;\ ln -s mcdisplay-2.9999-svn ${my_DESTDIR}/usr/local/bin/mcdisplay ;\ ln -s mcdoc-2.9999-svn ${my_DESTDIR}/usr/local/bin/mcdoc ;\ ln -s mcformat-2.9999-svn ${my_DESTDIR}/usr/local/bin/mcformat ;\ ln -s mcformatgui-2.9999-svn ${my_DESTDIR}/usr/local/bin/mcformatgui ;\ ln -s mcgui-2.9999-svn ${my_DESTDIR}/usr/local/bin/mcgui ;\ ln -s mcplot-2.9999-svn ${my_DESTDIR}/usr/local/bin/mcplot ;\ ln -s mcplot-2.9999-svn-matplotlib ${my_DESTDIR}/usr/local/bin/mcplot-matplotlib ;\ ln -s mcresplot-2.9999-svn ${my_DESTDIR}/usr/local/bin/mcresplot ;\ ln -s mcrun-2.9999-svn ${my_DESTDIR}/usr/local/bin/mcrun ;\ ln -s mcstas-2.9999-svn ${my_DESTDIR}/usr/local/bin/mcstas ;\ ln -s mcstas2vitess-2.9999-svn ${my_DESTDIR}/usr/local/bin/mcstas2vitess Thanks in advance. Best Christian Felder J?lich Centre for Neutron Science JCNS Forschungszentrum J?lich GmbH Outstation at MLZ Lichtenbergstra?e 1 85747 Garching GERMANY Telefon: +49 - 89 289 10 773 Telefax: +49 - 89 289 10 799 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 4621 bytes Desc: not available URL: From pkwi at fysik.dtu.dk Wed Mar 26 09:24:24 2014 From: pkwi at fysik.dtu.dk (=?Windows-1252?Q?Peter_Kj=E6r_Willendrup?=) Date: Wed, 26 Mar 2014 08:24:24 +0000 Subject: [mcstas-users] McStas 2.0 Installation from subversion tag In-Reply-To: <0B00EC5D-7D6D-4AB9-B4F9-347FDCFF9EEB@fz-juelich.de> References: <0B00EC5D-7D6D-4AB9-B4F9-347FDCFF9EEB@fz-juelich.de> Message-ID: Hello Christian, Two comments/ideas: 1) If you are getting the -2.9999-svn suffixes, my guess is that you are building the packages independently (and locally) using cmake? My suggestion would be to inspire from one of the ?high level build scripts? build_* sitting at the top level of our SVN trunk - these use the mkdist script which automates building and adds various extra configuration options, including control of the versioning. 2) Since McStas 2.0 we have moved away from the -verison- naming on the binaries (and removed use of the related mccode-select tool) - plus further fixed various other things. Hence if you install the current development SVN (which is _really_ close to being the official 2.1), you will have mcstas, mcrun et al. in a version-sepecific folder (like /usr/local/mcstas/version/bin) rather than with version-specific naming in /usr/local/bin Hope this helps, otherwise write back to me off-list Peter On 26 Mar 2014, at 09:11 , Felder, Christian > wrote: Hello, I have recently installed McStas release 2.0 using your sources from subversion. After installation some directories and binary files have a -2.9999-svn suffix but are relying on system calls to e.g. mcstas without suffix. I tried to patch this myself using sed because I did not figure out how to configure a build without the suffix mentioned above. At the moment I resolved this issue using symlinks to the suffixed binaries. How to disable -2.99-svn suffix? I would like to get rid off these symlinks. See build instructions on bash below: for my_dir in mcstas mcstas-comps tools/Legacy-Perl tools/Python/mcplot/matplotlib ;\ do \ rm -rf ${my_dir}/build ;\ mkdir -p ${my_dir}/build &&\ cd ${my_dir}/build ;\ ${my_PREFIX}/bin/cmake -DCMAKE_INSTALL_PREFIX:PATH=${my_PREFIX} \ -Denable_mcstas=1 .. ;\ cd - ;\ done for my_dir in mcstas mcstas-comps tools/Legacy-Perl tools/Python/mcplot/matplotlib ;\ do \ cd ${my_dir}/build &&\ make -j2 ;\ cd - ;\ done for my_dir in mcstas mcstas-comps tools/Legacy-Perl tools/Python/mcplot/matplotlib ;\ do \ cd ${my_dir}/build &&\ make install DESTDIR=${my_DESTDIR} ;\ cd - ;\ done find ${my_DESTDIR} -name '.svn' -type d -exec rm -rf {}/ \\; || echo ;\ ln -s mccode-select-bundle-mcstas-2.9999-svn ${my_DESTDIR}/usr/local/bin/mccode-select-bundle-mcstas ;\ ln -s mccode-select-mcstas-2.9999-svn ${my_DESTDIR}/usr/local/bin/mccode-select-mcstas ;\ ln -s mcconfig-2.9999-svn ${my_DESTDIR}/usr/local/bin/mcconfig ;\ ln -s mcconvert-2.9999-svn ${my_DESTDIR}/usr/local/bin/mcconvert ;\ ln -s mcdaemon-2.9999-svn ${my_DESTDIR}/usr/local/bin/mcdaemon ;\ ln -s mcdisplay-2.9999-svn ${my_DESTDIR}/usr/local/bin/mcdisplay ;\ ln -s mcdoc-2.9999-svn ${my_DESTDIR}/usr/local/bin/mcdoc ;\ ln -s mcformat-2.9999-svn ${my_DESTDIR}/usr/local/bin/mcformat ;\ ln -s mcformatgui-2.9999-svn ${my_DESTDIR}/usr/local/bin/mcformatgui ;\ ln -s mcgui-2.9999-svn ${my_DESTDIR}/usr/local/bin/mcgui ;\ ln -s mcplot-2.9999-svn ${my_DESTDIR}/usr/local/bin/mcplot ;\ ln -s mcplot-2.9999-svn-matplotlib ${my_DESTDIR}/usr/local/bin/mcplot-matplotlib ;\ ln -s mcresplot-2.9999-svn ${my_DESTDIR}/usr/local/bin/mcresplot ;\ ln -s mcrun-2.9999-svn ${my_DESTDIR}/usr/local/bin/mcrun ;\ ln -s mcstas-2.9999-svn ${my_DESTDIR}/usr/local/bin/mcstas ;\ ln -s mcstas2vitess-2.9999-svn ${my_DESTDIR}/usr/local/bin/mcstas2vitess Thanks in advance. Best Christian Felder J?lich Centre for Neutron Science JCNS Forschungszentrum J?lich GmbH Outstation at MLZ Lichtenbergstra?e 1 85747 Garching GERMANY Telefon: +49 - 89 289 10 773 Telefax: +49 - 89 289 10 799 _______________________________________________ mcstas-users mailing list mcstas-users at mcstas.org http://mailman.mcstas.org/cgi-bin/mailman/listinfo/mcstas-users -------------- next part -------------- An HTML attachment was scrubbed... URL: