|November 4, 2010, 06:51||
Change mesh location on drive..
Join Date: Oct 2010
Posts: 8Rep Power: 7
I have a mesh, which is want to do 12 simulations on (changing inflow direction).. The mesh I have right now is app 7.5m cells, which is about 1.5GB of data..
If I want to run these simultanious, I will need to generate 12 cases, each with a copy of the mesh.. It'll take up a lot of space copying the grid to each sector (14.5GB of duplicate data), but worse, it takes time..
I was wondering if there's a way of changing the reference to the mesh location, so that the simulations can share the same mesh..
|November 4, 2010, 19:04||
Join Date: Mar 2009
Location: Lisbon, Portugal
Blog Entries: 39Rep Power: 97
It depends on where the mesh is kept at. For example, when we run "blockMesh", the mesh is kept in the folder "constant/polyMesh". The same happens when we run "snappyHexMesh -overwrite", which will overwrite the latest mesh (which is usually the initial mesh by blockMesh).
So, if you can keep the mesh in the folder "constant/polyMesh" then you can use symbolic links for sharing the mesh between cases. For example, if we have 3 case folders: "case1 case2 case3".
Generate the mesh in case1. Then step back into the previous folder and run:
rm -rf case2/constant/polyMesh rm -rf case3/constant/polyMesh ls -s ../../case1/constant/polyMesh case2/constant/polyMesh ls -s ../../case1/constant/polyMesh case3/constant/polyMesh
cd case3/constant ls -l polyMesh/
But the best method would be to use absolute folders, as long as you run always on the same path:
ls -s $PWD/case1/constant/polyMesh case2/constant/polyMesh ls -s $PWD/case1/constant/polyMesh case3/constant/polyMesh
|Thread||Thread Starter||Forum||Replies||Last Post|
|[ICEM] surface mesh merging problem||everest||ANSYS Meshing & Geometry||44||April 14, 2016 06:41|
|[ICEM] Generating Mesh for STL Car in Windtunnel Simulation||tommymoose||ANSYS Meshing & Geometry||48||April 15, 2013 04:24|
|Open\/Foam change of mesh diffusivity in meshMotion.||DLC||Main CFD Forum||0||November 26, 2009 11:55|
|basic of mesh refinement||arya||CFX||4||June 19, 2007 12:21|
|How to control Minximum mesh space?||hung||FLUENT||7||April 18, 2005 09:38|