|
[Sponsors] |
May 15, 2018, 02:33 |
Valve .stl format
|
#1 |
New Member
Join Date: Mar 2018
Posts: 16
Rep Power: 8 |
Hello everyone!
I'm looking for a butterfly valve or a gate valve in .stl format to put inside a cylindric pipe, preferably not completely closed/opened. Can anyone help me? Thank you, Matteo |
|
May 15, 2018, 03:39 |
|
#2 |
Senior Member
anonymous
Join Date: Jan 2016
Posts: 416
Rep Power: 14 |
Hi!
Download one model from grabCAD (maybe you can find one there in STEP format), and prepare your stl files. You can do it with salome for example. |
|
May 15, 2018, 04:53 |
|
#3 |
New Member
Join Date: Mar 2018
Posts: 16
Rep Power: 8 |
Thank you simrego!
Actually I found various stl valves each of different diameters, but none of the diameter of my pipe: is this a problem for the snappy or is compatible anyway? |
|
May 15, 2018, 06:49 |
|
#4 |
Senior Member
anonymous
Join Date: Jan 2016
Posts: 416
Rep Power: 14 |
If you are doing it for fun, it can be more or less fine. But u could have problems during the snapping process due to the intersecting surfaces (if it is larger than your pipe).
But I still recommend you to find or make an appropriate CAD model and prepare your own .stl files. In salome (It is free, and there are a lot of videos, but you can use any cad software) you can easily extract your surfaces and export them as .stl If you have a good stl, the snappyhexmesh will be more accurate and faster and etc. So you will be much happier! |
|
May 15, 2018, 07:32 |
|
#5 |
New Member
Join Date: Mar 2018
Posts: 16
Rep Power: 8 |
Basically the advice is to import in salome the step file, scale it to the right dimensions and then export as stl file?
Sounds good anyway, thank you. One more doubt: the diameter of the pipe has to coincide with the internal surface of the valve, hasn't it? |
|
May 15, 2018, 07:49 |
|
#6 |
Senior Member
anonymous
Join Date: Jan 2016
Posts: 416
Rep Power: 14 |
Not really. My advice is to do something like this:
https://www.youtube.com/watch?v=5U7j...l4XW5l9VzlZdKv Like this, you will have a nice, closed stl surface. You can find many many examples about the preprocessing on the internet. |
|
May 15, 2018, 08:44 |
|
#7 |
New Member
Join Date: Mar 2018
Posts: 16
Rep Power: 8 |
Lovely!
Thank you really helpful! |
|
May 16, 2018, 01:49 |
|
#8 |
New Member
Join Date: Mar 2018
Posts: 16
Rep Power: 8 |
Now I've got the stl file, but when I open it with Notepad this is what comes out (attached image).
Do you know why? |
|
May 16, 2018, 02:02 |
|
#9 |
Senior Member
Pablo Higuera
Join Date: Jan 2011
Location: Auckland
Posts: 627
Rep Power: 19 |
Hi zizou1,
the STL is in binary format. You can convert it to ascii with a tool like meshlab. I think that OpenFOAM can work with binary STLs. Best, Pablo |
|
May 16, 2018, 04:44 |
|
#10 |
New Member
Join Date: Mar 2018
Posts: 16
Rep Power: 8 |
Thank you Pablo!
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
udf for valve closing a pipe using dynamic mesh | chem engineer | Fluent UDF and Scheme Programming | 2 | May 13, 2017 09:39 |
[CAD formats] .RAW to .stl format!! | Saideep | OpenFOAM Meshing & Mesh Conversion | 5 | September 1, 2015 12:15 |
Modelling an initially closed valve which a fluid opens | siw | CFX | 1 | April 26, 2014 06:32 |
Gate valve flow simulations... | nikesh | FloEFD, FloWorks & FloTHERM | 5 | January 28, 2014 01:31 |
[ICEM] best method to generate surfaces from a .stl file format | snudurupati | ANSYS Meshing & Geometry | 2 | July 23, 2009 10:21 |