|
[Sponsors] |
[CAD formats] Smoothing an stl file to match inlet with timeVaryingMappedFixedValue |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 29, 2015, 19:14 |
Smoothing an stl file to match inlet with timeVaryingMappedFixedValue
|
#1 |
Member
Join Date: Jul 2010
Posts: 52
Rep Power: 16 |
Hi everyone:
I am doing a wind simulation over complex terrain. I did a precursor simulation over flat terrain to generate the inlet for the successor complex terrain simulation. So the inlet in the successor simulation is defined as timeVaryingMappedFixedValue. I generate the complex terrain mesh with a *.stl file of the terrain. Because of the terrain features, the inlet in the successor mesh does not match perfectly the precursor simulation plane. I think that is causing me some instabilities as seen in the picture. Does anyone know how can I either: -create a buffer zone upstream of my successor mesh to perfectly linked it to the precursor? I tried mergeMesh and then stichMesh but there is a big offset and it does not work (as the second pic shows). -or how can I modify my stl file (smoothing it in the upstream direction) to get a good inlet? -or any other suggestion? Thanks a lot! |
|
July 30, 2015, 08:59 |
|
#2 |
Senior Member
Paulo Vatavuk
Join Date: Mar 2009
Location: Campinas, Brasil
Posts: 200
Rep Power: 18 |
Hi MaryBau,
I’ve done a simulation similar to yours. Depending on the way you are generating the stl file, you may be able to generate a smooth transition. In my case I had a VBA program running in excel that generated the stl file and so I had to insert the smooth transition by programming, it was quite difficult to do it but it worked. How did you generate the stl file? Best Regards, Paulo |
|
July 30, 2015, 09:11 |
|
#3 |
Member
Join Date: Jul 2010
Posts: 52
Rep Power: 16 |
Hi Paulo,
Thanks for the reply. I did not generate the stl file, it was given to me. And I do not have the xyz data either to generate my own stl file. Is there a easy way to convert stl to xyz, and start over? Thanks again, Mary |
|
July 31, 2015, 08:35 |
|
#4 |
Senior Member
Paulo Vatavuk
Join Date: Mar 2009
Location: Campinas, Brasil
Posts: 200
Rep Power: 18 |
Hi Mary,
I don't know an easy way to convert stl to xyz. Perhaps it would be easier if you generate a second stl that creates a smoothing region and then generate the mesh with the two stls. To do this, it isn't necessary to know all xyz coordinates but only the coordinates of the curve that forms the boundary between the original region and the new smooth one. Now the problem is how to obtain the coordinates of the curve? You may try to use meshLab, in http://meshlab.sourceforge.net/, it says it can create slices of a surface and export the points. I hope this helps. Best Regards, Paulo |
|
Tags |
stl, timevaryingmappedfixedval |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
how to calculate mass flow rate on patches and summation of that during the run? | immortality | OpenFOAM Post-Processing | 104 | February 16, 2021 09:46 |
[OpenFOAM.org] Compile OF 2.3 on Mac OS X .... the patch | gschaider | OpenFOAM Installation | 225 | August 25, 2015 20:43 |
Trouble compiling utilities using source-built OpenFOAM | Artur | OpenFOAM Programming & Development | 14 | October 29, 2013 11:59 |
centOS 5.6 : paraFoam not working | yossi | OpenFOAM Installation | 2 | October 9, 2013 02:41 |
Version 15 on Mac OS X | gschaider | OpenFOAM Installation | 113 | December 2, 2009 11:23 |