116
演習1: foamyHexMesh cfMesh によるメッシュ作成演習 DEXCS for OpenFOAM の標準チュートリアルケース(フォント周 りの流れ解析)を、foamyHexMesh cfMeshでメッシュ作成、計算 する演習を行います。 2013/8/16 33回オープンCAE勉強会@岐阜 夏合宿 オープンCAEコンサルタント OCSE^2 代表 野村悦治

Mesh dexcs

Embed Size (px)

Citation preview

  • 1. foamyHexMesh cfMesh DEXCS for OpenFOAM foamyHexMesh cfMesh 2013/8/16 33CAE CAE OCSE^2

2. 1. 2. DEXCS 2.1. snappyHexMesh by SwiftTool 2.2. 3. foamyHexMesh 4. cfMesh 3. 1. DEXCS2014 for OpenFOAM(R) OS : Ubuntu 14.04 OpenFOAM-2.3.x-f43d2c700665 2014/6/30 4. DVD DVD 5. iso/DVD DVD DVD BIOSDVD vmware,virtualBox,... iso .10 .11 .12 6. HDD ubuntu DEXCS custom DEXCS 7. DEXCS1 custom DVD OK 8. ubuntu 9. DEXCS HDD Linux Mint (ubuntu OK 10. isoDVD Windows7Windows http://www.vwnet.jp/Windows/w7/ISO/WriteISO.htm http://memorva.jp/internet/pc/iso_cd_dvd.php Windows7 http://www.pc-master.jp/sousa/s-iso.html http://pctrouble.lessismore.cc/running/write_iso.html 11. BIOS PCF2DeleteBIOS Boot http://pctrouble.lessismore.cc/boot/bios_setup.html http://www.pc-master.jp/jisaku/boot.html PCF11F12 http://dynabook.com/assistpc/faq/pcdata/004035.htm 12. OSDEXCS for OpenFOAM LinuxOSOSWindowsMacOS LinuxOS VirtualBoxx86 http://ja.wikipedia.org/wiki/X86%E4%BB%AE%E6%83%B3%E5%8C%96 VirtualBox, VMwarePlayer http://legacyos.ichmy.0t0.jp/virtualsoft/ http://bit.ly/1a3nOdq VMwarePlayer 13. DEXCS2014 OF-2.3.X TreeFoam-2.22 ParaView-4.1.0 HelyxOS 2.1.1 2 1 FreeCAD-0.14 Blender-2.71 + Swift Tools OpenMDAO-0.9.7 14. Chromium web browser SPE ( Stanis Python Editor ) 0.8.4.h-3 JAVA gnuplot GUI 0.1.2 kdif30.9.97-3 wxGlade 0.6.8-1 15. 1 16. snappyHexMesh by Swift-tools on Blender 2. DEXCS TreeFoamDEXCS2014ubuntu 14.04 17. TreeFoam TreeFoam-2.22 18. TreeFoam Blender 19. SwiftSnappsnappyHexMeshDict 1 2 20. 1 2 3 21. SwiftBlockblockHexMeshDict 1 2 3 22. 23. 1 2 4 3 24. ParaFoam 1 2 25. 1 2 3 4 26. 27. simpleFoam 28. 1 2 3 4 29. 2 1 30. snappyHexMesh 1 2 3 4 5 31. 1 2 32. 1 2 ExecutionTime = 54.86 s ClockTime = 55 s SIMPLE solution converged in 147 iterations 33. yPlus yPlusRAS 34. ParaView 1 2 35. 2 1 3 4 36. 3 2 1 4 37. 2.2 DEXCSBlender dexcs.blendSwift DEXCS2014FreeCAD stl (*1) DEXCSFreeCAD formyHexMesh cfMesh (1*) 38. STL Box Box 39. 3.formyHexMesh 40. foamyHexMesh system/foamyHexMeshDict shapeControlFunction 41. .stl .obj NG OK 42. STL 1 2 3 4patch() 43. ParaView 44. Blender STL 1 2 45. .stl .obj surfaceOrient (inputFile) -inside '(x,y,z)' (outputFile) 46. FreeCAD 1 2 3 47. foamyHexMeshDict geometry initialPoints surfaceConformation motionControl polyMeshFiltering meshQualityControls backgroundMeshDecomposition 48. foamyHexMeshDict 49. foamyHexMeshDict formyHexMeshDict OF- 2.3.0 true 50. geometry name region OK 51. surfaceConformation type dexcs,duct 52. motionControl surfaceCellSizeCoeff dexcs,duct cellSizeFunction linearDistance / uniform priority, mode --- ? 53. Allrun foamyHexMesh OK surfaceFile 1 2 3 checkMesh 54. OpenFOAM decomposePar mpirun -np # [solverName] -parallel (backgroundMeshDecomposition) decompose foamyHexMesh 55. backgroundMeshDecomposition tight-fitting 56. 57. ParaView 2 1 3 OK 58. 1 2 3 4 59. foamy snappy 60. snappy foamy 61. checkMesh summary 62. log.checkMesh 63. simpleFoam 64. 1 2 3 4 65. 2 1 66. 1 2 3 4 5 67. 13 2 4 68. ExecutionTime = 60.12 s ClockTime = 60 s SIMPLE solution converged in 121 iterations 1 2 69. yPlus yPlusRAS 70. ParaView 1 2 71. 3 4 2 1 72. 3 2 1 4 73. snappy foamy 74. 75. cellSizeFunction uniform; 76. cellSizeFunction linearDistance ; cellSizeFunction uniform; 77. cellSizeFunction linearDistance ; 78. 4. cfMesh 79. http://www.c-fields.com/ 80. cfMesh-v1.0 81. FreeCAD 1 2 3 82. surfaceFile.stl 1 2 4 3 83. Allrun 2 3 ./Allrun 1 1 84. ParaView 2 3 1 85. 1 2 3 4 86. snappy cfMesh 87. checkMesh 88. log.checkMesh 89. simpleFoam 1 4 2 3 5 6 90. 1 2 91. cfMesh 1 4 5 2 3 92. wall patch 3 1 2 3 4 93. 1 2 ExecutionTime = 90.09 s ClockTime = 91 s SIMPLE solution converged in 123 iterations yPlusRAS 3 94. ParaView 1 2 95. 2 1 3 4 96. 3 2 1 4 97. snappy cfMesh 98. cfMesh system/meshDict 99. Box Box 100. stl 1 2 4 3 101. STL 102. STL surfaceFeatureEdges -angle ## input - .stl output - .fms The preferred format for cfMesh is fms, designed to hold all relevant information for setting up a meshing job. It stores patches, subsets, and feature edges in a single file. In addition, it is the only format which can store all geometric entities into a single file, and the users are strongly encouraged to use it. 103. meshDict surfaceFile boundaryLayers localRefinement objectRefinements keepCellsIntersectin gPatches cellSize 104. minCellSize 105. objectRefinement 106. inlet outlet wall dexcs regiionB ox maxCellSize cellSize Boundary Layesr minCellSize Local Refinement object Refinements cellSizenLayers ratio DEXCS feature Angle Dexcs.fms, meshDict 107. preparePar : cfMesh sawOctrees reconstructParMesh 108. Lets smart OpenCAE presented by