|
[Sponsors] |
December 7, 2011, 09:55 |
Split domain - files are overwritten
|
#1 |
Disabled
Join Date: Mar 2011
Posts: 174
Rep Power: 15 |
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" Code:
labelHashSet Set1(Set1Cells); labelHashSet Set2(Set2Cells); // define condition and insert cells in each of the two sets fvMeshSubset subsetter(mesh); fvMeshSubset subsetter2(mesh); subsetter.setLargeCellSubset(Set1, -1, true); subsetter2.setLargeCellSubset(Set2, -1, true); subsetter.subMesh().write(); subsetter2.subMesh().write(); I also assume it would not be a good idea to mess with the library file. Any ideas? |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Default domain | jaho | CFX | 5 | February 16, 2014 01:00 |
Multiple domain interfaces on a single surface | mike | CFX | 2 | January 26, 2009 18:03 |
Split ICEM .tin files - how? | Bernhard | CFX | 5 | June 27, 2007 09:41 |
Fluid domain split | Russ | FLUENT | 1 | August 20, 2004 00:21 |
[making animations] fclose fails to close files? | Mika | FLUENT | 0 | March 30, 2001 09:19 |