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

[mesh manipulation] Two-step mirrorMesh

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 4, 2016, 06:02
Default Two-step mirrorMesh
  #1
New Member
 
Maral Mohajer
Join Date: Jan 2016
Location: Stuttgart
Posts: 18
Rep Power: 10
MaralMohajer is on a distinguished road
hi everyone,

I'm using mirror mesh in ordre to first mirror a part using vector (0 1 0) and then the obtained geometry once more time mirror using (1 0 0) .
But I don't find it how can I modify mirrorMeshDict for more than one step.

I would be thankful for your reply.

Regardsss
Maral
MaralMohajer is offline   Reply With Quote

Old   November 7, 2016, 22:01
Default
  #2
New Member
 
Gianluca
Join Date: Sep 2011
Location: Firenze, Italy
Posts: 11
Rep Power: 14
ninoleum is on a distinguished road
Maral, the trick is to have two mirrorMeshDict files somewhere and to substitute system/mirrorMeshDict before running mirrorMesh application like in the following example shell script:

Code:
for k in 1 2; do
  cp system/mirrorMesh$k system/mirrorMeshDict
  mirrorMesh
done
stated that you have two files called 'mirrorMesh1' and 'mirrorMesh2' in your case system directory.

Best wishes

Gianluca
ninoleum 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
courant number increases to rather large values 6863523 OpenFOAM Running, Solving & CFD 22 July 5, 2023 23:48
How to use PIMPLE properly? floquation OpenFOAM Running, Solving & CFD 25 December 2, 2021 09:40
AMI speed performance danny123 OpenFOAM 21 October 24, 2020 04:13
Transient simulation not converging skabilan OpenFOAM Running, Solving & CFD 14 December 16, 2019 23:12
same geometry,structured and unstructured mesh,different behaviour. sharonyue OpenFOAM Running, Solving & CFD 13 January 2, 2013 22:40


All times are GMT -4. The time now is 13:30.