nCellsBetweenLevels problem
hello Foamers,
i want to mesh a air-foil in 2d, i specify nCellsBetweenLevels 9 but SHM doesn't do it... i can't find the reason, any ideas ??? |
1 Attachment(s)
hi to all,
i have found the problem, it seems that SHM does'nt like non cubic cells! my blockmesh wasn't thick enough. then, i play a little with featureAngle to obtain Layers... difficult in 3D and quiet stupid because the mesh will be extrude for 2D solving. so i try this trick make a first SHM with only castelaned true then extrude then a second SHM to snap and add layer here the shell script; #!/bin/sh cd ${0%/*} || exit 1 # run from this directory # Source tutorial run functions . $WM_PROJECT_DIR/bin/tools/RunFunctions # Make 3D mesh only castellated slab of cells. cd wingMotion_snappyHexMesh1 runApplication blockMesh cp system/snappyHexMeshDict_init system/snappyHexMeshDict; runApplication snappyHexMesh; #-overwrite cp system/snappyHexMeshDict2 system/snappyHexMeshDict runApplication extrudeMesh rm log.snappyHexMesh; rm -r 1 runApplication snappyHexMesh; # Make a 2D mesh by extruding a patch and solve to steady state. #cd ../wingMotion2D_simpleFoam1 #runApplication extrudeMesh #runApplication createPatch -overwrite #runApplication simpleFoam # ----------------------------------------------------------------- end-of-file my problem now is that simpleFoam doesn t work well because a "empty group" appear .... to learn OF i fill that a lot of perseverance is needed... any help will be very welcome... LL |
solved
Hi
I send that just for information in case of someone got the same problem. I just pass from OF 2.1 to 2.2 and to solve the problem i had just to change "mirror" to "empty" into the include files lost of fun, with OF !!! LL |
All times are GMT -4. The time now is 20:11. |