適当なケースフォルダ上(tutorials/incompressible/simpleFoam/airfoail2Dなど)で plot3DToFoamコマンドを実行
[waku@centosvm airFoil2D]$ plot3dToFoam -help
Usage: plot3dToFoam [OPTIONS]
options:
-2Duse when converting a 2-D geometry
-casespecify alternate case directory, default is the cwd
-noBlank skip blank items
-noFunctionObjects
do not execute functionObjects
-scalegeometry scaling factor - default is 1
-singleBlock input is a single block
-srcDoc display source code in browser
-doc display application documentation in browser
-help print the usageUsing: OpenFOAM-2.0.x (see www.OpenFOAM.com)
Build: 2.0.x-eee91f6cb684
今回は、マルチブロック(デフォルト)でBlank情報がないので、-noBlankオプションと、-scaleオプションのみ利用する。
[waku@centosvm airFoil2D]$ plot3dToFoam -noBlank -scale 1 P3D.xyz
/*---------------------------------------------------------------------------*\
========= \\ / F ield OpenFOAM: The Open Source CFD Toolbox \\ / O peration Version: 2.0.x \\ / A nd Web: www.OpenFOAM.com \\/ M anipulation \*---------------------------------------------------------------------------*/
Build : 2.0.x-eee91f6cb684
Exec : plot3dToFoam -noBlank -scale 1 P3D.xyz
Date : Jul 10 2011
Time : 08:35:14
Host : centosvm
PID : 1833
Case : /home/waku/OpenFOAM/waku-2.0.x/airFoil2D
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Disallowing user-supplied system call operations// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create timeReading 2 blocks
block 0 nx:161 ny:81 nz:2
block 1 nx:161 ny:81 nz:2
Reading block points
block 0:
Reading 26082 x coordinates...
Reading 26082 y coordinates...
Reading 26082 z coordinates...
Looking at cell 0 0 0 to determine orientation.
Right-handed block.block 1:
Reading 26082 x coordinates...
Reading 26082 y coordinates...
Reading 26082 z coordinates...
Looking at cell 0 0 0 to determine orientation.
Left-handed block.Merged points within 1e-15 distance. Merged from 52164 down to 52000 points.
Creating cells
Creating boundary patches
- > FOAM Warning :
From function polyMesh::polyMesh(... construct from shapes...)
in file meshes/polyMesh/polyMeshFromShapeMesh.C at line 614
Found 52000 undefined faces in mesh; adding to default patch.
Writing polyMesh
End