|
[Sponsors] |
June 18, 2015, 10:57 |
surfaceFeatureExtract
|
#1 |
Member
Ron de Vos
Join Date: Jun 2015
Posts: 30
Rep Power: 11 |
I work on DTCHull but by snappyhexmesh I get
FOAM FATAL IO ERROR: Could not open "C:/OpenFOAM/cygwin64/home/Windschip/OpenFOAM/Windschip-2.3.x/run/DTCHull/constant/triSurface/DTC-scaled.eMesh" I dont know how I get . eMesh in the triSurface Ron |
|
June 18, 2015, 15:34 |
|
#2 |
Member
Ron de Vos
Join Date: Jun 2015
Posts: 30
Rep Power: 11 |
I am looking for the the commandline of surfaceFeatureExtract.
Ron |
|
June 20, 2015, 15:19 |
surfaceFeatureExtract
|
#3 |
Member
Ron de Vos
Join Date: Jun 2015
Posts: 30
Rep Power: 11 |
I try but i can't find the solution to change DTC-scaled.stl in DTC-scaled .emesh
I haven seen some solutions but it looks like that in OpenFoam 2.3.x something is changed. Which commandoline is needed to change the .stl in . eMesh |
|
June 21, 2015, 13:16 |
|
#4 |
Member
Alexander Bartel
Join Date: Feb 2015
Location: Germany
Posts: 97
Rep Power: 11 |
Hi Ron,
you just need to use the command "surfaceFeatureExtract" in your case folder. To use the command you need to store your .stl -files in /constant/triSurface and make sure you have a surfaceFeatureExtractDict" -file in /system . A surfaceFeatureExtractDict should look like : Code:
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.3.0 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class dictionary; object surfaceFeatureExtractDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // main.stl { // How to obtain raw features (extractFromFile || extractFromSurface) extractionMethod extractFromSurface; extractFromSurfaceCoeffs { // Mark edges whose adjacent surface normals are at an angle less // than includedAngle as features // - 0 : selects no edges // - 180: selects all edges includedAngle 150; } // Write options // Write features to obj format for postprocessing writeObj yes; } orifice.stl { extractionMethod extractFromSurface; extractFromSurfaceCoeffs { includedAngle 150; } writeObj yes; } // ************************************************************************* // regards Alex
__________________
Please note that I do not use the Friend-feature, so do not be offended, if I do not accept a request. |
|
June 21, 2015, 15:44 |
|
#5 |
Member
Ron de Vos
Join Date: Jun 2015
Posts: 30
Rep Power: 11 |
Hi Alex
The surfaceFeatureExtractdict file is in the system of DTCHull and also the dtc-scaled stil is in it when I type in the DTCHull case folder: surfaceFeatureExtract/constant/triSurface/DTC-scaled.stl DTC-scaled I get bash: surfaceFeatureExtract/constant/triSurface/DTC-scaled.stl: No such file or directory Windschip@Asus ~/OpenFOAM/Windschip-2.3.x/run/DTCHull/system $ Usage: C:\OpenFOAM\cygwin64\opt\OpenFOAM\OpenFOAM-2.3.x\platforms\cygwin64mingw-w64DPOpt\bin\surfaceFeatureExtract.exe [OPTIONS] bash: Usage:: opdracht niet gevonden What is it I do wrong? Ron |
|
June 21, 2015, 18:00 |
|
#6 |
Member
Alexander Bartel
Join Date: Feb 2015
Location: Germany
Posts: 97
Rep Power: 11 |
Hi Ron,
no need to use this big font The stl files have to be in /constant/triSurface folder if it not exists... create it. When you are in your DTCHull case folder just type "surfaceFeatureExtract" regards Alex
__________________
Please note that I do not use the Friend-feature, so do not be offended, if I do not accept a request. |
|
June 22, 2015, 10:03 |
|
#7 |
Member
Ron de Vos
Join Date: Jun 2015
Posts: 30
Rep Power: 11 |
Thank You Alex. The eMesh has succeed.
Ron |
|
Tags |
surfacefeatureextract |
|
|