|
[Sponsors] |
[CAD formats] Unable to import STL properly to create final geometry |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
January 24, 2019, 09:17 |
Unable to import STL properly to create final geometry
|
#1 |
New Member
Join Date: Nov 2018
Posts: 4
Rep Power: 7 |
Hello everyone: first of all, I'm not sure whether this is the correct place to ask for help, but it's my best guess.
I'm trying to create and mesh the geometry for the simulation of the flow around a cylinder (actually, a 2D simulation), so as to study Karman vortices. I need to use snappyHexMesh, so I think the procedure would be: 1) Generate the geometry for the block (a box containing the cylinder), using blockMesh and defining adequate parameters in blockMeshDict. 2) Using blockMesh -blockTopology, generate an ".obj" which can be loaded in ParaView in order to visualize the block. 3) Generate the geometry for the cylinder. I'm currently trying to build it using TinkerCAD, and then exporting it as a ".stl" file, which I save inside the triSurface folder. I'm loading this file in ParaFoam as well. 4) If everything is okay (the STL of the cylinder is contained in the block), then use surfaceFeatures and then snappyHexMesh to build the final geometry (a cylinder embedded in the block). The problem I'm currently facing is: I don't really know how to place my STL within the larger block. In fact, as the picture shows, the relative size of the geometries is not consistent at all (you can barely see the "larger" block, whereas the cylinder is huge). I suspect this has to do with the way the STL is exported from TinkerCAD: the unit system seems to be in milimeters, and I've set the block geometry in meters (adjusting, so the final result should be consistent). This is how I've set the measures in both cases: I am able to run snappyHexMesh and icoFoam, but the simulation is carried out without accounting for the cylinder. Any ideas? Last edited by miguel.delasheras; January 24, 2019 at 13:46. |
|
Tags |
paraview, stl. snappyhexmesh, tinkercad |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
decompose dependent solution | arionfard | OpenFOAM | 3 | December 10, 2018 09:36 |
simpleFoam error - "Floating point exception" | mbcx4jc2 | OpenFOAM Running, Solving & CFD | 12 | August 4, 2015 02:20 |
Wrong fluctuation of pressure in transient simulation | caitao | OpenFOAM Running, Solving & CFD | 2 | March 5, 2015 21:33 |
Moving mesh | Niklas Wikstrom (Wikstrom) | OpenFOAM Running, Solving & CFD | 122 | June 15, 2014 06:20 |
Micro Scale Pore, icoFoam | gooya_kabir | OpenFOAM Running, Solving & CFD | 2 | November 2, 2013 13:58 |