CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Mesh Utilities

mirrorMesh utility preserving regions

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   August 25, 2014, 11:13
Default mirrorMesh utility preserving regions
  #1
Senior Member
 
Alex
Join Date: Oct 2013
Posts: 334
Rep Power: 14
zfaraday will become famous soon enough
Hi foamers,

Some time ago I was working in a case where I used a quarter of a cylinder as a base geometry because of symmetry. My geometry was made up of some regions defined via blockMeshDict (naming the diferent blocks) and splitted afterwards using splitMeshRegions utility.

Now I want to re-use that geometry but I need the whole cylinder instead of only the original quarter cylinder. To do that I thought about using the utility mirrorMesh but it has some limitations to suit my needs. It mirrors the mesh perfectly, of course, but it doesn't respect my region specification. I mean, the original regions specified in the blokMeshDict file keep being part of the original quarter of cylinder, but they are not extended to the whole cylinder after mirroring the quarter. Thus, in the end I have my original regions (defined within the first quarter of the cylider) plus one more region containing the rest of the cylinder generated by the utility.

Is there any utility (or option within the mirrorMesh utility) to mirror my original geometry taking into account the region specification?

Thanks in advance.


Alex
__________________
Web site where I present my Master's Thesis: foamingtime.wordpress.com

The case I talk about in this site was solved with chtMultiRegionSimpleFoam solver and involves radiation. Some basic tutorials are also resolved step by step in the web. If you are interested in these matters, you are invited to come in!
zfaraday is offline   Reply With Quote

Old   November 7, 2016, 22:51
Default
  #2
New Member
 
Gianluca
Join Date: Sep 2011
Location: Firenze, Italy
Posts: 9
Rep Power: 7
ninoleum is on a distinguished road
Hi Alex, I'm experiencing exactly the same problem, of course related to another geometry. Did you find a solution so far?

I hoped also mirrorMesh had the '-region' option so that I could be able to mirror each region mesh one by one after processing the global mesh with splitMeshRegion but it has not this option.

Thank You

Gianluca
ninoleum is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
multiple regions Tobi OpenFOAM Native Meshers: snappyHexMesh and Others 50 July 27, 2017 12:14
Paraview 3.98.0 does not update list of mesh regions letzel OpenFOAM Paraview & paraFoam 5 September 29, 2015 05:47
Contribution a new utility: refine wall layer mesh based on yPlus field lakeat OpenFOAM Mesh Utilities 57 February 1, 2015 09:25
SnappyHexMesh and MultiRegion - get regions from Salome to OF dzi OpenFOAM Native Meshers: snappyHexMesh and Others 2 September 4, 2014 10:04
turbDyMFoam and refineMesh utility fusij OpenFOAM 6 December 12, 2011 10:39


All times are GMT -4. The time now is 06:07.