CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Native Meshers: blockMesh (http://www.cfd-online.com/Forums/openfoam-meshing-blockmesh/)
-   -   Create mirror mesh (http://www.cfd-online.com/Forums/openfoam-meshing-blockmesh/61792-create-mirror-mesh.html)

hsieh February 9, 2007 13:07

Hi, I created a quarter of
 
Hi,

I created a quarter of a cylinder (the cross section is a quarter of a circle) using blockMesh. The problem I am solving is true 3D, so, I would like to generate the mesh of the complete cylinder. Since this is symmetrical in X-plane and in Y-plane, how can I generate the mesh of the whole cylinder using "mirror" technique?

Pei

eugene February 9, 2007 13:13

mirrorMesh?
 
mirrorMesh?

hsieh February 9, 2007 16:07

Thanks Eugene! I did try mi
 
Thanks Eugene!

I did try mirrorMesh and got strange results. The geometry was mirrored, but, mesh were messed up. It looks like mirrorMesh requirs mirrorMeshDict. I set the point to (0 0 0) and vectorToNormal to (-1 0 0). The following command was used:
mirrorMesh . casename

I probably did something wrong.

pei

hsieh February 10, 2007 08:18

Hi Eugene, I tried mirrorMe
 
Hi Eugene,

I tried mirrorMesh again. I moved the base point to an node point inside the domain, and it worked perfectly. Previously, I simply picked one corner point of the geometry.

Also, after mirrorMesh, it looks like there is no need to run stitchMesh to remove duplicate nodes on the symmetry plane - nice!

Pei

nikhilmadduri June 26, 2008 00:19

hi pei. even im trying to sol
 
hi pei.
even im trying to solve the same problem as u ve....first i generated the quarter cylinder. now i want to make it a complete cylinder. can u explain how do u do that?

itz a kind of urgent,

replies will be highly appreciated.

regards,
nike

nikhilmadduri July 8, 2008 01:59

hello, where can we find th
 
hello,

where can we find this "mirrorMeshDict" file?

replies will be highly appreciated.

Thanks
Nikhil

caw July 8, 2008 02:50

Hi Nikhil, A sample dictona
 
Hi Nikhil,

A sample dictonary can be found under:

~/OpenFOAM/OpenFOAM-1.4.1/applications/utilities/mesh/manipulation/mirrorMesh

Btw.: Please refrain from double postings in the future. In fact it makes it more unlikely that your post is answered.
This has been discussed recently:
http://openfoamwiki.net/index.php/Ho..._Message_Board

Best regards
Christian

jaswi July 8, 2008 02:51

Hi Nikhil Please check out
 
Hi Nikhil

Please check out this directory

OpenFOAM/OpenFOAM-1.4.1/applications/utilities/mesh/manipulation/mirrorMesh

For future searches please use beautiful features of LINUX such as locate or find . Other appraoch is to please familiarize yourself with the following OpenFOAM folders:

/src
/applications/solvers
/applications/utilities

Hope that will help.

With Best Regards
Jaswi


All times are GMT -4. The time now is 04:47.