View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003651 | OpenFOAM | Bug | public | 2021-03-29 23:23 | 2023-05-22 17:20 |
Reporter | jherb | Assigned To | henry | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | GNU/Linux | OS | OpenSuSE | OS Version | 12.3 |
Summary | 0003651: Using csv files together with binary file format results in error if run in parallel | ||||
Description | Using the following boundary condition, then executing decomposePar and run will result in an error: T boundary condition (excerpt): innercore { type uniformFixedValue; uniformValue { type tableFile; format csv; nHeaderLine 0; // number of header lines refColumn 0; // time column index componentColumns (1); // data column index separator ","; // optional (defaults to ",") mergeSeparators no; // merge multiple separators file "$FOAM_CASE/constant/T/innercore_T.csv"; } value uniform 797.15; } decomposePar produces this: innercore { type uniformFixedValue; uniformValue tableFile; uniformValueCoeffs { file "$FOAM_CASE/constant/T/innercore_T.csv"; format csv; nHeaderLine 0; refColumn 0; componentColumns List<label> 1(1); separator ","; mergeSeparators 0; } value nonuniform List<scalar> 0 ; } This is the error message of buoyantPimpleFoam -parallel: [0] [0] [0] --> FOAM FATAL IO ERROR: [0] Expected a ')' while reading binaryBlock, found on line 50 the word 'separator' [0] [0] file: /GRS/work/hej/OpenFOAM/hej-8/phenix/dissymmetric/top.2nd.001/processor0/9500/T at line 50. [0] [0] From function Foam::Istream &Foam::Istream::readEnd(const char *) [0] in file db/IOstreams/IOstreams/Istream.C at line 109. [0] FOAM parallel run exiting Happens for collated and uncollated file format. Changing the writeFormat to ascii "solves" the problem. | ||||
Tags | No tags attached. | ||||