|
[Sponsors] |
changeDictionaryDict, adjust BC in processorX folders? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
December 2, 2013, 08:22 |
changeDictionaryDict, adjust BC in processorX folders?
|
#1 |
Member
phil
Join Date: Oct 2013
Posts: 36
Rep Power: 13 |
Hi there,
i struggle to adjuste my BC. As in the snappyHexMeshDict file it is written, I cannot define my patches inside it as cyclic, mapped etc. I found a way to edit it with the changeDictionaryDict. The only problem is, when i create my snappy mesh decomposed in parallel, the changeDictionaryDict command does not change the BC inside the processorX/0 folders as well. And when i edit the BC in /0 before decomposing i get errors about non existing patches! So my question is: I really dont want to edit the whole files manually. Is there any other way to change the BC in a decomposed case after running snappyHexMesh or is there even a possibility to define my BC as cyclic mapped etc inside the snappyHexMeshDict (you can find a changeDictionaryDict File in the tutorial /heatTransfer/chtMultiRegionFoam/multiRegionHeater/system/bottomAir/changeDictionaryDict) Greetings |
|
February 10, 2014, 03:46 |
|
#2 |
Member
phil
Join Date: Oct 2013
Posts: 36
Rep Power: 13 |
Ok so i will answer the question for myself.
First of all i wanted to use mapped BC but thats not anymore neccessary for me so i use createPatch to edit my BC file. But for other users i will still answer my question. First of all run snappy with "snappyHexMesh -overwrite" in parallel. Afterwards you have to "reconstructParMesh -constant" the mesh and then you can delete the processor* folders. Now we use "changeDictionary" and everything works now. After we changed our boundary file, we now can decompose the case again with the new boundary file. Greetings p.s. you can find an example file of changeDictionaryDict in the applications/utilities... folders of your OF installation. |
|
February 10, 2014, 06:53 |
|
#3 |
Senior Member
Olivier
Join Date: Jun 2009
Location: France, grenoble
Posts: 272
Rep Power: 18 |
hello,
In parallel juste use the "-parallel" option of changeDictionary, just as most OF tools work with // cases. ( so the commande line will be "mpirun -np X changeDictionary -parallel") regards, olivier |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
how to export every data w.r.t time to txt file | jaho | CFX | 94 | August 25, 2015 10:45 |
how to put time folders in a unique folder | immortality | OpenFOAM Post-Processing | 9 | August 14, 2013 06:03 |
preventing of writing of excess folders | immortality | OpenFOAM Post-Processing | 3 | July 29, 2013 11:56 |
Strategy for keeping track of files and folders? | Dre | CFX | 1 | October 30, 2008 14:00 |
Help with ADJUST FUNCTION | Munir Ahmed Khan | FLUENT | 0 | August 8, 2008 07:33 |