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

[ImmersedBoundary] Immersed Boundary Mesh Problem

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 20, 2016, 16:05
Default Immersed Boundary Mesh Problem
  #1
Member
 
Emre
Join Date: Nov 2015
Location: Izmir, Turkey
Posts: 97
Rep Power: 11
ordinary is on a distinguished road
Hello,

I did cylinderInChannelIcoIbFoam and movingCylinderInChannelIco tutorials succesfully. (https://github.com/wyldckat/Immersed...annelicoIbFoam and https://github.com/Unofficial-Extend...erInChannelIco)

I want to define new cylinders instead of tutorials' cylinders. I created it in ANSYS DesignModeller and made it as surface body, then meshed. At this point I have cylinder.msh

Now I want to change this .msh file to .stl in order to use it in immersed boundary tutorials. I typed fluentMeshToFoam cylinder.msh. I get fatal error.
cannot find a single face in the mesh which uses vertices 3(1 0 2)
From function findFace(const primitiveMesh&, const face&) in file fluentMeshToFoam.L at line 856.

Then I typed fluent3DMeshToFoam cylinder.msh. It worked.

After this I tried this method to create cylinder.stl :
Quote:
Originally Posted by olesen View Post
A "foamToSurface" doesn't seem to exist yet, but you can try the following:
  • foamToStarMesh -surface [-latestTime | -constant]
This should create surfExport.{cel,vrt} files
  • touch surfExport.inp
This creates a dummy file that identifies the grouping of files as proSTAR files.
  • surfaceMeshConvert surfExport.inp surfExport.stl
Convert to STL (or other) surface format.
At the end I open my geometry with paraView but I see nothing. So embarrassing.

Any idea?
ordinary is offline   Reply With Quote

Old   November 21, 2016, 04:47
Default
  #2
Senior Member
 
akidess's Avatar
 
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 30
akidess will become famous soon enough
If all you need is a cylinder, make it in Paraview, triangulate the geometry (filter) and save data to STL. Apart from that Ansys DM cannot export STL? Really surprises me.
__________________
*On twitter @akidTwit
*Spend as much time formulating your questions as you expect people to spend on their answer.
akidess is offline   Reply With Quote

Old   November 21, 2016, 05:23
Default
  #3
Member
 
Emre
Join Date: Nov 2015
Location: Izmir, Turkey
Posts: 97
Rep Power: 11
ordinary is on a distinguished road
Even if Ansys Design Modeler could export STL, I wouldn't need it. I need a mesh file because I want to set the delS (I mean delta S in immersed boundary and it has to be equal to delta X in blockmesh) and to convert it STL.
ordinary is offline   Reply With Quote

Reply

Tags
foam-extend-3.2, immersed boundary, immersed boundary method


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
[mesh manipulation] Importing Multiple Meshes thomasnwalshiii OpenFOAM Meshing & Mesh Conversion 18 December 19, 2015 19:57
[snappyHexMesh] No layers in a small gap bobburnquist OpenFOAM Meshing & Mesh Conversion 6 August 26, 2015 10:38
Wrong flow in ratating domain problem Sanyo CFX 17 August 15, 2015 07:20
Waterwheel shaped turbine inside a pipe simulation problem mshahed91 CFX 3 January 10, 2015 12:19
An error has occurred in cfx5solve: volo87 CFX 5 June 14, 2013 18:44


All times are GMT -4. The time now is 16:17.