Computational Physics Video 31 - Writing a Monte Carlo Radiation Transport Code

  Рет қаралды 23,666

Hywel Owen

Hywel Owen

Күн бұрын

Пікірлер
@KevinWeatherwalks
@KevinWeatherwalks 8 жыл бұрын
At 19:00 shouldn't it be ravg = mean(r); ? mean(r(j)) would be taking the average of just a single value, no?
@syahrildeutch
@syahrildeutch 8 жыл бұрын
I think so, it should be mean(r). Anyway it's great tutorial. Thank you Mr Owen
@elhussienhassansirelkhatim4436
@elhussienhassansirelkhatim4436 5 жыл бұрын
So nice. Thank you for this great and clear explanation. I hope if it is possible to add extra two cods for photon and electron in therapeutic range of energy
@jakemuff9407
@jakemuff9407 2 жыл бұрын
Great vid but would help having the source code to play around with! Also, in this example is there an theoretical way to estimate it through symmetry?
@paragrane4760
@paragrane4760 5 жыл бұрын
You are great
@khararboy
@khararboy 5 жыл бұрын
Dear sir I m also working on monte carlo technique but with photons... Your lecture is very best as it is moving in same direction as I was thinking. Sir I have doubt regarding absorption of photon. Suppose if photon are from 0.1 to 2 micrometer wavelength range. Let say one photon at particular wavelength absorbed. How would I know the total energy of photons absorbed in same code as you put for neutron. Kindly suggest
@HywelOwen
@HywelOwen 5 жыл бұрын
Your question is not specific. Please re-word it.
@khararboy
@khararboy 5 жыл бұрын
Dear sir if we take photon of sun light from wavelength 0.1 to 2.5 micrometer. How we would analyse the photon energy in similar program. SAY if photon absorbed than how to express their energy after absorption. If N =1000 and they absorb randomly on different wavelength. What would be total absorbed photon energy and their count.... As you did for tin and tout
@HywelOwen
@HywelOwen 5 жыл бұрын
@@khararboy Your question is still not clearly worded.
@khararboy
@khararboy 5 жыл бұрын
Can you give one lecture on solar photon transport on solar collector based on monte carlo technique
@HywelOwen
@HywelOwen 5 жыл бұрын
@@khararboy Not really, no.
@dr_ashraf-hamedgad5700
@dr_ashraf-hamedgad5700 5 жыл бұрын
Can you help me, I want the attenuation factor of neutron transportation......an example when *( thermal neutron flux 10^4) transport in a 10 cm sheet of polyethylene....give me the results and your program sheet
@HywelOwen
@HywelOwen 5 жыл бұрын
You can calculate the numbers you want using the method I describe, but you should not use this code for any safety-critical purpose. Also, this is a basic introduction and you should not that attenuation of neutrons in shielding is not a simple process.
@walidahammed2350
@walidahammed2350 4 жыл бұрын
Hello sir,Thanks for making a such a good tutorial. Why don't you make another tutorial on fluka ? It'd be really helpful for those who want to learn this.
@HywelOwen
@HywelOwen 4 жыл бұрын
This is a course on how radiation transport is done, not a course about particular codes. There is lots of teaching material online about FLUKA.
@waqasahmad0112
@waqasahmad0112 4 жыл бұрын
Can you help me with coding the MC simulation program for multiple scattering of photon considering the polarized light?
@HywelOwen
@HywelOwen 4 жыл бұрын
Sorry, no! But you can take this module as part of our degree in physics at Manchester.
@waqasahmad0112
@waqasahmad0112 4 жыл бұрын
@@HywelOwen May I know your email please
@Rugbylover39
@Rugbylover39 4 жыл бұрын
Hi, I've written a monte carlo program that calculates fluence as a function of depth in a multilayer medium for photon transport. The code appears to work well when I store the absorption positions in a cartesian array, but when I attempt to store in cylindrical coordinates, the fluence along the z axis is very low. The source is an infinitely narrow beam at the origin with unity direction along the z axis. I'm sorry, it's probably difficult to troubleshoot without seeing the code, but is there any solution that might come to mind? The number of launched particles is not an issue. Thank you.
@Rugbylover39
@Rugbylover39 4 жыл бұрын
Edit: I understand that in cylindrical coordinates, the element volume is small along the z-axis due to the small radial displacement. But I don't believe this is the cause as I have already normalized the absorption array by the element volumes.
@HywelOwen
@HywelOwen 4 жыл бұрын
@@Rugbylover39 You probably need to multiply your fluence by 1/r.
@Rugbylover39
@Rugbylover39 4 жыл бұрын
@@HywelOwen Thank you so much! I did have an issue with correctly calculating my volume!
@HywelOwen
@HywelOwen 4 жыл бұрын
@@Rugbylover39 Jacobian
@oussamaelkhiar9721
@oussamaelkhiar9721 3 жыл бұрын
hello sir, can i know where do the formulas for s and theta and phi come from please ?
@HywelOwen
@HywelOwen 3 жыл бұрын
These are explained in an earlier video in the series.
@oussamaelkhiar9721
@oussamaelkhiar9721 3 жыл бұрын
Thank you very much ! Can i please ask one more thing, why exactly do we need an exponentially distibuted sampling for our step ? Why isnt the neutron step just uniformly distributed ? Physically is it because of energy loss ? Thank you so much for your time and effort
@HywelOwen
@HywelOwen 3 жыл бұрын
@@oussamaelkhiar9721 Again, this is covered in earlier videos: 27, 28, 29
@grzegorzzielonka7217
@grzegorzzielonka7217 7 жыл бұрын
Hi, have you tried to simulate such process in Flair Fluka ?
@HywelOwen
@HywelOwen 7 жыл бұрын
Yes, you can use codes such as Fluka to do radiation transport. The three main codes I see used are MCNP, GEANT4 and Fluka. The point of my video is so that people can learn how codes like Fluka work; they all work in basically the same way. However, if you are doing real-world predictions of radiation transport then you should use an appropriate code. The benefit of codes like Fluka is primarily that they have been thoroughly debugged and that the cross-section tables have been benchmarked against real situations.
@petrussegetmena6041
@petrussegetmena6041 3 жыл бұрын
Can your get your code?
@HywelOwen
@HywelOwen 3 жыл бұрын
I don’t understand your question.
@petrussegetmena6041
@petrussegetmena6041 3 жыл бұрын
@@HywelOwen sorry Hywel, i mean can i get your code?
@petrussegetmena6041
@petrussegetmena6041 3 жыл бұрын
I am very interested in your explanation of this material.
@HywelOwen
@HywelOwen 3 жыл бұрын
@@petrussegetmena6041 The code is shown in this tutorial video. The idea is that you write your own program while you're watching this video; that way you learn how the code works. The code is not practically useful though - I mean, you can't use it for real-world applications. For that, you should use a professional tool such as GEANT4.
@petrussegetmena6041
@petrussegetmena6041 3 жыл бұрын
@@HywelOwen Thank you for replying to my comment, I really appreciate it
@marwanabas5524
@marwanabas5524 6 жыл бұрын
you are whispering!! with full volume sounds and I hear nothing!!
@HywelOwen
@HywelOwen 6 жыл бұрын
Marwan Abas Your speakers aren’t working.
6. Monte Carlo Simulation
50:05
MIT OpenCourseWare
Рет қаралды 2,1 МЛН
Applied Optimization - Monte Carlo Method
16:31
purdueMET
Рет қаралды 13 М.
Who is More Stupid? #tiktok #sigmagirl #funny
0:27
CRAZY GREAPA
Рет қаралды 10 МЛН
OCCUPIED #shortssprintbrasil
0:37
Natan por Aí
Рет қаралды 131 МЛН
How to Perform Monte Carlo Integration in MATLAB | MATLAB Tutorial
16:34
Monte Carlo Methods in Radiation Therapy
38:14
Medical Physics, Radiation Oncology & Cancer
Рет қаралды 1,6 М.
The Monte Carlo Method
16:01
RandomMathsInc
Рет қаралды 82 М.
Monte Carlo Method: Value at Risk (VaR) In Excel
10:13
Ryan O'Connell, CFA, FRM
Рет қаралды 56 М.
Writing a Physics Engine from scratch
9:24
Pezzza's Work
Рет қаралды 212 М.
Oh, wait, actually the best Wordle opener is not “crane”…
10:53
21. Neutron Transport
54:22
MIT OpenCourseWare
Рет қаралды 51 М.
Monte Carlo Simulation of a Stock Portfolio with Python
18:23