|
[Sponsors] |
How to create the surface stl file of cylinder |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 3, 2020, 23:04 |
How to create the surface stl file of cylinder
|
#1 |
New Member
Join Date: Mar 2017
Posts: 28
Rep Power: 9 |
Hi all
How to create the surface file of cylinder, just the riser part, no bottom and top face. How to create it in Gmsh or FreeCAD or others? Please give me some suggestions. |
|
July 24, 2020, 07:02 |
|
#2 |
Member
Tommaso M.
Join Date: Sep 2018
Location: Milan, Italy
Posts: 67
Rep Power: 7 |
Hi Saatt,
You have to create the cylinder geometry with a CAD software (SolidWorks, FreeCAD, ...), for example simply extruding it from a circle. Then, you save it in .stl format and put it in the constant/triSurface folder of your case. After that, you create the mesh (blockMesh) and extract the geometry from the stl (surfaceFeatureExtract). Finally, you use snappyHexMesh to "adapt" the mesh to such geometry. Anyway, in this way you will have a single patch, i.e. the cylinder (you cannot have, for example, bottom, top and lateral face patches). I think this is due to the way the cylinder is created by the CAD software. I am looking for a way to create it as an "assembly of patches" in order to set different boundary conditions on each face. If anyone knows how to do it, I would appreciate your help. Tommy |
|
Tags |
stl file; gmsh; freecad |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[swak4Foam] Installation Problem with OF 6 version | Aurel | OpenFOAM Community Contributions | 14 | November 18, 2020 16:18 |
OpenFoam "Permission denied" and "command not found" problems. | iyidaniel@yahoo.co.uk | OpenFOAM Running, Solving & CFD | 11 | January 2, 2018 06:47 |
[Other] Adding solvers from DensityBasedTurbo to foam-extend 3.0 | Seroga | OpenFOAM Community Contributions | 9 | June 12, 2015 17:18 |
DecomposePar links against liblamso0 with OpenMPI | jens_klostermann | OpenFOAM Bugs | 11 | June 28, 2007 17:51 |
CFX4.3 -build analysis form | Chie Min | CFX | 5 | July 12, 2001 23:19 |