|
[Sponsors] |
June 26, 2017, 08:54 |
how to merge two separate triSurface
|
#1 |
Member
Join Date: Jun 2011
Posts: 42
Rep Power: 15 |
I wonder if it is possible to merge two separate triSurface. To be more specific, I have two separate distributedTriSurfaceMesh as defined in viewFactorsGen/searchingEngine.H:
Code:
distributedTriSurfaceMesh surfacesMesh ( IOobject ( "wallSurface.stl", runTime.constant(), // directory "triSurface", // instance runTime, // registry IOobject::NO_READ, IOobject::NO_WRITE ), localSurface, dict ); distributedTriSurfaceMesh surfacesMesh2 ( IOobject ( "wallSurface2.stl", runTime.constant(), // directory "triSurface", // instance runTime, // registry IOobject::NO_READ, IOobject::NO_WRITE ), localSurface2, dict ); |
|
June 26, 2017, 10:43 |
|
#2 |
Super Moderator
Tobias Holzmann
Join Date: Oct 2010
Location: Bad Wörishofen
Posts: 2,711
Blog Entries: 6
Rep Power: 52 |
Hi Mike,
I am not so familiar with the tools that FOAM provides in that section because for me FOAM is the calculator which handles matrix systems etc. My suggestion (maybe not the one you would like) is to use Blender for that. Open both STL files and join them, save it and done. A brief instruction:
__________________
Keep foaming, Tobias Holzmann |
|
June 26, 2017, 13:06 |
|
#3 |
Member
Join Date: Jun 2011
Posts: 42
Rep Power: 15 |
Dear Tobias,
Thank you for the suggestion. Actually, I am trying to handle radiation exchange in a domain with cyclic boundary conditions. That is the main reason I am trying to do it within the utility. So far, I have found that the utility surfaceAdd deals with something similar. I have been able to implement it in a similar way within the searchingEngine.H. Basically, I translated the triSurface in all directions and then merged them in a similar way to what's done in surfaceAdd. Currently, I am testing this. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[ICEM] ICE Mesh in ICEM - Block merge | AA29 | ANSYS Meshing & Geometry | 19 | March 23, 2018 07:08 |
[blockMesh] How to merge blocks? Match, merge or stitch? | gerritgroot | OpenFOAM Meshing & Mesh Conversion | 0 | November 13, 2015 21:59 |
merge two connectors | v_herw | Pointwise & Gridgen | 1 | August 28, 2014 10:14 |
[ICEM] Two boxes connected by a cylinder, blocks merge where I don't want them to merge. | Polarbear | ANSYS Meshing & Geometry | 4 | April 30, 2014 16:21 |
about merge mesh | lian | Main CFD Forum | 3 | February 29, 2008 11:47 |