||December 7, 2011 09:55
Split domain - files are overwritten
I have a domain that I would like to be splitted in two parts according to a certain condition.
Therefore, I define two "labelHashSet" containing the corresponding cells and the two parts of the mesh are then extracted by "fvMeshSubset"
// define condition and insert cells in each of the two sets
subsetter.setLargeCellSubset(Set1, -1, true);
subsetter2.setLargeCellSubset(Set2, -1, true);
The problem is that I have no control over the write() function directory and therefore the files are overwritten.
I also assume it would not be a good idea to mess with the library file. Any ideas?