View Issue Details

IDProjectCategoryView StatusLast Update
0000730OpenFOAMBugpublic2013-02-08 11:12
Reporteruser491Assigned Touser4 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
PlatformLinuxOSUbuntuOS Version10.04
Summary0000730: foamToEnsight
DescriptionfoamToEnsight writes data for all fields in different files with specific time indexing.
These files are specified in the Ensight.case file.
openfoam uses 3 digits for time indexing e.g. a file name can be
[Case_Name].***.[Field,p,U or T]
If the number of time steps are more than 1000 this process fails and no .case file for ensight is written.

Steps To ReproduceTry any small case with more than 1000 t steps to reproduce the problem.
TagsNo tags attached.

Activities

user491

2013-01-30 23:57

  ~0001872

word::stripInvalid() called for word 00
    For debug level (= 2) > 1 this is considered fatal

This error message is displayed.

user4

2013-02-05 09:41

  ~0001876

The problem is the wildcards that are limited to 3 characters. We have no Ensight over here but could you try the following:

in

$FOAM_UTILITIES/postProcessing/dataConversion/foamToEnsight/itoa.C

change the variable 'length' to 4 (from 3) and see if this works correctly.

user491

2013-02-05 17:47

  ~0001878

I already did that and that works now. Apart from changing itoa.C, I also changed the "***" in different files to "****" so that when Ensight.case file is read it can identify the variable file "name format". May be that was not necessary.
But its working perfectly fine now.
Thanks for your reply.
Regards,
Awais

user4

2013-02-06 08:52

  ~0001879

Can you send me/attach your patched version?

user4

2013-02-08 11:12

  ~0001885

Fixed in f8059ab08374b14b823312999c2877d70c289add.

Thanks for reporting

Issue History

Date Modified Username Field Change
2013-01-30 23:15 user491 New Issue
2013-01-30 23:57 user491 Note Added: 0001872
2013-02-05 09:41 user4 Note Added: 0001876
2013-02-05 17:47 user491 Note Added: 0001878
2013-02-06 08:52 user4 Note Added: 0001879
2013-02-08 11:12 user4 Note Added: 0001885
2013-02-08 11:12 user4 Status new => resolved
2013-02-08 11:12 user4 Fixed in Version => 2.1.x
2013-02-08 11:12 user4 Resolution open => fixed
2013-02-08 11:12 user4 Assigned To => user4