CUDA-based focused Gaussian beams second-harmonic generation efficiency calculator

IF 7.2 2区 物理与天体物理 Q1 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS Computer Physics Communications Pub Date : 2024-05-06 DOI:10.1016/j.cpc.2024.109232
A.D. Sanchez , S. Chaitanya Kumar , M. Ebrahim-Zadeh
{"title":"CUDA-based focused Gaussian beams second-harmonic generation efficiency calculator","authors":"A.D. Sanchez ,&nbsp;S. Chaitanya Kumar ,&nbsp;M. Ebrahim-Zadeh","doi":"10.1016/j.cpc.2024.109232","DOIUrl":null,"url":null,"abstract":"<div><p>We present an object-oriented programming (OOP) CUDA-based package for fast and accurate simulation of second-harmonic generation (SHG) efficiency using focused Gaussian beams. The model includes linear as well as two-photon absorption that can ultimately lead to thermal lensing due to self-heating effects. Our approach speeds up calculations by nearly 40x (11x) without (with) temperature profiles with respect to an equivalent implementation using CPU. The package offers a valuable tool for experimental design and study of 3D field propagation in nonlinear three-wave interactions. It is useful for optimization of SHG-based experiments and mitigates undesired thermal effects, enabling improved oven designs and advanced device architectures, leading to stable, efficient high-power SHG.</p></div><div><h3>Program summary</h3><p><em>Program Title:</em> <span>cuSHG</span></p><p><em>CPC Library link to program files:</em> <span>https://doi.org/10.17632/hn76s7x848.1</span><svg><path></path></svg></p><p><em>Developer's repository link:</em> <span>https://github.com/alfredos84/cuSHG</span><svg><path></path></svg></p><p><em>Licensing provisions:</em> MIT</p><p><em>Programming language:</em> <figure><img></figure>, CUDA</p><p><em>Nature of problem:</em> The problem which is solved in this work is that of second-harmonic generation (SHG) performance degradation in a nonlinear crystal with focused Gaussian beams due to thermal effects. By placing the nonlinear crystal in an oven that controls temperature, the package computes the involved electric fields along the medium. The implemented model includes the linear and nonlinear absorption which occasionally lead to self-heating effect, degrading the performance of the SHG.</p><p><em>Solution method:</em> The coupled differential equations for three-wave interactions, which describe the field evolution along the crystal, are solved using the well-known Split-Step Fourier method. The temperature profiles are estimated using the finite-elements method. The field evolution and thermal effects are embedded in a self-consistent algorithm that sequentially and separately solves the electromagnetic and thermal problems until the system reaches the steady state. Due to the eventual computational demand that some problems may have, we chose to implement the coupled equations in the <figure><img></figure>/CUDA programming language. This allows us to significantly speed up simulations, thanks to the computing power provided by a graphics processing unit (GPU) card. The output files obtained are the interacting electric fields and the temperature profile, which have to be analyzed during post-processing.</p></div>","PeriodicalId":285,"journal":{"name":"Computer Physics Communications","volume":null,"pages":null},"PeriodicalIF":7.2000,"publicationDate":"2024-05-06","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Computer Physics Communications","FirstCategoryId":"101","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0010465524001553","RegionNum":2,"RegionCategory":"物理与天体物理","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS","Score":null,"Total":0}
引用次数: 0

Abstract

We present an object-oriented programming (OOP) CUDA-based package for fast and accurate simulation of second-harmonic generation (SHG) efficiency using focused Gaussian beams. The model includes linear as well as two-photon absorption that can ultimately lead to thermal lensing due to self-heating effects. Our approach speeds up calculations by nearly 40x (11x) without (with) temperature profiles with respect to an equivalent implementation using CPU. The package offers a valuable tool for experimental design and study of 3D field propagation in nonlinear three-wave interactions. It is useful for optimization of SHG-based experiments and mitigates undesired thermal effects, enabling improved oven designs and advanced device architectures, leading to stable, efficient high-power SHG.

Program summary

Program Title: cuSHG

CPC Library link to program files: https://doi.org/10.17632/hn76s7x848.1

Developer's repository link: https://github.com/alfredos84/cuSHG

Licensing provisions: MIT

Programming language:

, CUDA

Nature of problem: The problem which is solved in this work is that of second-harmonic generation (SHG) performance degradation in a nonlinear crystal with focused Gaussian beams due to thermal effects. By placing the nonlinear crystal in an oven that controls temperature, the package computes the involved electric fields along the medium. The implemented model includes the linear and nonlinear absorption which occasionally lead to self-heating effect, degrading the performance of the SHG.

Solution method: The coupled differential equations for three-wave interactions, which describe the field evolution along the crystal, are solved using the well-known Split-Step Fourier method. The temperature profiles are estimated using the finite-elements method. The field evolution and thermal effects are embedded in a self-consistent algorithm that sequentially and separately solves the electromagnetic and thermal problems until the system reaches the steady state. Due to the eventual computational demand that some problems may have, we chose to implement the coupled equations in the

/CUDA programming language. This allows us to significantly speed up simulations, thanks to the computing power provided by a graphics processing unit (GPU) card. The output files obtained are the interacting electric fields and the temperature profile, which have to be analyzed during post-processing.

查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
基于 CUDA 的聚焦高斯光束二次谐波生成效率计算器
我们介绍了一种基于面向对象编程(OOP)的 CUDA 软件包,用于利用聚焦高斯光束快速、准确地模拟二次谐波发生(SHG)效率。该模型包括线性吸收和双光子吸收,最终会因自热效应导致热透镜效应。与使用中央处理器的等效实现相比,我们的方法在没有(有)温度曲线的情况下将计算速度提高了近 40 倍(11 倍)。该软件包为非线性三波相互作用中三维场传播的实验设计和研究提供了宝贵的工具。它有助于优化基于 SHG 的实验,减轻不希望出现的热效应,从而改进烘箱设计和先进的设备架构,实现稳定、高效的高功率 SHG。程序摘要程序标题:cuSHGCPC 程序文件库链接:https://doi.org/10.17632/hn76s7x848.1Developer's repository 链接:https://github.com/alfredos84/cuSHGLicensing provisions:MITProgramming language:问题性质:本工作所要解决的问题是,在具有聚焦高斯光束的非线性晶体中,由于热效应导致二次谐波发生(SHG)性能下降。通过将非线性晶体置于控制温度的烤箱中,软件包计算了沿介质的相关电场。实现的模型包括线性和非线性吸收,这些吸收偶尔会导致自热效应,从而降低 SHG 的性能:采用著名的分步傅立叶法求解三波相互作用的耦合微分方程,该方程描述了沿晶体的场演化。温度曲线采用有限元法估算。场演变和热效应被嵌入一个自洽算法中,该算法按顺序分别求解电磁和热问题,直到系统达到稳定状态。由于某些问题最终可能需要计算,我们选择用 /CUDA 编程语言实现耦合方程。借助图形处理单元(GPU)卡提供的计算能力,我们可以大大加快模拟速度。获得的输出文件是相互作用的电场和温度曲线,必须在后处理过程中对其进行分析。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
Computer Physics Communications
Computer Physics Communications 物理-计算机:跨学科应用
CiteScore
12.10
自引率
3.20%
发文量
287
审稿时长
5.3 months
期刊介绍: The focus of CPC is on contemporary computational methods and techniques and their implementation, the effectiveness of which will normally be evidenced by the author(s) within the context of a substantive problem in physics. Within this setting CPC publishes two types of paper. Computer Programs in Physics (CPiP) These papers describe significant computer programs to be archived in the CPC Program Library which is held in the Mendeley Data repository. The submitted software must be covered by an approved open source licence. Papers and associated computer programs that address a problem of contemporary interest in physics that cannot be solved by current software are particularly encouraged. Computational Physics Papers (CP) These are research papers in, but are not limited to, the following themes across computational physics and related disciplines. mathematical and numerical methods and algorithms; computational models including those associated with the design, control and analysis of experiments; and algebraic computation. Each will normally include software implementation and performance details. The software implementation should, ideally, be available via GitHub, Zenodo or an institutional repository.In addition, research papers on the impact of advanced computer architecture and special purpose computers on computing in the physical sciences and software topics related to, and of importance in, the physical sciences may be considered.
期刊最新文献
A novel model for direct numerical simulation of suspension dynamics with arbitrarily shaped convex particles Editorial Board Study α decay and proton emission based on data-driven symbolic regression Efficient determination of free energies of non-ideal solid solutions via hybrid Monte Carlo simulations 1D drift-kinetic numerical model based on semi-implicit particle-in-cell method
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1