请问pisoFoam的solver怎么改成自动调节时间步长呀?
看了转载的针对icoFoam的修改,改成可以自动调节时间步长。http://www.cfluid.com/forum.php?mod=viewthread&tid=53008&extra=page%3D3
于是我想在pisoFoam上也试试,但是文中的
“
//步骤2将for循环改成while循环
// for (runTime++;!runTime.end(); runTime++)
while(runTime.run())
”
这一块,因为pisoFoam在这一段是
“
while (runTime.loop())
{
Info<< "Time = " << runTime.timeName() << nl << endl;
”
这样的话请问怎么修改呀?
页:
[1]