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

One mesh for multiple cases

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

Reply
 
LinkBack Thread Tools Display Modes
Old   March 28, 2013, 15:41
Default One mesh for multiple cases
  #1
New Member
 
MB
Join Date: Sep 2012
Posts: 19
Rep Power: 4
matzbanni is on a distinguished road
hello!
at the moment i'm trying to calculate different case-setups, all designed with the same mesh. is it possible to store the mesh only once, and all of the other cases have access to the mesh?
thanks.

regards,
m
matzbanni is offline   Reply With Quote

Old   March 28, 2013, 17:19
Default
  #2
Senior Member
 
Lieven
Join Date: Dec 2011
Location: Mol, Belgium
Posts: 294
Rep Power: 11
Lieven will become famous soon enough
Hi m,

You can simply use symbolic links for this. You can for example make a directory structure like
$/case1
$/case2
$/case...
$/caseN
$/polyMesh

and in each of the $/case*/constant folders you type
Code:
ln -s ../../polyMesh .
If you want to run the simulations in parallel, the situation is basically the same but then you need to set the links to all processor*/constant/polyMesh folders.

Cheers,

Lieven
Lieven is offline   Reply With Quote

Old   March 28, 2013, 18:13
Default
  #3
New Member
 
MB
Join Date: Sep 2012
Posts: 19
Rep Power: 4
matzbanni is on a distinguished road
Quote:
Originally Posted by Lieven View Post
Hi m,

You can simply use symbolic links for this. You can for example make a directory structure like
$/case1
$/case2
$/case...
$/caseN
$/polyMesh

and in each of the $/case*/constant folders you type
Code:
ln -s ../../polyMesh .
If you want to run the simulations in parallel, the situation is basically the same but then you need to set the links to all processor*/constant/polyMesh folders.

Cheers,

Lieven
Hi Lieven,
thanks for your reply. After a few errors I figured it out how to do it.

Regards,
m

Last edited by matzbanni; March 29, 2013 at 08:44.
matzbanni 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
[ICEM] Negative volume error in hybrid mesh siw ANSYS Meshing & Geometry 4 September 3, 2014 05:25
Mesh motion with Translation & Rotation Doginal CFX 2 January 12, 2014 06:21
Layers:problem with curvature giulio.topazio OpenFOAM Native Meshers: snappyHexMesh and Others 10 August 22, 2012 09:03
snappyHexMesh won't work - zeros everywhere! sc298 OpenFOAM Native Meshers: snappyHexMesh and Others 2 March 27, 2011 21:11
basic of mesh refinement arya CFX 4 June 19, 2007 12:21


All times are GMT -4. The time now is 03:00.