testbed.edp
来自「FreeFem++可以生成高质量的有限元网格。可以用于流体力学」· EDP 代码 · 共 18 行
EDP
18 行
/* Ne compile pas FH ??
for (idt = 1; idt < 50; idt++)
{
temps += dt;
cout << " --------- temps " << temps << " \n ";
b1[] = vfconv1(0,Xh);
b2[] = vfconv2(0,Xh);
cout << " min b1 b2 " << b1[].min << " " << b2[].min << endl;
cout << " max b1 b2 " << b1[].max << " " << b2[].max << endl;
// call Conjugate Gradient with preconditioner '
// warning eps < 0 => absolue stop test \index{precon=}
LinearCG(divup,p[],eps=-1.e-6,nbiter=50,precon=CahouetChabart);
divup(p[]); // computed the velocity
plot([u1,u2],p,wait=!(idt%10),value= 1,coef=0.1);
}
*/
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?