CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[blockMesh] Create mirror mesh

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 9, 2007, 13:07
Default Create mirror mesh
  #1
Senior Member
 
Pei-Ying Hsieh
Join Date: Mar 2009
Posts: 317
Rep Power: 18
hsieh is on a distinguished road
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
hsieh is offline   Reply With Quote

Old   February 9, 2007, 13:13
Default mirrorMesh?
  #2
Senior Member
 
Eugene de Villiers
Join Date: Mar 2009
Posts: 725
Rep Power: 21
eugene is on a distinguished road
mirrorMesh?
eugene is offline   Reply With Quote

Old   February 9, 2007, 16:07
Default Thanks Eugene! I did try mi
  #3
Senior Member
 
Pei-Ying Hsieh
Join Date: Mar 2009
Posts: 317
Rep Power: 18
hsieh is on a distinguished road
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 is offline   Reply With Quote

Old   February 10, 2007, 08:18
Default Hi Eugene, I tried mirrorMe
  #4
Senior Member
 
Pei-Ying Hsieh
Join Date: Mar 2009
Posts: 317
Rep Power: 18
hsieh is on a distinguished road
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
hsieh is offline   Reply With Quote

Old   June 26, 2008, 01:19
Default hi pei. even im trying to sol
  #5
New Member
 
nikhil babu madduri
Join Date: Mar 2009
Posts: 17
Rep Power: 17
nikhilmadduri is on a distinguished road
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 is offline   Reply With Quote

Old   July 8, 2008, 02:59
Default hello, where can we find th
  #6
New Member
 
nikhil babu madduri
Join Date: Mar 2009
Posts: 17
Rep Power: 17
nikhilmadduri is on a distinguished road
hello,

where can we find this "mirrorMeshDict" file?

replies will be highly appreciated.

Thanks
Nikhil
nikhilmadduri is offline   Reply With Quote

Old   July 8, 2008, 03:50
Default Hi Nikhil, A sample dictona
  #7
caw
Member
 
Christian Winkler
Join Date: Mar 2009
Location: Mannheim, Germany
Posts: 63
Rep Power: 17
caw is on a distinguished road
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
caw is offline   Reply With Quote

Old   July 8, 2008, 03:51
Default Hi Nikhil Please check out
  #8
Senior Member
 
Join Date: Mar 2009
Posts: 248
Rep Power: 18
jaswi is on a distinguished road
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
jaswi is offline   Reply With Quote

Old   April 22, 2022, 04:03
Default
  #9
Member
 
zink
Join Date: Oct 2015
Posts: 30
Rep Power: 11
ansab_sindhu is on a distinguished road
When you mirror the mesh what will happen to the earlier defined boundary patches in the blockMesh dict?


I am using quarter circle blockMesh to create full circle. My mesh file is like
https://cfd.direct/openfoam/user-guide/v6-platehole/
Initially, the boundary are hole, right , top, left and down.
I am able to generate the the full circle but I am concerned about defining the new patch names and what will happen to the earlier faces at the symmetry location

The patch names should be
inlet, outlet, topwall, bottomwall and cylinder

Can anyone guide me?



Quote:
Originally Posted by jaswi View Post
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
ansab_sindhu is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
create the file *.foam phongstar OpenFOAM 12 October 14, 2018 19:06
[GAMBIT] How to plot S pipe mariam.sara ANSYS Meshing & Geometry 36 November 7, 2013 16:22
[ANSYS Meshing] is it possible to create virtual edges on the blades er_ijaz ANSYS Meshing & Geometry 0 November 3, 2013 06:15
[DesignModeler] Design Modeller create surface papis ANSYS Meshing & Geometry 0 October 31, 2013 14:52
About create interface! xinzhiyu2008 STAR-CCM+ 2 August 6, 2010 21:47


All times are GMT -4. The time now is 23:33.