首页 > 最新文献

Journal of Computational Physics最新文献

英文 中文
A double-layer non-hydrostatic model for simulating wave-structure and wave-jet interactions 用于模拟波浪-结构和波浪-射流相互作用的双层非流体静力模型
IF 3.8 2区 物理与天体物理 Q2 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS Pub Date : 2024-11-29 DOI: 10.1016/j.jcp.2024.113634
Yuhang Chen , Yongping Chen , Zhenshan Xu , Pengzhi Lin , Zhihua Xie
Waves are pivotal factors in coastal areas, and effective simulation of wave-related phenomena is crucial. This paper presents the extension of the non-hydrostatic model from single-layer σ transformation to double-layer σ transformation in order to stabilize submerged structures and jet orifices under wave environment. The Lagrangian-Eulerian method is adopted for tracking the free surface in this model. This updated model is validated through comparisons against a series of test cases, including wave structure interaction and horizontal jet under waves. A good agreement between the model results and experimental data is achieved, demonstrating the capability of the developed model to fix the submerged object to resolve wave-structure and wave-jet interactions. Thus, the proposed double-layer σ model can be seen as a useful tool to simulate problems in coastal dynamics.
波浪是沿海地区的关键因素,对波浪现象的有效模拟至关重要。本文提出将非静力模型从单层σ变换推广到双层σ变换,以稳定波浪环境下的水下结构和射流孔。该模型采用拉格朗日-欧拉法对自由曲面进行跟踪。通过与波结构相互作用和波下水平射流等一系列测试案例的比较,验证了该更新模型的有效性。模型计算结果与实验数据吻合较好,表明所建立的模型能够固定沉物,解决波浪结构和波浪射流相互作用问题。因此,所提出的双层σ模型可以看作是模拟海岸动力学问题的有用工具。
{"title":"A double-layer non-hydrostatic model for simulating wave-structure and wave-jet interactions","authors":"Yuhang Chen ,&nbsp;Yongping Chen ,&nbsp;Zhenshan Xu ,&nbsp;Pengzhi Lin ,&nbsp;Zhihua Xie","doi":"10.1016/j.jcp.2024.113634","DOIUrl":"10.1016/j.jcp.2024.113634","url":null,"abstract":"<div><div>Waves are pivotal factors in coastal areas, and effective simulation of wave-related phenomena is crucial. This paper presents the extension of the non-hydrostatic model from single-layer <em>σ</em> transformation to double-layer <em>σ</em> transformation in order to stabilize submerged structures and jet orifices under wave environment. The Lagrangian-Eulerian method is adopted for tracking the free surface in this model. This updated model is validated through comparisons against a series of test cases, including wave structure interaction and horizontal jet under waves. A good agreement between the model results and experimental data is achieved, demonstrating the capability of the developed model to fix the submerged object to resolve wave-structure and wave-jet interactions. Thus, the proposed double-layer <em>σ</em> model can be seen as a useful tool to simulate problems in coastal dynamics.</div></div>","PeriodicalId":352,"journal":{"name":"Journal of Computational Physics","volume":"523 ","pages":"Article 113634"},"PeriodicalIF":3.8,"publicationDate":"2024-11-29","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"142758987","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":2,"RegionCategory":"物理与天体物理","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"OA","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
Conservative, bounded, and nonlinear discretization of the Cahn-Hilliard-Navier-Stokes equations cann - hilliard - navier - stokes方程的保守、有界和非线性离散化
IF 3.8 2区 物理与天体物理 Q2 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS Pub Date : 2024-11-29 DOI: 10.1016/j.jcp.2024.113632
Jason Goulding, Tamar Shinar, Craig Schroeder
The Cahn-Hilliard equation describes phase separation in a binary mixture, typically modeled with a phase variable that represents the concentration of one phase or the concentration difference between the two phases. Though the system is energetically driven toward solutions within the physically meaningful range of the phase variable, numerical methods often struggle to maintain these bounds, leading to physically invalid quantities and numerical difficulties. In this work, we introduce a novel splitting and discretization for the Cahn-Hilliard equation, coupled with the Navier-Stokes equations, which inherently preserves the bounds of the phase variable. This approach transforms the fourth-order Cahn-Hilliard equation into a second-order Helmholtz equation and a second-order nonlinear equation with implicit energy barriers, which is reformulated and solved with a safeguarded optimization-based solution method. Our scheme ensures the phase variable remains in the valid range, robustly handles large density ratios, conserves mass and momentum, maintains consistency between these quantities, and achieves second-order accuracy. We demonstrate the method's effectiveness through a variety of studies of two-dimensional, two-phase fluid mixtures.
Cahn-Hilliard方程描述二元混合物中的相分离,通常用一个相变量来表示一相的浓度或两相的浓度差。尽管系统在能量上趋向于相位变量在物理上有意义的范围内的解,但数值方法常常难以维持这些边界,导致物理上无效的数量和数值困难。在这项工作中,我们引入了一种新的Cahn-Hilliard方程的分裂和离散化,结合Navier-Stokes方程,它固有地保留了相变量的边界。该方法将四阶Cahn-Hilliard方程转化为二阶Helmholtz方程和带隐式能量势垒的二阶非线性方程,并利用基于安全优化的求解方法对其进行重新表述和求解。我们的方案确保相变量保持在有效范围内,稳健地处理大密度比,守恒质量和动量,保持这些量之间的一致性,并达到二阶精度。我们通过各种二维两相流体混合物的研究证明了该方法的有效性。
{"title":"Conservative, bounded, and nonlinear discretization of the Cahn-Hilliard-Navier-Stokes equations","authors":"Jason Goulding,&nbsp;Tamar Shinar,&nbsp;Craig Schroeder","doi":"10.1016/j.jcp.2024.113632","DOIUrl":"10.1016/j.jcp.2024.113632","url":null,"abstract":"<div><div>The Cahn-Hilliard equation describes phase separation in a binary mixture, typically modeled with a phase variable that represents the concentration of one phase or the concentration difference between the two phases. Though the system is energetically driven toward solutions within the physically meaningful range of the phase variable, numerical methods often struggle to maintain these bounds, leading to physically invalid quantities and numerical difficulties. In this work, we introduce a novel splitting and discretization for the Cahn-Hilliard equation, coupled with the Navier-Stokes equations, which inherently preserves the bounds of the phase variable. This approach transforms the fourth-order Cahn-Hilliard equation into a second-order Helmholtz equation and a second-order nonlinear equation with implicit energy barriers, which is reformulated and solved with a safeguarded optimization-based solution method. Our scheme ensures the phase variable remains in the valid range, robustly handles large density ratios, conserves mass and momentum, maintains consistency between these quantities, and achieves second-order accuracy. We demonstrate the method's effectiveness through a variety of studies of two-dimensional, two-phase fluid mixtures.</div></div>","PeriodicalId":352,"journal":{"name":"Journal of Computational Physics","volume":"523 ","pages":"Article 113632"},"PeriodicalIF":3.8,"publicationDate":"2024-11-29","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"142758985","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":2,"RegionCategory":"物理与天体物理","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
Adjoint-based goal-oriented implicit shock tracking using full space mesh optimization 基于伴结点的目标导向隐式冲击跟踪全空间网格优化
IF 3.8 2区 物理与天体物理 Q2 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS Pub Date : 2024-11-29 DOI: 10.1016/j.jcp.2024.113633
Pranshul Thakur, Siva Nadarajah
Solutions to the governing partial differential equations obtained from a discrete numerical scheme can have significant errors, especially near shocks where the discrete representation of the solution cannot fully capture the discontinuity in the solution. Recent approaches of shock tracking [1], [2] implicitly align the faces of mesh elements with the shock, yielding accurate solutions on coarse meshes. In engineering applications, the solution field is often used to evaluate a scalar functional of interest, such as lift or drag over an airfoil. While functionals are sensitive to errors in the flow solution, certain regions in the domain are more important for accurate evaluation of the functional than the rest. Using this fact, we formulate a goal-oriented implicit shock tracking approach that captures a segment of the discontinuity that is important for evaluating the functional. Shock tracking is achieved using the Lagrange-Newton-Krylov-Schur (LNKS) full space optimizer to minimize the adjoint-weighted residual error indicator. We also present a method to evaluate the sensitivity and the Hessian of the functional error. Using available block preconditioners for LNKS [3], [4] makes the full space approach scalable. The method is applied to test cases of two-dimensional advection and inviscid compressible flows to demonstrate functional-dependent shock tracking. Tracking the entire shock without using artificial dissipation results in the error converging at the orders of O(hp+1).
从离散数值格式得到的控制偏微分方程的解可能有很大的误差,特别是在接近冲击时,解的离散表示不能完全捕获解中的不连续。最近的激波跟踪方法[1],[2]隐式地将网格单元的面与激波对齐,在粗网格上得到精确的解。在工程应用中,解域通常用于评估感兴趣的标量函数,例如机翼上的升力或阻力。虽然泛函对流解中的错误很敏感,但域中的某些区域对于准确评估泛函比其他区域更重要。利用这一事实,我们制定了一种目标导向的隐式冲击跟踪方法,该方法捕获了对评估功能很重要的不连续部分。冲击跟踪是使用Lagrange-Newton-Krylov-Schur (LNKS)全空间优化器实现的,以最小化伴随加权残差指标。我们还提出了一种评估函数误差灵敏度和黑森值的方法。对LNKS[3]使用可用的块预调节器,[4]使全空间方法具有可扩展性。将该方法应用于二维平流和无粘可压缩流的测试案例,以验证与功能相关的激波跟踪。在不使用人工耗散的情况下跟踪整个冲击导致误差收敛到O(hp+1)阶。
{"title":"Adjoint-based goal-oriented implicit shock tracking using full space mesh optimization","authors":"Pranshul Thakur,&nbsp;Siva Nadarajah","doi":"10.1016/j.jcp.2024.113633","DOIUrl":"10.1016/j.jcp.2024.113633","url":null,"abstract":"<div><div>Solutions to the governing partial differential equations obtained from a discrete numerical scheme can have significant errors, especially near shocks where the discrete representation of the solution cannot fully capture the discontinuity in the solution. Recent approaches of shock tracking <span><span>[1]</span></span>, <span><span>[2]</span></span> implicitly align the faces of mesh elements with the shock, yielding accurate solutions on coarse meshes. In engineering applications, the solution field is often used to evaluate a scalar functional of interest, such as lift or drag over an airfoil. While functionals are sensitive to errors in the flow solution, certain regions in the domain are more important for accurate evaluation of the functional than the rest. Using this fact, we formulate a goal-oriented implicit shock tracking approach that captures a segment of the discontinuity that is important for evaluating the functional. Shock tracking is achieved using the Lagrange-Newton-Krylov-Schur (LNKS) full space optimizer to minimize the adjoint-weighted residual error indicator. We also present a method to evaluate the sensitivity and the Hessian of the functional error. Using available block preconditioners for LNKS <span><span>[3]</span></span>, <span><span>[4]</span></span> makes the full space approach scalable. The method is applied to test cases of two-dimensional advection and inviscid compressible flows to demonstrate functional-dependent shock tracking. Tracking the entire shock without using artificial dissipation results in the error converging at the orders of <span><math><mi>O</mi><mo>(</mo><msup><mrow><mi>h</mi></mrow><mrow><mi>p</mi><mo>+</mo><mn>1</mn></mrow></msup><mo>)</mo></math></span>.</div></div>","PeriodicalId":352,"journal":{"name":"Journal of Computational Physics","volume":"523 ","pages":"Article 113633"},"PeriodicalIF":3.8,"publicationDate":"2024-11-29","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"142758986","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":2,"RegionCategory":"物理与天体物理","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
Parallel primal-dual active-set algorithm with nonlinear and linear preconditioners 具有非线性和线性预调节器的并行原对偶活动集算法
IF 3.8 2区 物理与天体物理 Q2 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS Pub Date : 2024-11-28 DOI: 10.1016/j.jcp.2024.113630
Guangliang Zhang , Haijian Yang , Tianpei Cheng , Chao Yang
The primal-dual active-set (PDAS) algorithm is a well-established and efficient method for addressing complementarity problems. However, the majority of existing approaches primarily concentrate on solving this non-smooth system with linear cases, and the straightforward extension of the primal-dual active-set method for solving nonlinear large-scale engineering problems does not work as well as expected, due to the unbalanced nonlinearities that bring about the difficulty of the slow convergence or stagnation. In the paper, we present the primal-dual active-set method with backtracking on the parallel computing framework for solving the nonlinear complementarity problem (NCP) arising from the discretization of partial differential equations. Some adaptive nonlinear preconditioning strategies based on nonlinear elimination are presented to handle the high nonlinearity of the nonsmooth system, and a family of linear preconditioners based on domain decomposition is developed to enhance the efficiency and scalability of this Newton-type method. Moreover, rigorous proof to establish both the monotone and superlinear convergence of the primal-dual active-set algorithm is also provided for the theoretical analysis. A series of numerical experiments for a family of multiphase reservoir problems, i.e., the CO2 injection model, are carried out to demonstrate the robustness and efficiency of the proposed parallel algorithm.
原始对偶活动集(PDAS)算法是解决互补问题的一种行之有效的有效方法。然而,现有的大多数方法主要集中在求解这种线性情况下的非光滑系统,并且由于不平衡的非线性带来缓慢收敛或停滞的困难,求解非线性大规模工程问题的原始对偶活动集方法的直接推广并不像预期的那样有效。本文在并行计算框架上提出了带回溯的原始-对偶活动集方法,用于求解由偏微分方程离散化引起的非线性互补问题。针对非光滑系统的高非线性,提出了一些基于非线性消去的自适应非线性预处理策略,并开发了一组基于域分解的线性预处理策略,提高了该方法的效率和可扩展性。此外,还给出了建立原始对偶活动集算法单调性和超线性收敛性的严格证明,为理论分析提供了依据。针对一类多相油藏问题(即CO2注入模型)进行了一系列数值实验,验证了所提并行算法的鲁棒性和有效性。
{"title":"Parallel primal-dual active-set algorithm with nonlinear and linear preconditioners","authors":"Guangliang Zhang ,&nbsp;Haijian Yang ,&nbsp;Tianpei Cheng ,&nbsp;Chao Yang","doi":"10.1016/j.jcp.2024.113630","DOIUrl":"10.1016/j.jcp.2024.113630","url":null,"abstract":"<div><div>The primal-dual active-set (PDAS) algorithm is a well-established and efficient method for addressing complementarity problems. However, the majority of existing approaches primarily concentrate on solving this non-smooth system with linear cases, and the straightforward extension of the primal-dual active-set method for solving nonlinear large-scale engineering problems does not work as well as expected, due to the unbalanced nonlinearities that bring about the difficulty of the slow convergence or stagnation. In the paper, we present the primal-dual active-set method with backtracking on the parallel computing framework for solving the nonlinear complementarity problem (NCP) arising from the discretization of partial differential equations. Some adaptive nonlinear preconditioning strategies based on nonlinear elimination are presented to handle the high nonlinearity of the nonsmooth system, and a family of linear preconditioners based on domain decomposition is developed to enhance the efficiency and scalability of this Newton-type method. Moreover, rigorous proof to establish both the monotone and superlinear convergence of the primal-dual active-set algorithm is also provided for the theoretical analysis. A series of numerical experiments for a family of multiphase reservoir problems, i.e., the CO<sub>2</sub> injection model, are carried out to demonstrate the robustness and efficiency of the proposed parallel algorithm.</div></div>","PeriodicalId":352,"journal":{"name":"Journal of Computational Physics","volume":"523 ","pages":"Article 113630"},"PeriodicalIF":3.8,"publicationDate":"2024-11-28","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"142747021","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":2,"RegionCategory":"物理与天体物理","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
Strongly stable dual-pairing summation by parts finite difference schemes for the vector invariant nonlinear shallow water equations – I: Numerical scheme and validation on the plane 向量不变非线性浅水方程的强稳定双对部分求和有限差分格式。I:平面上的数值格式和验证
IF 3.8 2区 物理与天体物理 Q2 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS Pub Date : 2024-11-28 DOI: 10.1016/j.jcp.2024.113624
Justin Kin Jun Hew , Kenneth Duru , Stephen Roberts , Christopher Zoppou , Kieran Ricardo
We present an energy/entropy stable and high order accurate finite difference (FD) method for solving the nonlinear (rotating) shallow water equations (SWEs) in vector invariant form using the newly developed dual-pairing and dispersion-relation preserving summation by parts (SBP) FD operators. We derive new well-posed boundary conditions (BCs) for the SWE in one space dimension, formulated in terms of fluxes and applicable to linear and nonlinear SWEs. For the nonlinear vector invariant SWE in the subcritical regime, where energy is an entropy functional, we find that energy/entropy stability ensures the boundedness of numerical solution but does not guarantee convergence. Adequate amount of numerical dissipation is necessary to control high frequency errors which could negatively impact accuracy in the numerical simulations. Using the dual-pairing SBP framework, we derive high order accurate and nonlinear hyper-viscosity operator which dissipates entropy and enstrophy. The hyper-viscosity operator effectively minimises oscillations from shocks and discontinuities, and eliminates high frequency grid-scale errors. The numerical method is most suitable for the simulations of subcritical flows typically observed in atmospheric and geostrophic flow problems. We prove both nonlinear and local linear stability results, as well as a priori error estimates for the semi-discrete approximations of both linear and nonlinear SWEs. Convergence, accuracy, and well-balanced properties are verified via the method of manufactured solutions and canonical test problems such as the dam break and lake at rest. Numerical simulations in two-dimensions are presented which include the rotating and merging vortex problem and barotropic shear instability, with fully developed turbulence.
本文提出了一种能量/熵稳定的高阶精确有限差分(FD)方法,利用新发展的双对和保持色散关系的局部求和(SBP) FD算子求解向量不变形式的非线性(旋转)浅水方程。我们在一维空间中导出了新的可定边界条件(BCs),用通量表示,适用于线性和非线性SWE。对于亚临界状态下能量为熵泛函的非线性向量不变SWE,我们发现能量/熵稳定性保证了数值解的有界性,但不保证收敛性。在数值模拟中,高频误差会对精度产生负面影响,为了控制高频误差,需要适当的数值耗散。利用双对SBP框架,导出了高阶精确的非线性超粘算子,该算子能消除熵和熵。高粘度算子有效地减少了冲击和不连续引起的振荡,并消除了高频电网尺度误差。数值方法最适合模拟大气和地转流问题中典型的亚临界流动。我们证明了非线性和局部线性稳定性的结果,以及线性和非线性ses的半离散近似的先验误差估计。通过制造解的方法和典型的测试问题,如溃坝和静止湖,验证了收敛性、准确性和良好的平衡性。在湍流充分发展的情况下,对涡旋合并涡问题和正压剪切不稳定性进行了二维数值模拟。
{"title":"Strongly stable dual-pairing summation by parts finite difference schemes for the vector invariant nonlinear shallow water equations – I: Numerical scheme and validation on the plane","authors":"Justin Kin Jun Hew ,&nbsp;Kenneth Duru ,&nbsp;Stephen Roberts ,&nbsp;Christopher Zoppou ,&nbsp;Kieran Ricardo","doi":"10.1016/j.jcp.2024.113624","DOIUrl":"10.1016/j.jcp.2024.113624","url":null,"abstract":"<div><div>We present an energy/entropy stable and high order accurate finite difference (FD) method for solving the nonlinear (rotating) shallow water equations (SWEs) in vector invariant form using the newly developed dual-pairing and dispersion-relation preserving summation by parts (SBP) FD operators. We derive new well-posed boundary conditions (BCs) for the SWE in one space dimension, formulated in terms of fluxes and applicable to linear and nonlinear SWEs. For the nonlinear vector invariant SWE in the subcritical regime, where energy is an entropy functional, we find that energy/entropy stability ensures the boundedness of numerical solution but does not guarantee convergence. Adequate amount of numerical dissipation is necessary to control high frequency errors which could negatively impact accuracy in the numerical simulations. Using the dual-pairing SBP framework, we derive high order accurate and nonlinear hyper-viscosity operator which dissipates entropy and enstrophy. The hyper-viscosity operator effectively minimises oscillations from shocks and discontinuities, and eliminates high frequency grid-scale errors. The numerical method is most suitable for the simulations of subcritical flows typically observed in atmospheric and geostrophic flow problems. We prove both nonlinear and local linear stability results, as well as a priori error estimates for the semi-discrete approximations of both linear and nonlinear SWEs. Convergence, accuracy, and well-balanced properties are verified via the method of manufactured solutions and canonical test problems such as the dam break and lake at rest. Numerical simulations in two-dimensions are presented which include the rotating and merging vortex problem and barotropic shear instability, with fully developed turbulence.</div></div>","PeriodicalId":352,"journal":{"name":"Journal of Computational Physics","volume":"523 ","pages":"Article 113624"},"PeriodicalIF":3.8,"publicationDate":"2024-11-28","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"142747019","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":2,"RegionCategory":"物理与天体物理","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"OA","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
Deep Fourier Residual method for solving time-harmonic Maxwell's equations 求解时谐麦克斯韦方程组的深傅立叶残差法
IF 3.8 2区 物理与天体物理 Q2 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS Pub Date : 2024-11-26 DOI: 10.1016/j.jcp.2024.113623
Jamie M. Taylor , Manuela Bastidas , David Pardo , Ignacio Muga
Solving PDEs with machine learning techniques has become a popular alternative to conventional methods. In this context, Neural networks (NNs) are among the most commonly used machine learning tools, and in those models, the choice of an appropriate loss function is critical. In general, the main goal is to guarantee that minimizing the loss during training translates to minimizing the error in the solution at the same rate. In this work, we focus on the time-harmonic Maxwell's equations, whose weak formulation takes H0(curl,Ω) as the space of test functions. We propose a NN in which the loss function is a computable approximation of the dual norm of the weak-form PDE residual. To that end, we employ the Helmholtz decomposition of the space H0(curl,Ω) and construct an orthonormal basis for this space in two and three spatial dimensions. Here, we use the Discrete Sine/Cosine Transform to accurately and efficiently compute the discrete version of our proposed loss function. Moreover, in the numerical examples we show a high correlation between the proposed loss function and the H(curl)-norm of the error, even in problems with low-regularity solutions.
用机器学习技术求解偏微分方程已经成为传统方法的流行替代方案。在这种情况下,神经网络(nn)是最常用的机器学习工具之一,在这些模型中,选择合适的损失函数至关重要。一般来说,主要目标是保证最小化训练期间的损失转化为最小化解决方案中的错误。在这项工作中,我们关注时谐麦克斯韦方程组,其弱公式以H0(旋度,Ω)作为测试函数的空间。我们提出了一种神经网络,其中损失函数是弱形式PDE残差对偶模的可计算逼近。为此,我们采用了空间H0(旋度,Ω)的亥姆霍兹分解,并在二维和三维空间中构造了该空间的标准正交基。在这里,我们使用离散正弦/余弦变换来准确有效地计算我们提出的损失函数的离散版本。此外,在数值示例中,我们显示了所提出的损失函数与误差的H(旋度)范数之间的高度相关性,即使在具有低正则性解的问题中也是如此。
{"title":"Deep Fourier Residual method for solving time-harmonic Maxwell's equations","authors":"Jamie M. Taylor ,&nbsp;Manuela Bastidas ,&nbsp;David Pardo ,&nbsp;Ignacio Muga","doi":"10.1016/j.jcp.2024.113623","DOIUrl":"10.1016/j.jcp.2024.113623","url":null,"abstract":"<div><div>Solving PDEs with machine learning techniques has become a popular alternative to conventional methods. In this context, Neural networks (NNs) are among the most commonly used machine learning tools, and in those models, the choice of an appropriate loss function is critical. In general, the main goal is to guarantee that minimizing the loss during training translates to minimizing the error in the solution at the same rate. In this work, we focus on the time-harmonic Maxwell's equations, whose weak formulation takes <span><math><msub><mrow><mi>H</mi></mrow><mrow><mn>0</mn></mrow></msub><mo>(</mo><mrow><mi>curl</mi></mrow><mo>,</mo><mi>Ω</mi><mo>)</mo></math></span> as the space of test functions. We propose a NN in which the loss function is a computable approximation of the dual norm of the weak-form PDE residual. To that end, we employ the Helmholtz decomposition of the space <span><math><msub><mrow><mi>H</mi></mrow><mrow><mn>0</mn></mrow></msub><mo>(</mo><mrow><mi>curl</mi></mrow><mo>,</mo><mi>Ω</mi><mo>)</mo></math></span> and construct an orthonormal basis for this space in two and three spatial dimensions. Here, we use the Discrete Sine/Cosine Transform to accurately and efficiently compute the discrete version of our proposed loss function. Moreover, in the numerical examples we show a high correlation between the proposed loss function and the <em>H</em>(curl)-norm of the error, even in problems with low-regularity solutions.</div></div>","PeriodicalId":352,"journal":{"name":"Journal of Computational Physics","volume":"523 ","pages":"Article 113623"},"PeriodicalIF":3.8,"publicationDate":"2024-11-26","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"142747020","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":2,"RegionCategory":"物理与天体物理","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
Lax-Wendroff flux reconstruction on adaptive curvilinear meshes with error based time stepping for hyperbolic conservation laws 双曲守恒律下基于误差时间步进的自适应曲线网格Lax-Wendroff通量重建
IF 3.8 2区 物理与天体物理 Q2 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS Pub Date : 2024-11-26 DOI: 10.1016/j.jcp.2024.113622
Arpit Babbar, Praveen Chandrashekar
Lax-Wendroff Flux Reconstruction (LWFR) is a single-stage, high order, quadrature free method for solving hyperbolic conservation laws. This work extends the LWFR scheme to solve conservation laws on curvilinear meshes with adaptive mesh refinement (AMR). The scheme uses a subcell based blending limiter to perform shock capturing and exploits the same subcell structure to obtain admissibility preservation on curvilinear meshes. It is proven that the proposed extension of LWFR scheme to curvilinear grids preserves constant solution (free stream preservation) under the standard metric identities. For curvilinear meshes, linear Fourier stability analysis cannot be used to obtain an optimal CFL number. Thus, an embedded-error based time step computation method is proposed for LWFR method which reduces fine-tuning process required to select a stable CFL number using the wave speed based time step computation. The developments are tested on compressible Euler's equations, validating the blending limiter, admissibility preservation, AMR algorithm, curvilinear meshes and error based time stepping.
Lax-Wendroff通量重建(LWFR)是求解双曲型守恒律的一种单阶段、高阶、无正交的方法。本文扩展了LWFR方案,利用自适应网格细化(AMR)求解曲线网格上的守恒律。该方案采用基于子单元的混合限制器进行冲击捕获,并利用相同的子单元结构在曲线网格上获得可容许性保持。证明了将LWFR格式推广到曲线网格,在标准度量恒等式下保持常解(自由流保持)。对于曲线网格,线性傅里叶稳定性分析不能得到最优CFL数。为此,提出了一种基于嵌入误差的时间步长计算方法,减少了采用基于波速的时间步长计算选择稳定CFL数所需的微调过程。在可压缩欧拉方程上进行了测试,验证了混合限制器、可容许性保留、AMR算法、曲线网格和基于误差的时间步进。
{"title":"Lax-Wendroff flux reconstruction on adaptive curvilinear meshes with error based time stepping for hyperbolic conservation laws","authors":"Arpit Babbar,&nbsp;Praveen Chandrashekar","doi":"10.1016/j.jcp.2024.113622","DOIUrl":"10.1016/j.jcp.2024.113622","url":null,"abstract":"<div><div>Lax-Wendroff Flux Reconstruction (LWFR) is a single-stage, high order, quadrature free method for solving hyperbolic conservation laws. This work extends the LWFR scheme to solve conservation laws on curvilinear meshes with adaptive mesh refinement (AMR). The scheme uses a subcell based blending limiter to perform shock capturing and exploits the same subcell structure to obtain admissibility preservation on curvilinear meshes. It is proven that the proposed extension of LWFR scheme to curvilinear grids preserves constant solution (free stream preservation) under the standard metric identities. For curvilinear meshes, linear Fourier stability analysis cannot be used to obtain an optimal CFL number. Thus, an embedded-error based time step computation method is proposed for LWFR method which reduces fine-tuning process required to select a stable CFL number using the wave speed based time step computation. The developments are tested on compressible Euler's equations, validating the blending limiter, admissibility preservation, AMR algorithm, curvilinear meshes and error based time stepping.</div></div>","PeriodicalId":352,"journal":{"name":"Journal of Computational Physics","volume":"522 ","pages":"Article 113622"},"PeriodicalIF":3.8,"publicationDate":"2024-11-26","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"142743161","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":2,"RegionCategory":"物理与天体物理","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
Letter to Editor: Regarding the numerical results in “A novel finite-difference converged ENO scheme for steady-state simulations of Euler equations”, by Tian Liang and Lin Fu, Journal of Computational Physics, 519 (2024), 113386 致编辑的信:关于Tian Liang和Lin Fu的 "A novel finite-difference converged ENO scheme for steady-state simulations of Euler equations "中的数值结果,《计算物理学报》,519 (2024), 113386
IF 3.8 2区 物理与天体物理 Q2 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS Pub Date : 2024-11-26 DOI: 10.1016/j.jcp.2024.113620
Yan Tan , Jun Zhu , Chi-Wang Shu , Jianxian Qiu
{"title":"Letter to Editor: Regarding the numerical results in “A novel finite-difference converged ENO scheme for steady-state simulations of Euler equations”, by Tian Liang and Lin Fu, Journal of Computational Physics, 519 (2024), 113386","authors":"Yan Tan ,&nbsp;Jun Zhu ,&nbsp;Chi-Wang Shu ,&nbsp;Jianxian Qiu","doi":"10.1016/j.jcp.2024.113620","DOIUrl":"10.1016/j.jcp.2024.113620","url":null,"abstract":"","PeriodicalId":352,"journal":{"name":"Journal of Computational Physics","volume":"522 ","pages":"Article 113620"},"PeriodicalIF":3.8,"publicationDate":"2024-11-26","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"142723646","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":2,"RegionCategory":"物理与天体物理","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
A highly efficient asymptotic preserving IMEX method for the quantum BGK equation 量子BGK方程的一种高效渐近保持IMEX方法
IF 3.8 2区 物理与天体物理 Q2 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS Pub Date : 2024-11-26 DOI: 10.1016/j.jcp.2024.113619
Ruo Li , Yixiao Lu , Yanli Wang
This paper presents an asymptotic preserving (AP) implicit-explicit (IMEX) scheme for solving the quantum BGK equation using the Hermite spectral method. The distribution function is expanded in a series of Hermite polynomials, with the Gaussian function serving as the weight function. The main challenge in this numerical scheme lies in efficiently expanding the quantum Maxwellian with the Hermite basis functions. To overcome this, we simplify the problem to the calculation of polylogarithms and propose an efficient algorithm to handle it, utilizing the Gauss-Hermite quadrature. Several numerical simulations, including a spatially 2D lid-driven cavity flow, demonstrate the AP property and remarkable efficiency of this method.
本文提出了一种用Hermite谱法求解量子BGK方程的渐近保持(AP)隐显(IMEX)格式。将分布函数展开为一系列厄米特多项式,高斯函数作为权函数。该数值格式的主要挑战在于用厄米特基函数有效地展开量子麦克斯韦方程组。为了克服这个问题,我们将问题简化为多对数的计算,并提出了一种有效的算法来处理它,利用高斯-埃尔米特正交。若干数值模拟,包括空间二维盖子驱动的空腔流动,证明了该方法的AP特性和显著的效率。
{"title":"A highly efficient asymptotic preserving IMEX method for the quantum BGK equation","authors":"Ruo Li ,&nbsp;Yixiao Lu ,&nbsp;Yanli Wang","doi":"10.1016/j.jcp.2024.113619","DOIUrl":"10.1016/j.jcp.2024.113619","url":null,"abstract":"<div><div>This paper presents an asymptotic preserving (AP) implicit-explicit (IMEX) scheme for solving the quantum BGK equation using the Hermite spectral method. The distribution function is expanded in a series of Hermite polynomials, with the Gaussian function serving as the weight function. The main challenge in this numerical scheme lies in efficiently expanding the quantum Maxwellian with the Hermite basis functions. To overcome this, we simplify the problem to the calculation of polylogarithms and propose an efficient algorithm to handle it, utilizing the Gauss-Hermite quadrature. Several numerical simulations, including a spatially 2D lid-driven cavity flow, demonstrate the AP property and remarkable efficiency of this method.</div></div>","PeriodicalId":352,"journal":{"name":"Journal of Computational Physics","volume":"522 ","pages":"Article 113619"},"PeriodicalIF":3.8,"publicationDate":"2024-11-26","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"142743159","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":2,"RegionCategory":"物理与天体物理","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
Analysis of finite-volume transport schemes on cubed-sphere grids and an accurate scheme for divergent winds 立方体网格上的有限体积传输方案分析和发散风的精确方案
IF 3.8 2区 物理与天体物理 Q2 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS Pub Date : 2024-11-26 DOI: 10.1016/j.jcp.2024.113618
Luan F. Santos , Joseph Mouallem , Pedro S. Peixoto
The cubed-sphere finite-volume dynamical core (FV3), developed by GFDL-NOAA-USA, serves as the dynamical core for many models worldwide. In 2019, it was officially designated as the dynamical core for the new Global Forecast System of the National Weather Service in the USA, replacing the spectral model. The finite-volume approach employed by FV3 to solve horizontal dynamics involves the application of transport finite-volume fluxes for different variables. Hence, the transport scheme plays a key role in the model. Therefore, this work proposes to revisit the details of the transport scheme of FV3 with the aim of adding enhancements. We proposed modifications to the FV3 transport scheme, which notably enhanced accuracy, particularly in the presence of divergent winds, as evidenced by numerical experiments. In contrast to the FV3 scheme's first-order accuracy in the presence of divergent winds, the proposed scheme achieves second-order accuracy. For divergence-free winds, both schemes are second-order, with our scheme being slightly more accurate. Additionally, the proposed scheme exhibits slight computational overhead but is easily implemented in the current code. In summary, the proposed scheme offers significant improvements in accuracy, particularly in the presence of divergent winds, which are present in various atmospheric phenomena, while maintaining computational efficiency.
由 GFDL-NOAA-USA 开发的立方体有限体积动力核心(FV3)是全球许多模式的动力核心。2019 年,它被正式指定为美国国家气象局新全球预报系统的动力核心,取代了频谱模式。FV3 采用有限体积方法来求解水平动力学,包括应用不同变量的传输有限体积通量。因此,传输方案在模式中起着关键作用。因此,这项工作建议重新审视 FV3 的传输方案细节,以增加改进之处。我们对 FV3 的传输方案提出了修改建议,这些建议显著提高了精度,尤其是在存在发散风的情况下,数值实验证明了这一点。与 FV3 方案在存在发散风时的一阶精度相比,我们提出的方案达到了二阶精度。对于无发散风,两种方案都是二阶精度,而我们的方案精度略高。此外,建议方案的计算开销较小,但很容易在当前代码中实现。总之,建议的方案在保持计算效率的同时,显著提高了精度,尤其是在各种大气现象中都存在的发散风的情况下。
{"title":"Analysis of finite-volume transport schemes on cubed-sphere grids and an accurate scheme for divergent winds","authors":"Luan F. Santos ,&nbsp;Joseph Mouallem ,&nbsp;Pedro S. Peixoto","doi":"10.1016/j.jcp.2024.113618","DOIUrl":"10.1016/j.jcp.2024.113618","url":null,"abstract":"<div><div>The cubed-sphere finite-volume dynamical core (FV3), developed by GFDL-NOAA-USA, serves as the dynamical core for many models worldwide. In 2019, it was officially designated as the dynamical core for the new Global Forecast System of the National Weather Service in the USA, replacing the spectral model. The finite-volume approach employed by FV3 to solve horizontal dynamics involves the application of transport finite-volume fluxes for different variables. Hence, the transport scheme plays a key role in the model. Therefore, this work proposes to revisit the details of the transport scheme of FV3 with the aim of adding enhancements. We proposed modifications to the FV3 transport scheme, which notably enhanced accuracy, particularly in the presence of divergent winds, as evidenced by numerical experiments. In contrast to the FV3 scheme's first-order accuracy in the presence of divergent winds, the proposed scheme achieves second-order accuracy. For divergence-free winds, both schemes are second-order, with our scheme being slightly more accurate. Additionally, the proposed scheme exhibits slight computational overhead but is easily implemented in the current code. In summary, the proposed scheme offers significant improvements in accuracy, particularly in the presence of divergent winds, which are present in various atmospheric phenomena, while maintaining computational efficiency.</div></div>","PeriodicalId":352,"journal":{"name":"Journal of Computational Physics","volume":"522 ","pages":"Article 113618"},"PeriodicalIF":3.8,"publicationDate":"2024-11-26","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"142723643","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":2,"RegionCategory":"物理与天体物理","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
期刊
Journal of Computational Physics
全部 Acc. Chem. Res. ACS Applied Bio Materials ACS Appl. Electron. Mater. ACS Appl. Energy Mater. ACS Appl. Mater. Interfaces ACS Appl. Nano Mater. ACS Appl. Polym. Mater. ACS BIOMATER-SCI ENG ACS Catal. ACS Cent. Sci. ACS Chem. Biol. ACS Chemical Health & Safety ACS Chem. Neurosci. ACS Comb. Sci. ACS Earth Space Chem. ACS Energy Lett. ACS Infect. Dis. ACS Macro Lett. ACS Mater. Lett. ACS Med. Chem. Lett. ACS Nano ACS Omega ACS Photonics ACS Sens. ACS Sustainable Chem. Eng. ACS Synth. Biol. Anal. Chem. BIOCHEMISTRY-US Bioconjugate Chem. BIOMACROMOLECULES Chem. Res. Toxicol. Chem. Rev. Chem. Mater. CRYST GROWTH DES ENERG FUEL Environ. Sci. Technol. Environ. Sci. Technol. Lett. Eur. J. Inorg. Chem. IND ENG CHEM RES Inorg. Chem. J. Agric. Food. Chem. J. Chem. Eng. Data J. Chem. Educ. J. Chem. Inf. Model. J. Chem. Theory Comput. J. Med. Chem. J. Nat. Prod. J PROTEOME RES J. Am. Chem. Soc. LANGMUIR MACROMOLECULES Mol. Pharmaceutics Nano Lett. Org. Lett. ORG PROCESS RES DEV ORGANOMETALLICS J. Org. Chem. J. Phys. Chem. J. Phys. Chem. A J. Phys. Chem. B J. Phys. Chem. C J. Phys. Chem. Lett. Analyst Anal. Methods Biomater. Sci. Catal. Sci. Technol. Chem. Commun. Chem. Soc. Rev. CHEM EDUC RES PRACT CRYSTENGCOMM Dalton Trans. Energy Environ. Sci. ENVIRON SCI-NANO ENVIRON SCI-PROC IMP ENVIRON SCI-WAT RES Faraday Discuss. Food Funct. Green Chem. Inorg. Chem. Front. Integr. Biol. J. Anal. At. Spectrom. J. Mater. Chem. A J. Mater. Chem. B J. Mater. Chem. C Lab Chip Mater. Chem. Front. Mater. Horiz. MEDCHEMCOMM Metallomics Mol. Biosyst. Mol. Syst. Des. Eng. Nanoscale Nanoscale Horiz. Nat. Prod. Rep. New J. Chem. Org. Biomol. Chem. Org. Chem. Front. PHOTOCH PHOTOBIO SCI PCCP Polym. Chem.
×
引用
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