View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001123 | OpenFOAM | Bug | public | 2014-01-05 01:16 | 2014-01-05 09:33 |
Reporter | wyldckat | Assigned To | henry | ||
Priority | normal | Severity | minor | Reproducibility | sometimes |
Status | closed | Resolution | fixed | ||
Summary | 0001123: Field files for the tutorials cases in "multiphase/cavitatingFoam/les/" have incomplete dimensions | ||||
Description | For example, the file "multiphase/cavitatingFoam/les/throttle/0/U" has got the following dimensions entry: dimensions [0 1 -1 0 0]; When the complete entry should be: dimensions [0 1 -1 0 0 0 0]; Similar occurs for most of the other non-turbulence field files. And the same happens for the "throttle3D" tutorial. This is not a problem for OpenFOAM, nor for OpenFOAM's own plug-in for ParaView. But unfortunately, ParaView's built-in reader does has some problems reading these files. And from the information gathered and reported in the "Steps To Reproduce" entry, it seems that this incomplete form isn't the standard for most of the tutorials. | ||||
Steps To Reproduce | To pick up on all files that use the incomplete dimensions definition, run: cd $FOAM_TUTORIALS grep -r -e "\[\ *-*[0-9]* -*[0-9]* -*[0-9]* -*[0-9]* -*[0-9]*\ *\]" * Looks like that there are lot more files than I originally found... to compare, here are the grep commands for counting the number of 7 element vectors, vs 5 element vectors: grep -r -e "\[\ *-*[0-9]* -*[0-9]* -*[0-9]* -*[0-9]* -*[0-9]* -*[0-9]* -*[0-9]*\ *\]" * | wc -l # gave 2000 Versus: grep -r -e "\[\ *-*[0-9]* -*[0-9]* -*[0-9]* -*[0-9]* -*[0-9]*\ *\]" * | wc -l # gave 93 Searching for 4, 6 and 8 element vectors did not give any results. | ||||
Additional Information | I only stumbled upon this thanks to this post: http://www.cfd-online.com/Forums/openfoam-installation/127760-paraview-version-update-errors.html#post468525 - the error is emitted only when the built-in reader in ParaView is used. | ||||
Tags | No tags attached. | ||||