CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Pre-Processing

how to add data to boundaryfile

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 4, 2013, 09:08
Default how to add data to boundaryfile
  #1
Disabled
 
Join Date: May 2013
Posts: 6
Rep Power: 12
anon_e is on a distinguished road
Hey all,

since two days I try to figure out how to add data to the boundary File. I have a simple pipe geometry containing inlet, outlet and wall. I did the geometry using salome, than I imported each single part as stl file. At the end i used snappyHexMesh wich created just one boundary file. I wonder how I can say openfoam in the shmDict to put each stl data for inlet, outlet etc into the boundary file. Does someone know??

Greets
anon_e is offline   Reply With Quote

Old   June 8, 2013, 15:49
Default
  #2
New Member
 
Join Date: Mar 2013
Posts: 2
Rep Power: 0
jjulien is on a distinguished road
Dear PreCoatFilter,

I had exactly the same problem,
I created the file into Salome then imported back into OpenFoam using SnappyHM. After having snapped your files, try to use the command in your folder autoPatch 75 (you might need to play with the value of the angle).
Make sure before that in your controlDict file, you start from latestTime.

Then autoPatch will start from your last folder (which I assume is the 2/) and create a third one 3/ where inside you will find a new polymesh/boundary.
You could then rename the autoPatch0... by inlet, outlet and wall, and attibute Patch.

Hope this answer will help
Best regards
/Julien
jjulien is offline   Reply With Quote

Reply


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
Problem in running ICEM grid in Openfoam Tarak OpenFOAM 6 September 9, 2011 17:51
CGNS vs Tecplot Data Format LWhitson2 Main CFD Forum 3 July 1, 2011 13:50
Data import in Fluent?! Bart Horsten FLUENT 3 February 22, 2010 13:05
Tecplot. add experimental data into a mesh Alejandro FLUENT 0 December 10, 2008 07:08
XYZ (ASCII format) data points into GAMBIT Neil FLUENT 1 August 7, 2007 09:24


All times are GMT -4. The time now is 12:57.