# INT--E--NSE
## Introduction
INT(E)NSE is (an intended pun and) acronym for IN-terpolated Two-D(E)-Navier-Stokes-Equations. This is an unsteady Navier-Stokes solver I developed during my free time. Interpolations for the face-velocities are done using a blended second-order and first-order accurate scheme to be able to capture the vortices. Pressure-velocity coupling is achieved using SIMPLE algorithm and the time-stepping is first order accurate following backward finite differencing discretization. I am looking for someone who can help me modularize this code and break it down into smaller files. Currently everything is organized using comments(!). Will soon be adding mesh-clustering for the wall and include the energy equation. If you are interested to upgrade/contribute to this solver either by:
1. Modularizing this code into smaller files to make it easy to perform bug-fixes
2. Extend to 3-D
3. Higher-order interpolations
4. Higher-order time stepping schemes
5. Alternative pressure-velocity coupling schemes
6. Add turbulence model
7. Accelerate code performance using suitable paralellization
Please contact me through mail/submit a pull request. Curerntly the code is written entirely in MATLAB. The test cases for which I have got results are shown below
# Why INTENSE
So the motive behind developing INTENSE is contained in its name-to grasp the concepts of CFD in the most intense way! Ok jokes apart, it is intended as a code to help people starting CFD to better understand what happens inside the black-box when they push a button in any commerical software.To better gain insights into the development of a CFD code. The entire code is thoroughly commented and includes relavant one-liner explanations wherever required. Now I know I could have done a better job using a Jupyter notebook, but I started out coding this as a hobby and before I knew it had over 300 lines! Plus this does away lesser memory. But with solver getting upgraded with new features like mesh-clustering, energy equation, and maybe turbulence, I might like extending this to a more generic CFD code written in MATLAB. However, the intent remains the same-INTENSE-ly understand CFD!
# How to use INTENSE
You can either use this for your direct simulation by tweaking the mesh-parameters and flow-variables in the beginning and hit run in MATLAB (which is highly unlikely as there are standard solvers out there that do a better job!) or you can use this to understand how CFD codes are built by going thru the code and the comments. I advise you to tweak some parameters in the code like the blending factor or the number of iterations for the various sub-solvers to understand the importance of each loop and their effect on the convergence. Oh yea, this has a residual monitor too. so that will show you if your results have converged.Comment or uncomment some lines and look at how they effect the solution.
# Some geeky details
INTENSE solves the unsteady version of the incompressible Navier stokes equations together with the continuity equation using the numerical Finite Volume Method (FVM). I have enabled three major problems as benchmarks/test cases. The first being the the standard fully-developed channel flow, the second a pressure-driven channel flow (with pressure boundary conditions) and the lid-driven cavity. The Semi-Implicit method for Pressure-Linked Equation (SIMPLE) is used to couple the pressure and velocity terms. The solver uses a staggered mesh with ghost-cells in the boundary and a blended first and second-order accurate interpolation scheme is used to obtain face-velocities on the staggered-mesh. Time-stepping is done using a first-order accurate finite difference scheme. In addition there's a provision to block cells out-giving us results for the flows around bluff bodies.
没有合适的资源?快使用搜索试试~ 我知道了~
【Matlab源码】在交错网格上使用SIMPLE的非定常Navier-Stokes解算器.zip
共7个文件
txt:2个
png:2个
m:2个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 133 浏览量
2023-04-06
20:37:21
上传
评论
收藏 470KB ZIP 举报
温馨提示
1.版本:matlab2014/2019a,内含运行结果,不会运行可私信 2.领域:智能优化算法、神经网络预测、信号处理、元胞自动机、图像处理、路径规划、无人机等多种领域的Matlab仿真,更多内容可点击博主头像 3.内容:标题所示,对于介绍可点击主页搜索博客 4.适合人群:本科,硕士等教研学习使用 5.博客介绍:热爱科研的Matlab仿真开发者,修心和技术同步精进,matlab项目合作可si信
资源推荐
资源详情
资源评论
收起资源包目录
【Matlab源码】在交错网格上使用SIMPLE的非定常Navier-Stokes解算器.zip (7个子文件)
【Matlab源码】在交错网格上使用SIMPLE的非定常Navier-Stokes解算器
说明.txt 517B
仿真咨询.png 350KB
更多代码关注我.png 114KB
NavierStokesUnsteady.m 18KB
license.txt 2KB
README.md 4KB
higherorderinterpolation.m 16KB
共 7 条
- 1
资源评论
天天Matlab科研工作室
- 粉丝: 3w+
- 资源: 7259
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功