ivanyao 发表于 2009-2-16 10:53:59

请教OF的问题

我是一名初学者。请问各位of的学习者:在of里如何得到网格的精度和数量?如何确定计算的终止时间和时间步?如何得到残差的曲线?因为我想判断解的收敛性。谢谢

OpenFOAM 发表于 2009-2-21 21:32:26

回复 1# ivanyao 的帖子

Hi

1)try checkMesh utility to get the information of your mesh.
2)you can define the timestep infomation in control dicitionary. turn U-104 in User`s Guide in section 4.3
3)during the solver executing,it reports the status of equation solution to standard output(i.e. screen) you should redirect the to a log file.and use tail command to monitor the log file during iteration,and also can use the foamLog script to extract data in a sets of files.this file could be import to MS EXCELL,Matlab or GNU PLOTto plot the graph.you can find more in U168 of User `s Guide

Regards

wayne
页: [1]
查看完整版本: 请教OF的问题