|
[Sponsors] |
OF Multiphase: interFoam-replace DTC Hull STL file with wigley hull |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 16, 2020, 16:02 |
OF Multiphase: interFoam-replace DTC Hull STL file with wigley hull
|
#1 |
Member
Tony Zhang
Join Date: Nov 2019
Location: soton
Posts: 45
Rep Power: 7 |
[SIZE="3"][SIZE="3"][SIZE="2"]HI ALL,
Now I am working on interFoam using DTC hull case tutorial. Currently I am trying to replace the DTC HULL with a simpler Wigley hull and then repeat the simulation (RAS-interFoam). DTC hull and Wigley hull are not in the same size and not in same position, I have maneged to make wigley hull in same scaling and same centre position using 3d builder and meshLab, but it appears erros when i conduct surfaceFeatureExtract, which is attached. Does anyone know how to scale this kind of STL file and make it work? Btw, both STL files of DTC Hull and wigley hull are from OF resource. please let me know if you have any hint. Any further discussion will be appreciated! Many thanks Tony |
|
August 3, 2020, 22:12 |
|
#2 |
Senior Member
Claudio Boezio
Join Date: May 2020
Location: Europe
Posts: 137
Rep Power: 7 |
Hi Tony,
Judging from the error message it seems that there is an error in the STL file. Have you tried running the surfaceCheck utility on the STL file after modifying it with the programs you've used? As an alternative you could also use OpenFOAM's own surface manipulation tools found in applications/utilities/surface/. If you want to use the Wigley hull within the domain of the DTCHull tutorial, make sure you close the Wigley hull, i.e. add a deck. Otherwise snappyHexMesh won't be able to subtract the hull from the domain because it has no volume. You might also want to have a look at this case with the Wigley hull by WolfDynamics: http://www.wolfdynamics.com/tutorials.html?id=149 |
|
December 1, 2020, 19:11 |
|
#3 |
Member
Tony Zhang
Join Date: Nov 2019
Location: soton
Posts: 45
Rep Power: 7 |
Hi Claudio, many thanks for your reply and that's very helpful. And sorry for the late reply because of focusing on some writing recently.
Now I have fixed this problem, but have another one: after running the ship case using interFoam (I am using OFv6) and I hope to compute the wave profile along the hull (something like the image attached) through paraview. Do you have any idea how to do this? Appreciated if you can share some steps, many thanks! T |
|
December 1, 2020, 19:15 |
|
#4 | |
Member
Tony Zhang
Join Date: Nov 2019
Location: soton
Posts: 45
Rep Power: 7 |
Quote:
Now I have fixed this problem, but have another one: after running the ship case using interFoam (I am using OFv6) and I hope to compute the wave profile along the hull (something like the image attached) through paraview. Do you have any idea how to do this? Appreciated if you can share some steps, many thanks! T |
||
December 1, 2020, 20:17 |
|
#5 |
Senior Member
Claudio Boezio
Join Date: May 2020
Location: Europe
Posts: 137
Rep Power: 7 |
Hello Tony,
Glad I could help! I never needed to get the wave profile you are looking for but I know they are used to compare measured model test wave profiles with calculated ones. Maybe there's a quicker and more elegnat way to do this in Paraview, but out of my mind my first idea would be like this:
Cheers, Claudio |
|
|
|
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 |
polynomial BC | srv537 | OpenFOAM Pre-Processing | 4 | December 3, 2016 10:07 |
[foam-extend.org] problem when installing foam-extend-1.6 | Thomas pan | OpenFOAM Installation | 7 | September 9, 2015 22:53 |
[OpenFOAM.org] Compile OF 2.3 on Mac OS X .... the patch | gschaider | OpenFOAM Installation | 225 | August 25, 2015 20:43 |
"parabolicVelocity" in OpenFoam 2.1.0 ? | sawyer86 | OpenFOAM Running, Solving & CFD | 21 | February 7, 2012 12:44 |