|
[Sponsors] |
February 5, 2020, 19:30 |
Flange Tutorial Issue
|
#1 |
New Member
Carl Reilly
Join Date: Aug 2010
Posts: 25
Rep Power: 15 |
Hi,
I'm trying to learn to use snappyHexMesh, so am trying to complete the flange tutorial. I'm using OpenFOAM v7 I have run into an issue I can't solve. The steps I undertake are: 1) copy tutorial directory and stl file to my run directory Code:
cp -r $FOAM_TUTORIALS/mesh/snappyHexMesh/flange . Code:
cp -r $FOAM_TUTORIALS/resources/geometry/flange.stl.gz .flange/constant/triSurface 3) Run blockMesh 4) Try to run surfaceFeatureExtract, however I get the following error: HTML Code:
--> FOAM FATAL ERROR: cannot find file "/home/carl/OpenFOAM/carl-7/run/flange/system/surfaceFeatureExtractDict" |
|
April 28, 2022, 11:59 |
same issue
|
#2 |
New Member
James
Join Date: Apr 2022
Posts: 2
Rep Power: 0 |
Hi All,
new openFoam user going through lots of tutorials and I have also got stuck on the Flange Tutorial 12. Everything I have read says that the STL file should be copied into the /constant/trisurface folder, yet this tutorial only works if the flange.stl file is located in the /constant/geometry folder. There is an Allrun script that comes with the tutorial and it even specifies this constant/geometry folder location. I have tried doing it "manually" without the Allrun and unless I put the STL in /constant/geometry folder it throws up the same error when I run the surfaceFeatures function or snappyHexMesher. I am running v9 on Windows and everything else has run/loaded fine to this point. Many thanks in advance! James |
|
April 29, 2022, 10:13 |
Aha!
|
#3 |
New Member
James
Join Date: Apr 2022
Posts: 2
Rep Power: 0 |
Hello All,
well I found the issue. See the following commit link: https://github.com/OpenFOAM/OpenFOAM...6c91da2a915dec So /constant/geometry is the new standard location for any geometry files but a triSurface sub-folder can still be used. My issue was that I had both the geometry and triSurface folders located in the \constant folder, however geometry was empty which it doesn't like. As soon as I deleted the empty geometry folder, everything works as per the old tutorial references. Just for anyone's future reference to avoid a wasted day following up a detail that shouldn't matter cheers James |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
BC issue for chtMultiRegionFoam | Aadhavann | OpenFOAM Running, Solving & CFD | 2 | November 15, 2022 07:25 |
waveDyMFoam stability issue | goodster | OpenFOAM Running, Solving & CFD | 6 | September 23, 2018 04:40 |
help with 3D Bifurcating Artery tutorial - no wall shear seen | 9aul | FLUENT | 0 | January 15, 2018 18:20 |
Dam break tutorial - transportProperties issue | Guimloute | OpenFOAM Running, Solving & CFD | 4 | June 27, 2017 11:52 |
[Tutorials] New Dakota - OpenFOAM Coupling Tutorial | Tobi | OpenFOAM Community Contributions | 0 | October 9, 2016 17:19 |