|
[Sponsors] |
May 3, 2013, 11:55 |
Patch definition in sHM
|
#1 |
New Member
Sture Smidt
Join Date: Mar 2013
Posts: 27
Rep Power: 13 |
Hi,
I do the following: geometry { kanalLangA.obj { type triSurfaceMesh; regions { inlet // name in stl-file { name inlet; // type patch; } outlet // name in stl-file { name outlet; // type patch; } wall // name in stl-file { name wall; // type wall; } } } }; The obj file is made with Rhino, this is an example: # Rhino g wall o wall v 0 0 1 v 0 1 1 v 50 0 1 v 50 1 1 vt 0 0 vt 0 1 vt 1 0 vt 1 1 vn 0 0 1 vn 0 0 1 vn 0 0 1 vn 0 0 1 f 4/4/4 2/2/2 1/1/1 3/3/3 o wall v 50 1 0 v 50 1 1 v 0 1 0 v 0 1 1 vt 0 0 vt 0 1 vt 1 0 vt 1 1 vn 0 1 0 vn 0 1 0 vn 0 1 0 vn 0 1 0 f 8/8/8 6/6/6 5/5/5 7/7/7 ..... I am trying to define patches with names from an obj file, which does not work. How do I make names in a stl file (without editing the stl file, which I know how to do)? I need different patch names for BC etc. SS |
|
May 3, 2013, 12:11 |
|
#2 |
Senior Member
Jose Rey
Join Date: Oct 2012
Posts: 134
Rep Power: 18 |
Have you tried?:
Code:
patchInfo { type patch; } Code:
patchInfo { type wall; } |
|
Tags |
names, patches, shn |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[mesh manipulation] Importing Multiple Meshes | thomasnwalshiii | OpenFOAM Meshing & Mesh Conversion | 18 | December 19, 2015 19:57 |
Possible Bug in pimpleFoam (or createPatch) (or fluent3DMeshToFoam) | cfdonline2mohsen | OpenFOAM | 3 | October 21, 2013 10:28 |
Face merging, patch definition, wall function | Sandu69 | OpenFOAM | 2 | March 24, 2010 12:48 |
Problem with rhoSimpleFoam | matteo_gautero | OpenFOAM Running, Solving & CFD | 0 | February 28, 2008 07:51 |
[Gmsh] Import gmsh msh to Foam | adorean | OpenFOAM Meshing & Mesh Conversion | 24 | April 27, 2005 09:19 |