|
[Sponsors] |
[Netgen] Feature request: add boundary name to stl solid name |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 16, 2010, 02:51 |
Feature request: add boundary name to stl solid name
|
#1 |
Senior Member
Niels Nielsen
Join Date: Mar 2009
Location: NJ - Denmark
Posts: 556
Rep Power: 27 |
Hi.
I've posted a feature request on the netgen SF page and just added it here for interested people. Add the possibility to use the assigned boundary conditions to add name for STL solids. This way it can be used in SnappyHexMesh in OpenFOAM without having to split the STL file in seperate geometries and will allow for a fully defined surface without leaks. example of ACSII STL file as it is now when exporting, only one triangle Code:
solid facet normal -0.9990862153 -0.03061211299 -0.02982671458 outer loop vertex -4990.620641 -306.11373 0 vertex -5000 3.061616998e-13 8.333027861e-09 vertex -4991.095326 0 -298.2741069 endloop endfacet endsolid Code:
solid Boundary_0 facet normal -0.9990862153 -0.03061211299 -0.02982671458 outer loop vertex -4990.620641 -306.11373 0 vertex -5000 3.061616998e-13 8.333027861e-09 vertex -4991.095326 0 -298.2741069 endloop endfacet endsolid Boundary_0
__________________
Linnemann PS. I do not do personal support, so please post in the forums. Last edited by linnemann; August 16, 2010 at 07:23. |
|
August 16, 2010, 03:26 |
|
#2 |
Senior Member
Niels Nielsen
Join Date: Mar 2009
Location: NJ - Denmark
Posts: 556
Rep Power: 27 |
Hi all
as a temporarily workaround I found a way to do this. Code:
surfaceMeshTriangulate --help /*---------------------------------------------------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5-dev | | \\ / A nd | Revision: exported | | \\/ M anipulation | Web: http://www.OpenFOAM.org | \*---------------------------------------------------------------------------*/ Usage: surfaceMeshTriangulate <output file> [-case dir] [-parallel] [-patches (patch0 .. patchN)] [-excludeProcPatches] [-help] [-doc] [-srcDoc] So using this command I can extract the exact surface mesh from the OpenFOAM case which Netgen produced. Code:
surfaceMeshTriangulate mesh.stl -patches "(inlet outlet blade spinner)" Best
__________________
Linnemann PS. I do not do personal support, so please post in the forums. |
|
August 19, 2010, 04:15 |
|
#3 |
Senior Member
Philippose Rajan
Join Date: Mar 2009
Location: Germany
Posts: 552
Rep Power: 25 |
Hello Linnemann :-)!
A very Good Morning! So it was you who "anonymously" posted the feature request for the STL boundary export :-)! Just wanted to inform you and the OpenFOAM community, that I have added this capability of exporting STL files with each boundary identified as an individual entity into the SVN version of Netgen. The export is called "STL Extended Format" (in order to maintain backward compatibility), and can be selected as usual from the Export filetypes menu in Netgen. As requested, each boundary is defined as a separate "solid": solid Boundary_<bcnum> .... .... .... endsolid Boundary_<bcnum> Enjoy :-)! Philippose |
|
August 19, 2010, 04:22 |
|
#4 |
Senior Member
Niels Nielsen
Join Date: Mar 2009
Location: NJ - Denmark
Posts: 556
Rep Power: 27 |
Hi
Yup that was me, forgot to login before posting :-) That is super awesome, thanks man. Best
__________________
Linnemann PS. I do not do personal support, so please post in the forums. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Wind turbine simulation | Saturn | CFX | 60 | July 17, 2024 06:45 |
CFD analaysis of Pelton turbine | amodpanthee | CFX | 31 | April 19, 2018 19:02 |
Centrifugal fan-reverse flow in outlet lesds to a mass in flow field | xiexing | CFX | 3 | March 29, 2017 11:00 |
Out File does not show Imbalance in % | Mmaragann | CFX | 5 | January 20, 2017 11:20 |
Convective Heat Transfer - Heat Exchanger | Mark | CFX | 6 | November 15, 2004 16:55 |