Cargando…

Verification method of Monte Carlo codes for transport processes with arbitrary accuracy

In this work, we present a robust and powerful method for the verification, with arbitrary accuracy, of Monte Carlo codes for simulating random walks in complex media. Such random walks are typical of photon propagation in turbid media, scattering of particles, i.e., neutrons in a nuclear reactor or...

Descripción completa

Detalles Bibliográficos
Autores principales: Martelli, Fabrizio, Tommasi, Federico, Sassaroli, Angelo, Fini, Lorenzo, Cavalieri, Stefano
Formato: Online Artículo Texto
Lenguaje:English
Publicado: Nature Publishing Group UK 2021
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8484597/
https://www.ncbi.nlm.nih.gov/pubmed/34593837
http://dx.doi.org/10.1038/s41598-021-98429-3
_version_ 1784577352763703296
author Martelli, Fabrizio
Tommasi, Federico
Sassaroli, Angelo
Fini, Lorenzo
Cavalieri, Stefano
author_facet Martelli, Fabrizio
Tommasi, Federico
Sassaroli, Angelo
Fini, Lorenzo
Cavalieri, Stefano
author_sort Martelli, Fabrizio
collection PubMed
description In this work, we present a robust and powerful method for the verification, with arbitrary accuracy, of Monte Carlo codes for simulating random walks in complex media. Such random walks are typical of photon propagation in turbid media, scattering of particles, i.e., neutrons in a nuclear reactor or animal/humans’ migration. Among the numerous applications, Monte Carlo method is also considered a gold standard for numerically “solving” the scalar radiative transport equation even in complex geometries and distributions of the optical properties. In this work, we apply the verification method to a Monte Carlo code which is a forward problem solver extensively used for typical applications in the field of tissue optics. The method is based on the well-known law of average path length invariance when the entrance of the entities/particles in a medium obeys to a simple cosine law, i.e., Lambertian entrance, and annihilation of particles inside the medium is absent. By using this law we achieve two important points: (1) the invariance of the average path length guarantees that the expected value is known regardless of the complexity of the medium; (2) the accuracy of a Monte Carlo code can be assessed by simple statistical tests. We will show that we can reach an arbitrary accuracy of the estimated average pathlength as the number of simulated trajectories increases. The method can be applied in complete generality versus the scattering and geometrical properties of the medium, as well as in presence of refractive index mismatches in the optical case. In particular, this verification method is reliable to detect inaccuracies in the treatment of boundaries of finite media. The results presented in this paper, obtained by a standard computer machine, show a verification of our Monte Carlo code up to the sixth decimal digit. We discuss how this method can provide a fundamental tool for the verification of Monte Carlo codes in the geometry of interest, without resorting to simpler geometries and uniform distribution of the scattering properties.
format Online
Article
Text
id pubmed-8484597
institution National Center for Biotechnology Information
language English
publishDate 2021
publisher Nature Publishing Group UK
record_format MEDLINE/PubMed
spelling pubmed-84845972021-10-04 Verification method of Monte Carlo codes for transport processes with arbitrary accuracy Martelli, Fabrizio Tommasi, Federico Sassaroli, Angelo Fini, Lorenzo Cavalieri, Stefano Sci Rep Article In this work, we present a robust and powerful method for the verification, with arbitrary accuracy, of Monte Carlo codes for simulating random walks in complex media. Such random walks are typical of photon propagation in turbid media, scattering of particles, i.e., neutrons in a nuclear reactor or animal/humans’ migration. Among the numerous applications, Monte Carlo method is also considered a gold standard for numerically “solving” the scalar radiative transport equation even in complex geometries and distributions of the optical properties. In this work, we apply the verification method to a Monte Carlo code which is a forward problem solver extensively used for typical applications in the field of tissue optics. The method is based on the well-known law of average path length invariance when the entrance of the entities/particles in a medium obeys to a simple cosine law, i.e., Lambertian entrance, and annihilation of particles inside the medium is absent. By using this law we achieve two important points: (1) the invariance of the average path length guarantees that the expected value is known regardless of the complexity of the medium; (2) the accuracy of a Monte Carlo code can be assessed by simple statistical tests. We will show that we can reach an arbitrary accuracy of the estimated average pathlength as the number of simulated trajectories increases. The method can be applied in complete generality versus the scattering and geometrical properties of the medium, as well as in presence of refractive index mismatches in the optical case. In particular, this verification method is reliable to detect inaccuracies in the treatment of boundaries of finite media. The results presented in this paper, obtained by a standard computer machine, show a verification of our Monte Carlo code up to the sixth decimal digit. We discuss how this method can provide a fundamental tool for the verification of Monte Carlo codes in the geometry of interest, without resorting to simpler geometries and uniform distribution of the scattering properties. Nature Publishing Group UK 2021-09-30 /pmc/articles/PMC8484597/ /pubmed/34593837 http://dx.doi.org/10.1038/s41598-021-98429-3 Text en © The Author(s) 2021 https://creativecommons.org/licenses/by/4.0/Open AccessThis article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/ (https://creativecommons.org/licenses/by/4.0/) .
spellingShingle Article
Martelli, Fabrizio
Tommasi, Federico
Sassaroli, Angelo
Fini, Lorenzo
Cavalieri, Stefano
Verification method of Monte Carlo codes for transport processes with arbitrary accuracy
title Verification method of Monte Carlo codes for transport processes with arbitrary accuracy
title_full Verification method of Monte Carlo codes for transport processes with arbitrary accuracy
title_fullStr Verification method of Monte Carlo codes for transport processes with arbitrary accuracy
title_full_unstemmed Verification method of Monte Carlo codes for transport processes with arbitrary accuracy
title_short Verification method of Monte Carlo codes for transport processes with arbitrary accuracy
title_sort verification method of monte carlo codes for transport processes with arbitrary accuracy
topic Article
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8484597/
https://www.ncbi.nlm.nih.gov/pubmed/34593837
http://dx.doi.org/10.1038/s41598-021-98429-3
work_keys_str_mv AT martellifabrizio verificationmethodofmontecarlocodesfortransportprocesseswitharbitraryaccuracy
AT tommasifederico verificationmethodofmontecarlocodesfortransportprocesseswitharbitraryaccuracy
AT sassaroliangelo verificationmethodofmontecarlocodesfortransportprocesseswitharbitraryaccuracy
AT finilorenzo verificationmethodofmontecarlocodesfortransportprocesseswitharbitraryaccuracy
AT cavalieristefano verificationmethodofmontecarlocodesfortransportprocesseswitharbitraryaccuracy