|
[Sponsors] |
March 28, 2013, 20:39 |
nCellsBetweenLevels problem
|
#1 |
Member
laurentL
Join Date: Oct 2011
Location: new caledonia
Posts: 73
Rep Power: 15 |
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 ??? |
|
April 9, 2013, 02:08 |
|
#2 |
Member
laurentL
Join Date: Oct 2011
Location: new caledonia
Posts: 73
Rep Power: 15 |
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 |
|
April 11, 2013, 20:51 |
solved
|
#3 |
Member
laurentL
Join Date: Oct 2011
Location: new caledonia
Posts: 73
Rep Power: 15 |
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 |
|
Tags |
ncellsbetweenlevels |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
UDF compiling problem | Wouter | Fluent UDF and Scheme Programming | 6 | June 6, 2012 05:43 |
Gambit - meshing over airfoil wrapping (?) problem | JFDC | FLUENT | 1 | July 11, 2011 06:59 |
natural convection problem for a CHT problem | Se-Hee | CFX | 2 | June 10, 2007 07:29 |
Adiabatic and Rotating wall (Convection problem) | ParodDav | CFX | 5 | April 29, 2007 20:13 |
Is this problem well posed? | Thomas P. Abraham | Main CFD Forum | 5 | September 8, 1999 15:52 |