CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Meshing & Mesh Conversion (https://www.cfd-online.com/Forums/openfoam-meshing/)
-   -   [blockMesh] Problem with wedge type geometry. (https://www.cfd-online.com/Forums/openfoam-meshing/150755-problem-wedge-type-geometry.html)

huyidao March 28, 2015 20:29

Problem with wedge type geometry.
 
I am new to openFoam.i try to simulate a 2D axi-symmetric problem,it is hard at first,but i find a example here https://openfoamwiki.net/index.php/M...s/AxiSymmetric,it helps a lot.
But i am still confused with the vertex label's order at the outlet.In the user guide,it says that"the order in which the vertices are given must be such that ,looking from inside the block and starting with any vertex,the face must be traversed in a clockwise direction to define the other vertices. at p142",then why the order at outlet is (3 5 2 3) but it is not (3 2 5 3),i think the (3 2 5 3 ) is the order which is clockwise.
Any help is really very much appreciated! Thank you!

alexB March 29, 2015 12:25

Hi nemo,

simplest way for you would be:
copy the dynamicMeshdict file from the tutorial and controldict, fvschemes and fvsolution from any other tutorial you find and let it run.
when blockMesh runs without an error everything seems to be fine. Then you can have a look on your mesh with paraview.

for this case the defined patch (3 5 2 3) is correct. Its just difficult to visualize the points from the blockmeshdict in your head without mistakes. (remember right-handed coordinate system... it would be easier to run blockmesh and paraview like described above ;) )

regards
Alex

huyidao March 29, 2015 21:39

Thanks a lot,alex,i'll try it right now.

huyidao March 29, 2015 21:53

2 Attachment(s)
Thanks a lot,alex.
I tried what you said,and I get the picture from paraView.
But i am still confused with the vertex label's order at the outlet.
I want to ask the next few questions:
(1)The coordinate system in the paraView is not right-handed,is it right?
(2)So looking from inside the block,the vertex order should not be clockwise,is it right?
(3)but why the vertex order at the outlet is clockwise?

alexB March 30, 2015 16:24

no problem nemo,

you are right, the little picture of the axes seem to be confusing some times...

i hope the confusion will go away, when you turn on the cube axes in the properties panel (in paraView) and identify your points when you can assign them with the values.

P.S.: if the visibility of an axis is not good, because the axis is too short... just set the custom bounds to greater values (edit button beside the show axis option)

regards
Alex

huyidao March 30, 2015 21:48

Thank you Alex.I think i have solved my problem.Your advice is very useful.Thank you again.
Nemo

alexB March 31, 2015 15:06

you are welcome, nemo

everyone started with nearly the same questions...
soon you could help with newcomer questions here ;)

regards
Alex


All times are GMT -4. The time now is 02:16.