View Issue Details

IDProjectCategoryView StatusLast Update
0004174OpenFOAMBugpublic2024-11-21 09:54
ReporterscramjetFoam Assigned Tohenry  
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionno change required 
PlatformGNU/LinuxOSOtherOS Version(please specify)
Product Versiondev 
Summary0004174: The reconstruct process crashes when there is a -nan value in the Lagrangian mass0
Descriptionmass0 snippet:
113 2.57743e-316
114 -nan
115 -nan
116 -nan
117 3.19865e-316

log.reconstructPar:

--> FOAM FATAL IO ERROR:
wrong token type - expected Scalar, found on line 114 the punctuation token '-'

file: /public/home/foamer/case/2P_C7H16_H25_M8_θ35°_sMF_rho/processor1/6e-05/lagrangian/cloud/mass0 at line 114.

    From function Foam::Istream& Foam::operator>>(Foam::Istream&, Foam::doubleScalar&)
    in file lnInclude/Scalar.C at line 102.

FOAM exiting
TagsNo tags attached.

Relationships

related to 0004181 resolvedwill Calculating Lagrangian using cpuLoad, reconstrut errors will occur if writeFormat uses ascii, but binary does not 

Activities

scramjetFoam

2024-11-08 03:07

reporter  

image.png (4,743 bytes)   
image.png (4,743 bytes)   

wyldckat

2024-11-08 10:22

updater   ~0013457

Quick question: Given the values being smaller than 1e-308, are you using OpenFOAM built with long-double precision?

Furthermore, an example test case would help reproduce this issue.

henry

2024-11-08 15:55

manager   ~0013458

Any OpenFOAM application or utility will crash when reading a file containing nan values, they cannot be read as they have no meaning.

Issue History

Date Modified Username Field Change
2024-11-08 03:07 scramjetFoam New Issue
2024-11-08 03:07 scramjetFoam File Added: image.png
2024-11-08 10:22 wyldckat Note Added: 0013457
2024-11-08 15:55 henry Assigned To => henry
2024-11-08 15:55 henry Status new => closed
2024-11-08 15:55 henry Resolution open => no change required
2024-11-08 15:55 henry Note Added: 0013458
2024-11-21 09:54 wyldckat Relationship added related to 0004181