danedmunds
Newbie level 1
Hi,
First time post here and a bit of a desperate attempt to get some help with a major hold up in my PhD research.
Basically I am writing FDTD code to analyse the effects of laser light through small apertures used in new HAMR technology. I am writing the code in Matlab and have just got to the point where i am attempting to insert a plane wave incident source using TF/SF technique but I want it to have a Gaussian shape profile like that of a typical laser in optical systems.
Does anybody out there have any suggestions or code that would help me achieve this. I have been through many papers and books who all seem to uses the same approach within certain extents but none have came up with a definitive answer. I am using a transverse electric approach in 2D at the moment and can implement a plane wave but when it comes to applying a Gaussian shap function it all goes wrong!!
Any help at all would be appreciated.
Thanks
Dan
First time post here and a bit of a desperate attempt to get some help with a major hold up in my PhD research.
Basically I am writing FDTD code to analyse the effects of laser light through small apertures used in new HAMR technology. I am writing the code in Matlab and have just got to the point where i am attempting to insert a plane wave incident source using TF/SF technique but I want it to have a Gaussian shape profile like that of a typical laser in optical systems.
Does anybody out there have any suggestions or code that would help me achieve this. I have been through many papers and books who all seem to uses the same approach within certain extents but none have came up with a definitive answer. I am using a transverse electric approach in 2D at the moment and can implement a plane wave but when it comes to applying a Gaussian shap function it all goes wrong!!
Any help at all would be appreciated.
Thanks
Dan