上传者: 42139460
|
上传时间: 2021-10-19 14:29:47
|
文件大小: 6.71MB
|
文件类型: -
Navier-Stokes方程式的12个步骤
挑战
使用Python的计算功能来求解控制流体动力学的非线性耦合偏导数方程,即Navier-Stokes方程:
动作
创建隐式数值方案以解决NS方程不断增加的难题
线性对流:
非线性对流:
# Step6: 2D Nonlinear Convection
# the ecuations to be solved are: du/dt + u*du/dx +v*du/dy = 0
# dv/dt + u*dv/dx +v*dv/dy = 0
# in this equation we have the acumulation and convection terms
# but this time the convection is nonlinear and the equati