five

Data for: Runge-Kutta-Gegenbauer methods for advection-diffusion problems

收藏
Mendeley Data2020-03-31 更新2026-04-09 收录
下载链接:
https://data.mendeley.com/datasets/vk23xxvg7w
下载链接
链接失效反馈
官方服务:
资源简介:
frkg2.tgz is a C implementation of FRKG numerical integration at second order. The code consists of two files: the file frkgcore.c contains the code necessary to obtain a solution to the problem prescribed in frkguser.c. The files Tables_N1-N2/arks___<b>.csv contain the coefficents for FRKG schemes at orders N=1...2 and, at each order, over a range of 18 Gegenbauer coefficient values running from 0 to 2N. The coefficients for each scheme is provided for up to Nx257 stages. The default problem is similar to the Brusselator presented by Hairer &amp; Wanner (see (1.6) of Sect. IV.1): a stiff nonlinear diffusion-reaction problem describing chemical kinetics of a tri-molecular chemical reaction subject to periodic boundary conditions. Advection is added following Abdulle &amp; Vilmart (2013). The problem is specified via three user defined functions: deriv() - populates f(W)=W_t; spec() - returns spectral radius; and Wexact(). User parameters are: RTOL - error tolerence; NE - number of grid points (including boundary) assuming a uniform square mesh; TEND; XMAX; XMIN. To apply the FRKG scheme to other problems it should only be necessary to supply a modified version of frkguser.c. Note that complex variables are used via complex.h internally to the time-marching function trystep(). Above trystep() no complex variables are visible. Usage: to compile executable frkg using gcc gcc -O3 frkgcore.c frkguser.c -lm -o frkg Solution is written to sol.dat Reference solution is sol.ref To plot first species via gnuplot: splot "sol.dat" every 10:10 u 1:2:3 w pm3d ----------------------------- The additional files Tables_N3-N8/arks___<b>.csv contain the coefficents for FRKG schemes at orders N=3...8 and, at each order, over a range of 18 Gegenbauer coefficient values running from 0 to 2N. The coefficients for each scheme is provided for up to Nx257 stages.</b></b>
创建时间:
2020-03-31
5,000+
优质数据集
54 个
任务类型
进入经典数据集
二维码
社区交流群

面向社区/商业的数据集话题

二维码
科研交流群

面向高校/科研机构的开源数据集话题

数据驱动未来

携手共赢发展

商业合作