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

Immersed Boundary Mesh Problem

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

Reply
 
LinkBack Thread Tools Display Modes
Old   November 20, 2016, 16:05
Default Immersed Boundary Mesh Problem
  #1
Member
 
Emre
Join Date: Nov 2015
Location: Izmir, Turkey
Posts: 47
Rep Power: 3
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,226
Rep Power: 23
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: 47
Rep Power: 3
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

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
No layers in a small gap bobburnquist OpenFOAM Native Meshers: snappyHexMesh and Others 6 August 26, 2015 09:38
Problem of calculating divergence due to wrong boundary vaule of finite area mesh lzhou OpenFOAM Programming & Development 2 June 18, 2015 05:10
Waterwheel shaped turbine inside a pipe simulation problem mshahed91 CFX 3 January 10, 2015 12:19
Question about heat transfer coefficient setting for CFX Anna Tian CFX 1 June 16, 2013 06:28
An error has occurred in cfx5solve: volo87 CFX 5 June 14, 2013 17:44


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