|
[Sponsors] |
[surface handling] How to create Patches depending on normal vector |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 6, 2024, 10:29 |
How to create Patches depending on normal vector
|
#1 |
New Member
Join Date: Jul 2024
Posts: 4
Rep Power: 2 |
Hello,
I'm trying to create patches on an existing STL-File depending on the normale vector of the faces. That are the things I already have done: - I have the STL-File which should not be changed. It was created with FreeCAD via a Python-Code. I have already read that patches which are defined before exporting as STL-File are not be transfered. - I have already have done SurfaceFeatureExtract where I have the Points, edges and normals of the features stored in a file. How can I now create the following patches: 1. inlet for normal vector (0 -1 0) 2. outlet for normal vector (0 1 0) 3. side1 for normal vector (-1 0 0) 4. side2 for normal vector (1 0 0) 5. top for normal vector (0 0 1) 6. bottom for normal vector (0 0 -1) 7. solid for every face which has not one of the above normal vectors I would be very grateful for your help! Kind regards, Christian |
|
October 9, 2024, 08:13 |
|
#2 |
New Member
Skill-Lync CFD
Join Date: Sep 2024
Location: Chennai
Posts: 21
Rep Power: 2 |
You could create the mesh as is and define the patches in post using topoSet.
Otherwise, identifying the patches would be difficult. Personally, using blender works for me where I essentially open the STL files, group the faces together and create patch names to export to snappy. I am not aware of a method where using surfaceFeatureExtract, you can create these patches. Look into cfMesh, the utility is called surfaceFeatureEdges, where you can divide the surface mesh file into features depending on an angle. Resource link. Feel free to reach out in case you have any questions! Team Skill-Lync |
|
October 10, 2024, 06:42 |
|
#3 | |
New Member
Join Date: Jul 2024
Posts: 4
Rep Power: 2 |
Quote:
|
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Other] Create new patches using a guide vector | Reptider | OpenFOAM Meshing & Mesh Conversion | 0 | June 23, 2021 11:46 |
Possible bug with stitchMesh and cyclics in OpenFoam | Jack001 | OpenFOAM Pre-Processing | 0 | May 21, 2016 09:00 |
[snappyHexMesh] determining displacement for added points | CFDnewbie147 | OpenFOAM Meshing & Mesh Conversion | 1 | October 22, 2013 10:53 |
How do I compute the normal vector to a surface with FEM | Vasilis | Main CFD Forum | 3 | July 31, 2009 08:59 |
fluent add additional zones for the mesh file | SSL | FLUENT | 2 | January 26, 2008 12:55 |