View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001091 | OpenFOAM | Bug | public | 2013-11-22 10:53 | 2013-11-27 15:24 |
Reporter | Assigned To | ||||
Priority | none | Severity | feature | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | Linux | OS | SuSE | OS Version | 11.2 |
Summary | 0001091: foamToVTK flag for handling older files | ||||
Description | When using foamToVTK to convert faceSets, I've encountered that the old VTK directory is automatically deleted, which is usually not what one wants. This is clearly happening due to line 402..422 in the foamToVTK.C file. The removal of the VTK directory can be prevented by cheating and using the "-time 0" option. The simplest featurefix would be to add a "-keep" flag, because it is probably undesirable to change default behavior. | ||||
Steps To Reproduce | In the cavity case, with supplied topoSetDict, it can easily be checked using $ blockMesh $ topoSet $ ls -1 constant/polyMesh/sets set1 set2 $ foamToVTK -faceSet set1 $ ls -1 VTK set1 $ foamToVTK -faceSet set2 $ ls -1 VTK set2 | ||||
Additional Information | I checked the 2.2.x source-code and I am convinced that the issue will happen there as well. | ||||
Tags | No tags attached. | ||||
2013-11-22 10:53
|
topoSetDict (1,262 bytes)
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.1.0 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class dictionary; object topoSetDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // actions ( { name set1; type faceSet; action new; source boxToFace; sourceInfo { box (0.24 -1 -1) (0.26 1 1); } } { name set2; type faceSet; action new; source boxToFace; sourceInfo { box (-1 0.24 -1) (1 0.26 1); } } ); // ************************************************************************* // |
|
Makes sense. Fixed in fadb316. Thanks for reporting. |
Date Modified | Username | Field | Change |
---|---|---|---|
2013-11-22 10:53 |
|
New Issue | |
2013-11-22 10:53 |
|
File Added: topoSetDict | |
2013-11-27 15:24 |
|
Note Added: 0002667 | |
2013-11-27 15:24 |
|
Status | new => resolved |
2013-11-27 15:24 |
|
Fixed in Version | => 2.2.x |
2013-11-27 15:24 |
|
Resolution | open => fixed |
2013-11-27 15:24 |
|
Assigned To | => user4 |