# Diffraction Pattern in Optical Physics

**URL:** <https://geant4-forum.web.cern.ch/t/diffraction-pattern-in-optical-physics/9851>\
**Category:** Physics Processes, Models and Cross Sections\
**Created:** [February 3, 2023, 8:07am UTC](https://geant4-forum.web.cern.ch/t/diffraction-pattern-in-optical-physics/9851 "2023-02-03T08:07:11Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![timkarstens](https://geant4-forum.web.cern.ch/user_avatar/geant4-forum.web.cern.ch/timkarstens/32/6014_2.png) [@timkarstens](https://geant4-forum.web.cern.ch/u/timkarstens)\
**Post date:** [February 3, 2023, 8:07am UTC](https://geant4-forum.web.cern.ch/t/diffraction-pattern-in-optical-physics/9851/1 "2023-02-03T08:07:12Z")

</div>

Hello Everyone,

is it possible to simulate diffraction with optical photons in Geant4? For example simulating a light source through an aperture? It doesnt seem so in my similations

Thank you very much!

T

---

<div class="post-metadata">

**Author:** ![mkelsey](https://geant4-forum.web.cern.ch/user_avatar/geant4-forum.web.cern.ch/mkelsey/32/49_2.png) [@mkelsey](https://geant4-forum.web.cern.ch/u/mkelsey)\
**Post date:** [February 3, 2023, 3:42pm UTC](https://geant4-forum.web.cern.ch/t/diffraction-pattern-in-optical-physics/9851/2 "2023-02-03T15:42:52Z")

</div>

No, it’s not possible. Geant4 treats optical photons as Newtonian “corpuscles,” not as waves. Apertures, no matter how narrow, act as simple “collimators.”

I put a little thought into how to do this a long time ago, and it wouldn’t be easy. I think you would need to define the aperture itself as a separate volume, so that Geant4 would have a step boundary at the entrance and exit of the aperture. Then you could have a separate “diffraction process” to change the photon’s direction.

---

<div class="post-metadata">

**Author:** ![timkarstens](https://geant4-forum.web.cern.ch/user_avatar/geant4-forum.web.cern.ch/timkarstens/32/6014_2.png) [@timkarstens](https://geant4-forum.web.cern.ch/u/timkarstens)\
**Post date:** [February 7, 2023, 2:46pm UTC](https://geant4-forum.web.cern.ch/t/diffraction-pattern-in-optical-physics/9851/3 "2023-02-07T14:46:39Z")

</div>

Thanks for the quick answer, i was afraid of that. i see what i can get nevertheless

---

<div class="post-metadata">

**Author:** ![system](https://geant4-forum.web.cern.ch/uploads/default/original/1X/ce519a43ebdf7ac48a98a03c6ad6eea013b68c46.png) [@system](https://geant4-forum.web.cern.ch/u/system)\
**Post date:** [April 13, 2023, 9:58am UTC](https://geant4-forum.web.cern.ch/t/diffraction-pattern-in-optical-physics/9851/4 "2023-04-13T09:58:46Z")

</div>

Closed on April 13, 2023, 9:58am UTC

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
