CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Pre-Processing

could not run surfaceFeatureExtract command

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree1Likes
  • 1 Post By DramaDrummer

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 21, 2020, 13:21
Thumbs up could not run surfaceFeatureExtract command
  #1
New Member
 
Muhammad Atif
Join Date: Jul 2019
Posts: 2
Rep Power: 0
m.atifme20 is on a distinguished road
Hi I am a newbie in OpenFOAM. I am trying to run simpleFoam analysis of a tractor-trailer. I have copied the code from the university document which was working perfectly before. I followed all steps but used different software(solidworks) to create geometry. I placed .stl file in constant/trySurface folder. When I am using the command surfaceFeatureExtract it is giving the error below. It seems to me that the solver could not read the .stl file. I have checked the names in surfaceFeatureExtractDict which is same.
I have run the motorBike tutorial which was running fine. I am using openFOAM v7. Please find attached file of geometry and surfaceFeatureExtractDict.
Any help will be highly appreciated!

/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 7
\\/ M anipulation |
\*---------------------------------------------------------------------------*/
Build : 7-3bcbaf946ae9
Exec : surfaceFeatureExtract
Date : Oct 21 2020
Time : 17:02:09
Host : "Atif-pc"
PID : 594
I/O : uncollated
Case : /mnt/c/Users/Admin/Documents/openFoam/practice/truckAnalysis
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster (fileModificationSkew 10)
allowSystemOperations : Allowing user-supplied system call operations

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

Reading surfaceFeatureExtractDict

Surface : "Truck-Geometry.stl"


Feature line extraction is only valid on closed manifold surfaces.


--> FOAM FATAL ERROR:
Cannot read "/mnt/c/Users/Admin/Documents/openFoam/practice/truckAnalysis/constant/triSurface/Truck-Geometry.stl"

From function bool Foam::triSurface::read(const Foam::fileName&, const Foam::word&, bool)
in file triSurface/triSurface.C at line 304.

FOAM exiting

Last edited by m.atifme20; October 21, 2020 at 13:30. Reason: updating file
m.atifme20 is offline   Reply With Quote

Old   October 28, 2020, 04:30
Default
  #2
New Member
 
Kevin
Join Date: Nov 2019
Location: Bremen, Germany
Posts: 8
Rep Power: 4
DramaDrummer is on a distinguished road
Hi Muhammad!
Don't know if it still helps you, but I would have two possible solutions:
1. As far as I know, in newer versions of OF surfaceFeatureExtract was replaced by surfaceFeatures. For this you would need the surfaceFeaturesDict, which (I think) looks similar to the surfaceFeatureExtractDict. Just look into the tutorials
2. More likely, the problem is a miss spelling of your .stl file or this file being in the wrong folder. From the code triSurface.C at line 304 you can see that this error comes up when the software is unable to find the file.


Hope this helps out.
Kevin
njdyck likes this.
DramaDrummer is offline   Reply With Quote

Reply

Tags
.stl file, openfaom-7, surfacefeatureextract, trysurface

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to import and run command file (*.enc) using FlowSight automatically? brucecumt FLOW-3D 1 November 21, 2016 07:58
Working directory via command line Luiz CFX 4 March 6, 2011 21:02
Problem of compilation OF 14Allwmake command not found erik_d OpenFOAM Bugs 13 September 13, 2008 22:45
Regarding FoamX running Kindly help out hariya03 OpenFOAM Pre-Processing 0 April 18, 2008 05:26
Problems of running the parallel computations lorraine FLUENT 17 July 6, 2007 09:08


All times are GMT -4. The time now is 19:59.