|
[Sponsors] |
February 22, 2019, 06:36 |
stl mesh import
|
#1 | |
New Member
Julian
Join Date: Jan 2019
Posts: 2
Rep Power: 0 |
Hi all,
I want to simulate the impact of a new construction in a canal river (two concrete piles of a new hydroelectricplant). As I am very newbie to this, i've designed a simple 2d geometry with the banks of the canal and a constant height. See png file attached. I want to use the incompressible solver with a simple boundary conditions (constant velocity at the inlet). i want to import my mesh in OpenFoam. I have both .stl and .obj format, exported from Freecad. I dont know really how to import my file. I have tried this : - convert obj file to vtk file with SurfaceConvert - import with vtkUnstructuredToFoam file.vtk in the polymesh folder I have only points. The faces, boundary and other files are void. If I do a surfaceCheck it says : Quote:
Thanks for any advice |
||
February 22, 2019, 13:45 |
|
#2 |
Senior Member
Join Date: Oct 2017
Posts: 133
Rep Power: 9 |
Hi 432Hz,
you can't use the STL/OBJ file directly, you have to create a proper mesh with something like snappyHexMesh (and blockMesh). Use your favorite search engine and you'll find a lot of information and tutorials. Kind regards, Krapf |
|
March 12, 2019, 09:14 |
|
#3 |
New Member
Julian
Join Date: Jan 2019
Posts: 2
Rep Power: 0 |
Thx for your response.
So Im resolved to learn it the hard way as you guys all did Last edited by 432Hz; March 15, 2019 at 04:49. |
|
Tags |
mesh import geometry obj, mesh import geometry stl |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
decomposePar problem: Cell 0contains face labels out of range | vaina74 | OpenFOAM Pre-Processing | 37 | July 20, 2020 06:38 |
Unable to import mesh - identify problematic face | TWA | CFX | 9 | May 7, 2014 03:51 |
Mesh motion with Translation & Rotation | Doginal | CFX | 2 | January 12, 2014 07:21 |
[ICEM] Generating Mesh for STL Car in Windtunnel Simulation | tommymoose | ANSYS Meshing & Geometry | 48 | April 15, 2013 05:24 |
mesh missing after import in fluent | morteza08 | FLUENT | 0 | July 23, 2010 03:22 |