View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000422 | OpenFOAM | Bug | public | 2012-02-16 12:07 | 2012-02-16 21:09 |
Reporter | akidess | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | sometimes |
Status | resolved | Resolution | fixed | ||
Platform | Linux | OS | OpenSuse | OS Version | 11.3 |
Summary | 0000422: functionObject produces non-standard Ensight data | ||||
Description | I use a functionObject (libsampling) so sample cellPoint data on a cuttingPlane and output it to ensight format. This works fine for some fields, but for the alpha1 field of interFoam it produces invalid formatted data (e.g. -3.26244e-105). | ||||
Steps To Reproduce | Sample data using function objects in ensight format Check outputted data files with ens_checker or try to plot in Tecplot | ||||
Additional Information | Problematic sample data and output of the tool ens_checker (see http://www.ensight.com/EnLiten/viewers.html) is attached ens_checker output: ===> Problem: ------------- Previous lines end with 1 extra chars on the line, but line 21123 has 2 extra chars. The lines must be consistent or EnSight will have trouble reading it. -3.26244e-105| -----------^ Looking for: (1) numbers per line field width of (12) per number | ||||
Tags | No tags attached. | ||||
|
ens_check.txt (3,794 bytes)
***************************************************************** * EnSight Data Format Checker * * =========================== * * Currently, * * 1. Must be run from directory in which casefile is located. * * 2. Handles EnSight6 and EnSight Gold formats only. * * 3. Does not process SOS casefiles. * ***************************************************************** <Version: 2.032> <Built: 2/18/2011> ====> Output Verbosity set for default, which includes: Problems + Warnings + Informational Note: You can change this via environment variable if desired setenv ENS_CHECKER_VERBOSITY n Where: n = 0 For Problems only (no other feedback) n = 1 For Problems + Warnings n = 2 For Problems + Informational (no warnings) n = 3 For Problems + Warnings + Informational (default) Casefile to Process: -------------------- zNormal.case (Opened successfully) --------------------- Major Sections Found: --------------------- Required FORMAT section (at line 1) Required GEOMETRY section (at line 4) Optional VARIABLE section (at line 7) Optional TIME section (at line 10) --------------- FORMAT Section: --------------- EnSight Gold Format (set at line 2) ------------- TIME section: ------------- Info for timeset number: 1 ---------------------------- Time set: 1 (at line 11) No description provided Number of steps: 1 (at line 12) Filename start number: 0 (at line 13) Filename increment: 1 (at line 14) Time values: (starting on line 15) time values[1] = 0 >-------------------< > TIME section OKAY < >-------------------< ----------------- GEOMETRY Section: ----------------- -------- Model filename is: zNormal.000.mesh (at line 5) Static geometry -------- Opened zNormal.000.mesh successfully File type is: ASCII This is Step: 0 Description 1: Ensight Geometry File Description 2: ===================== node ids: assign element ids: assign No extents given Part 1: Description is: zNormal.000.mesh Unstructured Part Number of nodes is: 67699 X Coordinates for (67699) nodes found Y Coordinates for (67699) nodes found Z Coordinates for (67699) nodes found Number of tria3 elements in section is: 134116 Connectivities for (134116) tria3 elements found >-----------------------< > GEOMETRY section OKAY < >-----------------------< ----------------- VARIABLE Section: ----------------- scalar per node: alpha1 (at line 8) Filename is: zNormal.***.alpha1 Transient variable Associated time set is: 1 -------- Opened zNormal.000.alpha1 successfully Description: scalar Part 1: ===> Problem: ------------- Previous lines end with 1 extra chars on the line, but line 21123 has 2 extra chars. The lines must be consistent or EnSight will have trouble reading it. -3.26244e-105| -----------^ Looking for: (1) numbers per line field width of (12) per number ===> Problem: ------------- Not successful reading (67699) nodal scalar values >-------------------------< > VARIABLE section FAILED < >-------------------------< >-*-*-*-*-*-* bummer! *-*-*-*-*-*-< > < > Verification of the data FAILED < > < >-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-< |
|
|
|
I'm unable to upload a compressed file with the mesh part of the Ensight output (due to "Application error #401") |
|
|
|
Fixed in 21x in e59d457cda3efe5dbe7fca03cfde6614de1d17fe This limits the output to float only so any number <1e-15 will get truncated to 0. Let us know if it doesn't solve your problem. Thanks for reporting, Mattijs |
Date Modified | Username | Field | Change |
---|---|---|---|
2012-02-16 12:07 | akidess | New Issue | |
2012-02-16 12:08 | akidess | File Added: ens_check.txt | |
2012-02-16 12:08 | akidess | File Added: zNormal.000.alpha1 | |
2012-02-16 12:11 | akidess | Note Added: 0001037 | |
2012-02-16 12:12 | akidess | File Added: zNormal.case | |
2012-02-16 21:09 |
|
Note Added: 0001040 | |
2012-02-16 21:09 |
|
Status | new => resolved |
2012-02-16 21:09 |
|
Fixed in Version | => 2.1.x |
2012-02-16 21:09 |
|
Resolution | open => fixed |
2012-02-16 21:09 |
|
Assigned To | => user4 |