CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Meshing & Mesh Conversion

cfMesh: How to define patches in .stl file

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   September 2, 2016, 17:23
Default cfMesh: How to define patches in .stl file
  #1
New Member
 
W. Schuyler Hinman
Join Date: Apr 2013
Location: Calgary, Alberta, Canada
Posts: 26
Rep Power: 6
schuyler is on a distinguished road
Hello all,

I have decided to try out cfMesh but I am having some trouble defining my geometry. When I create the stl file I need in solidworks it only has one patch defined in it.

In all of the cfMesh tutorials they have different patches defined within the stl file. Does anybody know how this is achieved? I can't seem to figure out a straight forward way.

For example the elbow_90degree tutorial. The patches are defined in the stl file.

Is there another way to create patches for cfMesh?

Any help would be greatly appreciated!

schuyler
schuyler is offline   Reply With Quote

Old   September 2, 2016, 18:10
Default
  #2
New Member
 
W. Schuyler Hinman
Join Date: Apr 2013
Location: Calgary, Alberta, Canada
Posts: 26
Rep Power: 6
schuyler is on a distinguished road
Isn't it funny how you can solve your own problem just by putting it into words for others?

Here are some notes that I found:

-When you run cartesianMesh on a .ftr file it outputs the surfaces it used as patches.
-When you run cartesianMesh on a .fms file it does not
-HOWEVER, if you run the openFoam utility autoPatch it generates the patches for you.

My main concern was with adding boundary layers. How could I select the patches for layering if there were no patches until AFTER you run the mesher? Well, the answer is easy actually. You just run the generateLayers utility after the mesh has been created and you run autopatch.

Maybe my experience will be helpful to someone?

Schuyler
schuyler is offline   Reply With Quote

Old   September 7, 2016, 03:39
Default
  #3
Senior Member
 
Franjo Juretic
Join Date: Aug 2011
Location: Velika Gorica, Croatia
Posts: 118
Rep Power: 9
franjo_j is on a distinguished road
Send a message via Skype™ to franjo_j
Dear schuyler,
at the following link you can find more information regarding this topic http://sourceforge.net/projects/open...W09_P_0048.pdf

Kind regards, Franjo
__________________
Principal Developer of cfMesh
www.cfmesh.com
Social media: LinkedIn, Twitter, YouTube, Google+, Facebook, Pinterest
franjo_j is offline   Reply With Quote

Reply

Tags
cfmesh, meshing

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem installing swak_2.x for OpenFoam-2.4.0 towanda OpenFOAM Installation 6 September 5, 2015 21:03
centOS 5.6 : paraFoam not working yossi OpenFOAM Installation 2 October 9, 2013 01:41
funkySetFields compilation error tayo OpenFOAM 39 December 3, 2012 06:18
"parabolicVelocity" in OpenFoam 2.1.0 ? sawyer86 OpenFOAM Running, Solving & CFD 21 February 7, 2012 12:44
OpenFOAM on MinGW crosscompiler hosted on Linux allenzhao OpenFOAM Installation 127 January 30, 2009 20:08


All times are GMT -4. The time now is 02:42.