View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000796 | OpenFOAM | Bug | public | 2013-03-21 14:02 | 2013-03-26 20:15 |
Reporter | Assigned To | ||||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | x64 | OS | Ubuntu | OS Version | 12.04 |
Summary | 0000796: snappyHexMesh complain about header missin on paraview generated vtk edges | ||||
Description | as per http://www.openfoam.org/version2.2.0/pre-processing.php, i've exported edges in paraview 3.12.0 as ascii vtk. snappyhexmesh set up like this: features ( { file "casing.vtk"; level 5; } and nFeatureSnapIter 10; //- Detect (geometric) features by sampling the surface implicitFeatureSnap false; //true; //- Use castellatedMeshControls::features explicitFeatureSnap true; //- Detect features between multiple surfaces // (only for explicitFeatureSnap, default = false) multiRegionFeatureSnap true; } complain that the file is missing the correct header: /*---------------------------------------------------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.2.0 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ Build : 2.2.0-5be49240882f Exec : snappyHexMesh Date : Mar 21 2013 Time : 22:03:50 Host : "vieri-desktop" PID : 8860 Case : /home/vieri/Desktop/testing nProcs : 1 sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE). fileModificationChecking : Monitoring run-time modified files using timeStampMaster allowSystemOperations : Disallowing user-supplied system call operations // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Create time Create mesh for time = 0 Read mesh in = 0 s Overall mesh bounding box : (-2 -2 -2) (12 2 2) Relative tolerance : 1e-06 Absolute matching distance : 1.50997e-05 Reading refinement surfaces. Read refinement surfaces in = 2.71 s Reading refinement shells. Read refinement shells in = 0 s Setting refinement level of surface to be consistent with shells. Checked shell refinement in = 3.24 s Reading features. --> FOAM Warning : From function IOobject::readHeader(Istream&) in file db/IOobject/IOobjectReadHeader.C at line 89 Reading "/home/vieri/Desktop/testing/constant/triSurface/casing.vtk" at line 1 First token could not be read or is not the keyword 'FoamFile' Check header is of the form: /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.2.0 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class featureEdgeMesh; location "constant/triSurface"; object casing.vtk; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // --> FOAM FATAL IO ERROR: problem while reading header for object casing.vtk file: /home/vieri/Desktop/testing/constant/triSurface/casing.vtk at line 1. From function regIOobject::readStream() in file db/regIOobject/regIOobjectRead.C at line 95. FOAM exiting also, take care that in paraview 3.14.1 it is no longer possible to export as vtk. | ||||
Additional Information | as an addition, when sHM is run in parallel after a decomposition, it request the edges file to be present in 0/processorN/constant/triSurface/ for every processor. this does not happen for just the surfaces stl and without edges the meshing proceed smoothly in parallel | ||||
Tags | Mesh, snappyHexMesh | ||||
|
fixed in 4e92c59d99af30e63e8b0c166f236167a291a4b3. Should read in .vtk files and run in parallel without any copying. Thanks for reporting. |
Date Modified | Username | Field | Change |
---|---|---|---|
2013-03-21 14:02 |
|
New Issue | |
2013-03-21 14:03 |
|
Tag Attached: Mesh | |
2013-03-21 14:04 |
|
Tag Attached: snappyHexMesh | |
2013-03-26 20:15 |
|
Note Added: 0002074 | |
2013-03-26 20:15 |
|
Status | new => resolved |
2013-03-26 20:15 |
|
Fixed in Version | => 2.2.x |
2013-03-26 20:15 |
|
Resolution | open => fixed |
2013-03-26 20:15 |
|
Assigned To | => user4 |