请选择 进入手机版 | 继续访问电脑版
 猿代码 — 科研/AI模型/高性能计算
0

大部分时间花费在压力求解上面

摘要: setting up initial conditions...loop: 0-----------------calculating advection terms...-----------------solving for viscosity terms...convergence reached after 651 iterationsconvergence reached after 1 ...
setting up initial conditions...
loop: 0
-----------------
calculating advection terms...
-----------------
solving for viscosity terms...
convergence reached after 651 iterations
convergence reached after 1 iterations
convergence reached after 1 iterations
-----------------
solving for pressure...
level: 0 n_dof: 4096
fd_matrix_sparse
create finite difference matrix
create load vector
pre-smoothing 10 times
convergence reached after 10 iterations
restriction
level: 1 n_dof: 512
fd_matrix_sparse
create finite difference matrix
pre-smoothing 10 times
convergence reached after 10 iterations
restriction
level: 2 n_dof: 64
create finite difference matrix
convergence reached after 1058 iterations
post-smoothing 1000000000 times on level 1
convergence reached after 11477 iterations
post-smoothing 1000000000 times on level 0
convergence reached after 131071 iterations



advection time: 0.00590048
viscosity time: 0.416704
pressure time: 46.2537
total time: 47.3741 with 4 threads

2)
自由度计算公式 
cuint n_dof = nx*ny*nz;


说点什么...

已有0条评论

最新评论...

本文作者
2024-2-4 03:47
  • 0
    粉丝
  • 97
    阅读
  • 0
    回复
资讯幻灯片
热门评论
热门专题
排行榜
Copyright   ©2015-2023   猿代码-超算人才智造局 高性能计算|并行计算|人工智能      ( 京ICP备2021026424号-2 )