|
[Sponsors] |
subMesh, patch type differs OF1.5dev and OF1.6 |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 23, 2011, 07:28 |
subMesh, patch type differs OF1.5dev and OF1.6
|
#1 |
Member
Niklas Winkler
Join Date: Mar 2009
Location: Stockholm, Stockholm, Sweden
Posts: 73
Rep Power: 17 |
Hello,
Using the code below to obtain a subMesh. However, in OF1.5dev the new patch, i.e. oldInternalFaces gets type patch, while in OF1.6 it gets the type empty. Is there a way to get it to be of type patch in OF1.6? Thanks /NW word setName("cellLst"); cellSet currentSet(mesh, setName, cellLst); // Create mesh subsetting engine fvMeshSubset subsetter(U,mesh); label patchI = -1; subsetter.setLargeCellSubset(currentSet,patchI, true); const fvMesh& subsetMesh=subsetter.subMesh(); subsetMesh.write(); |
|
|
|