|
[Sponsors] |
[Gmsh] create new boundaries in an already defined mesh |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 14, 2012, 14:40 |
create new boundaries in an already defined mesh
|
#1 |
Member
Joe
Join Date: Dec 2011
Location: Groton, CT
Posts: 69
Rep Power: 14 |
Hello all,
I have an openfoam mesh (boundary, neighbor, faces, owner, and points files), but the only defined boundary is "unspecified". A friend of mine gave me this mesh as an example of an O-mesh on an airfoil - he created it in gridgen, something I don't have access to. I searched gmsh, but from what I read it doesn't seem possible to modify boundaries in existing meshes with gmsh. What is my best option to accomplish this (modifying the boundaries)? |
|
April 14, 2012, 15:11 |
|
#2 | ||
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Greetings Joe,
You've got at the very least autoPatch and createPatch. I'll quote myself: Quote:
Quote:
Bruno
__________________
|
|||
April 15, 2012, 09:59 |
|
#3 |
Member
Joe
Join Date: Dec 2011
Location: Groton, CT
Posts: 69
Rep Power: 14 |
Thanks for the response wyldckat - I'm currently looking up the options you suggested but didn't want too much time passing without posting my thanks.
|
|
April 16, 2012, 01:24 |
|
#4 |
Member
Joe
Join Date: Dec 2011
Location: Groton, CT
Posts: 69
Rep Power: 14 |
So after looking into autoPatch and createPatch I have some questions.
For autoPatch it asks to specify an angle, and it will group faces together if adjoining faces have an angle less than that specified. Does this mean if I provide it with an angle of 180 degrees it will group every face together? That's what it appeared to do when I ran the command, it didn't seem to get me anywhere. Is there more information that you can pass to autoPatch to get it to run differently? Or is there a way to calculate what angle to pass to autoPatch in order to get it to make specific patches? The faces approaching the trailing edge of my airfoil will have angles close to 180 degrees between them, but entering 180 degrees will return catch every face there. createPatch looks for the createPatchDict. Checking on the tutorials, it seems like I should be able to define a geometry as an STL file and reference it in a createPatchDict to get a patch on the airfoil - is this correct? |
|
April 16, 2012, 05:46 |
|
#5 | ||
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Hi Joe,
Quote:
The other possibility would be to create a modified version of autoPatch that accepts floating point values, such as "179.93". But still, this doesn't look like the best option. Quote:
I think here in the forum there are a few discussions about simulating wings and airfoils in OpenFOAM, so it might be a good idea for you to search for them for more information. Good luck! Bruno
__________________
|
|||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Foam::error::PrintStack | almir | OpenFOAM Running, Solving & CFD | 92 | May 21, 2024 08:56 |
[ICEM] Can I define periodic boundaries in an unstructured mesh? | Aoki | ANSYS Meshing & Geometry | 11 | September 14, 2018 02:52 |
Mesh Boundary Assignment Question | Wandadars | Mesh Generation & Pre-Processing | 1 | June 13, 2016 18:19 |
Where's the singularity/mesh flaw? | audrich | FLUENT | 3 | August 4, 2009 02:07 |
fluent add additional zones for the mesh file | SSL | FLUENT | 2 | January 26, 2008 12:55 |