SU2 6.X.X 版本与 7.X.X版本用例配置文件参数改动较大,需要在对应源码包中获取相应版本算例配置文件。
unzip su2code.github.io-master.zip
cd su2code.github.io-master
mkdir testcase
cd testcase cp -rf /path/to/CASE/su2code.github.io-master/testcase /Inviscid_Bump
cd ../Inviscid_Bump
mpirun --allow-run-as-root -np 16 SU2_CFD inv_channel.cfg
输出的结果示例如下所示。
----------------------- Residual Evolution Summary ---------------------- log10[Maximum residual]: -7.391. Maximum residual point 511, located at (3, 0.003). ------------------------------------------------------------------------- Iter Time(s) Res[Rho] Res[RhoE] CL(Total) CD(Total) 600 0.087015 -9.260167 -3.862403 0.000291 0.000007 601 0.087013 -9.271532 -3.873152 0.000291 0.000007 602 0.087011 -9.282237 -3.883903 0.000291 0.000007 603 0.087010 -9.293729 -3.894743 0.000291 0.000007 604 0.087008 -9.305008 -3.905581 0.000291 0.000007 605 0.087006 -9.316490 -3.916410 0.000291 0.000007 606 0.087006 -9.327466 -3.927381 0.000291 0.000007 607 0.087004 -9.338974 -3.938270 0.000291 0.000007 608 0.087002 -9.350370 -3.949267 0.000291 0.000007 609 0.087000 -9.361588 -3.960211 0.000291 0.000007 610 0.086998 -9.373061 -3.971327 0.000291 0.000007 611 0.086997 -9.384581 -3.982358 0.000291 0.000007 -------------------------- File Output Summary -------------------------- Writing comma-separated values (CSV) surface files. Loading solution output data locally on each rank. Sorting output data across all ranks. Writing binary SU2 native restart file. ------------------------------------------------------------------------- ------------------------- Solver Postprocessing ------------------------- Deleted CNumerics container. Deleted CIntegration container. Deleted CSolver container. Deleted CIteration container. Deleted CInterpolator container. Deleted CTransfer container. Deleted CGeometry container. Deleted CFreeFormDefBox class. Deleted CSurfaceMovement class. Deleted CVolumetricMovement class. Deleted CConfig container. Deleted COutput class. ------------------------------------------------------------------------- Completed in 53.260358 seconds on 16 cores. ------------------------- Exit Success (SU2_CFD) ------------------------