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

[CAD formats] BC at specific location in STL mesh

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 21, 2014, 16:10
Default BC at specific location in STL mesh
  #1
New Member
 
sam mas
Join Date: Nov 2014
Posts: 2
Rep Power: 0
sam mas is on a distinguished road
Dear all,

I want to apply Neumann type boundary condition at specific locations of a surface STL mesh. Any suggestion on how can this be done? By specific location, I do not mean at specific points, I mean specific areas on the surface.

An example would be much appreciated.

Many thanks in advance
sam mas is offline   Reply With Quote

Old   November 21, 2014, 16:24
Default
  #2
Senior Member
 
Daniel P. Combest
Join Date: Mar 2009
Location: St. Louis, USA
Posts: 621
Rep Power: 0
chegdan will become famous soon enoughchegdan will become famous soon enough
Short Answer: split your STL into separate STL files for each BC, mesh in snappyHexMesh.
chegdan is offline   Reply With Quote

Old   November 21, 2014, 16:47
Default Thanks Dan
  #3
New Member
 
sam mas
Join Date: Nov 2014
Posts: 2
Rep Power: 0
sam mas is on a distinguished road
Thanks Dan for a quick reply.

If possible can you please recommend any example/ tutorial?

sam
sam mas is offline   Reply With Quote

Old   November 21, 2014, 16:58
Default
  #4
Senior Member
 
Daniel P. Combest
Join Date: Mar 2009
Location: St. Louis, USA
Posts: 621
Rep Power: 0
chegdan will become famous soon enoughchegdan will become famous soon enough
look in tutorials/mesh/snappyHexMesh/ at how they setup snappyhexMesh. you would need entries in your snappyHexMeshDict for each STL in the geometry and castellatedMeshControls>refinementSurfaces sections of the dictionary. There are multiple GUIs that can help with this (see section 2). Good luck
chegdan is offline   Reply With Quote

Old   November 24, 2014, 11:09
Default
  #5
Member
 
Simon Arne
Join Date: May 2012
Posts: 42
Rep Power: 13
simpomann is on a distinguished road
I would split the STL with a seperate preprocessor, like CATIA's Rapid Prototyping environment or Ansys' Ansa.
If it has very few triangles you might do it by hand (an ASCII-STL is basically a list of triangles) and can be split in multiple regions (marked with solid, closed with endsolid). You can then adress each region seperately as a patch, e.g.
MyGeomety_region1
MyGeometry_region2
Where region is the solid name within the STL-file.

Like this you can adress them within snappyHexMesh, e.g. to use different refinements, as well as in the patch field files for boundaries 0/U etc.

In the default snappyHexMeshDict under applications/utilities/mesh/generation/snappyHexMesh should be an example how to use this
simpomann is offline   Reply With Quote

Reply

Tags
boundary condition, specific location, stl mesh


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Simple piston movement in cylinder- fluid models arun1994 CFX 4 July 8, 2016 02:54
[snappyHexMesh] No layers in a small gap bobburnquist OpenFOAM Meshing & Mesh Conversion 6 August 26, 2015 09:38
[snappyHexMesh] snappyHexMesh won't work - zeros everywhere! sc298 OpenFOAM Meshing & Mesh Conversion 2 March 27, 2011 21:11
Convergence moving mesh lr103476 OpenFOAM Running, Solving & CFD 30 November 19, 2007 14:09
How to control Minximum mesh space? hung FLUENT 7 April 18, 2005 09:38


All times are GMT -4. The time now is 06:13.