|
[Sponsors] | |||||
|
|
|
#1 |
|
New Member
Mark Herskind
Join Date: Oct 2010
Posts: 2
Rep Power: 0 ![]() |
Hi..
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.. Cheers Mark Herskind |
|
|
|
|
|
|
|
|
#2 |
|
Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 4,307
Blog Entries: 31
Rep Power: 45 ![]() ![]() |
Greetings Mark,
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: Code:
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 Code:
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: Code:
ls -s $PWD/case1/constant/polyMesh case2/constant/polyMesh ls -s $PWD/case1/constant/polyMesh case3/constant/polyMesh run:Code:
echo $PWD Bruno
__________________
|
|
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [ICEM] Generating Mesh for STL Car in Windtunnel Simulation | tommymoose | ANSYS Meshing & Geometry | 48 | April 15, 2013 04:24 |
| [ICEM] surface mesh merging problem | everest | ANSYS Meshing & Geometry | 38 | March 6, 2013 16:47 |
| Open\/Foam change of mesh diffusivity in meshMotion. | DLC | Main CFD Forum | 0 | November 26, 2009 10: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 |