|
[Sponsors] |
[surface handling] surfaceFeatureExtract generated features in .eMesh.gz format in triSurface file |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 21, 2016, 17:43 |
surfaceFeatureExtract generated features in .eMesh.gz format in triSurface file
|
#1 |
New Member
Join Date: Nov 2015
Posts: 28
Rep Power: 11 |
Hello,
Sorry for the simple question, but I'm confused with when I run surfaceFeatureExtract to extract the edge features, .eMesh.gz format instead of .eMesh format generated in the /constant/triSurface file as illustrated in the attached picture triSurface. Besides, .gz format generated in extendedFeatureEdgeMesh file too. After decompressed the .gz file using gzip, the file showing no features were extracted: [CODE] /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.2.1 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format binary; class featureEdgeMesh; location "constant/triSurface"; object cube.eMesh; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // points: 0 // edges: 0 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // ************************************************** *********************** // [CODE] The setting of surfaceFeatureExtractDict is listed as following, which is exactly the same with case flange provided by the tutorial and I can't find any utility is related with the writing format. Code:
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.2.1 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class dictionary; object surfaceFeatureExtractDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // cube.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; } // ************************************************************************* // Code:
// Settings for the layer addition. addLayersControls { // Are the thickness parameters below relative to the undistorted // size of the refined cell outside layer (true) or absolute sizes (false). relativeSizes true; // Per final patch (so not geometry!) the layer information layers { "flange_.*" { nSurfaceLayers 1; } } |
|
July 26, 2016, 10:22 |
|
#2 |
New Member
Join Date: Apr 2016
Posts: 13
Rep Power: 10 |
I guess you might have worked this out by now but for future reference...
system/controDict writeCompression [off OR uncompressed] Note that one can change this setting (along with system/controlDict: writeFormat [acsii OR binary]) then use the foam utility foamFormatConvert to switch data formats. It affects all reconstructed data including 0 folder and mesh. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Other] Tabulated thermophysicalProperties library | chriss85 | OpenFOAM Community Contributions | 62 | October 2, 2022 04:50 |
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 |
[swak4Foam] swak4foam building problem | GGerber | OpenFOAM Community Contributions | 54 | April 24, 2015 17:02 |
[OpenFOAM] Annoying issue of automatic "Rescale to Data Range " with paraFoam/paraview 3.12 | keepfit | ParaView | 60 | September 18, 2013 04:23 |
Version 15 on Mac OS X | gschaider | OpenFOAM Installation | 113 | December 2, 2009 11:23 |