Modelling of the process of radionuclide migration

版本 1.1.0 (2.4 KB) 作者: Oleksii Hehelskyi
Using the inbuilt ode45 function to model the process of migration of radionuclides
10.0 次下载
更新时间 2021/9/13

Modelling-of-the-proccess-of-migration-of-radionuclides-in-biological-ponds-of-Chernobyl-NPP

In MATLAB, you can use the built-in ode functions to solve differential equations.

For modeling we will use the ode45 function. It implements the process of numerical integration by the 4th order Runge – Kutta method. The syntax for addressing it is as follows: [t, y] = ode45 (odefun, tspan, y0), where t, y are the initial values of time and state variables, odefun - the name of the file (string variable, which is written in apostrophes), which stores the subroutine of the right parts of the integrated equations, tspan - time of integration of equations, y0– vector of initial conditions.

The main one is the control program main.m. It first sets the values of radionuclide transfer coefficients. After that the procedure of numerical integration is formed. To do this, the initial conditions and the final integration time are set. Integrated values ​​are plotted.

To form the process of numerical integration by the ode45 function, it is necessary to form the procedure of the right parts of the differential equations of radionuclide accumulation. The equations are written in the dimensionless Cauchy form. The constants are passed to the function of the right parts as global variables from the control program. The initial values of the arguments are formed in the driver and passed to the function when the ode45 is called.

image image image

引用格式

Oleksii Hehelskyi (2024). Modelling of the process of radionuclide migration (https://github.com/alevlage/Modelling-of-the-proccess-of-migration-of-radionuclides-in-biological-ponds-of-Chernobyl-NPP/releases/tag/1.1.0), GitHub. 检索来源 .

MATLAB 版本兼容性
创建方式 R2021a
兼容任何版本
平台兼容性
Windows macOS Linux
标签 添加标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.1.0

要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库
要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库