|
[Sponsors] |
[OpenFOAM] Impossible to read the file "foam.inp" using paraview |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 25, 2018, 12:07 |
Impossible to read the file "foam.inp" using paraview
|
#1 |
Member
Join Date: Sep 2018
Location: France
Posts: 62
Rep Power: 8 |
Dear all foamers,
I face a problem using the command "paraFoam". I worked with OpenFoam5, the sprayFoam solver and with the foamChemistryReader. Thus I have two files for the chemistry and the reaction file which are "foam.inp" and "foam.dat". When I finished to run the simulation and run paraview I have got an error about the foam.inp file: Code:
I/O : uncollated --> FOAM Warning : From function bool Foam::IOobject::readHeader(Foam::Istream&) in file db/IOobject/IOobjectReadHeader.C at line 88 Reading "/home/guillaume/OpenFOAM/guillaume-5.0/run/sprayFoam/N2/test/PR/Initialmass/constant/foam.inp" at line 1 First token could not be read or is not the keyword 'FoamFile' Check header is of the form: /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 5.x | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class IOobject; location "constant"; object foam.inp; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // |
|
November 3, 2018, 21:49 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Quick answer: Technically it's just a warning and not an error. I've checked just now with OpenFOAM 5.x and the tutorial case "combustion/chemFoam/gri" and I get similar warning messages on the command line, but ParaView opened the field data from folder "0" without problems.
Given that the file you've gotten the warning for is from the folder "constant", there should be no problem here. However, was there any specific problem in the data loaded in ParaView? Or did it not load any data at all?
__________________
|
|
November 8, 2018, 11:26 |
|
#3 |
Member
Join Date: Sep 2018
Location: France
Posts: 62
Rep Power: 8 |
Hi Bruno,
Thanks for the answer, after checking, I agree with you it is just a warning message. Now I can load data using this chemistry solver although there is the warning message. The problem ,I had encountered, was that I used the liquid nitrogen and for the condition I had setup, there was not any particles injected into the domain so that is why I did not have some data loaded in paraview my bad . I think I will open a new thread to talk about this problem but I was wondering, have you already use the liquid nitrogen in OpenFOAM or do you know someone which has already work with in OpenFoam? Cheers, John |
|
November 8, 2018, 20:04 |
|
#4 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Quote:
Suggestion: Do simple tests with the cases, as if you were doing small laboratory experiments, e.g. do small variations of temperature, to see if the properties of the fluid are correct within those ranges. Don't assume that everything works out of the box. |
||
Tags |
chemistryreader, openfoam 5.0, openfoam 5.x, paraview, sprayfoam |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Other] Tabulated thermophysicalProperties library | chriss85 | OpenFOAM Community Contributions | 62 | October 2, 2022 04:50 |
[Other] Adding solvers from DensityBasedTurbo to foam-extend 3.0 | Seroga | OpenFOAM Community Contributions | 9 | June 12, 2015 18:18 |
[swak4Foam] Error bulding swak4Foam | sfigato | OpenFOAM Community Contributions | 18 | August 22, 2013 13:41 |
friction forces icoFoam | ofslcm | OpenFOAM | 3 | April 7, 2012 11:57 |
DecomposePar links against liblamso0 with OpenMPI | jens_klostermann | OpenFOAM Bugs | 11 | June 28, 2007 18:51 |