|
[Sponsors] |
Correct format to read internalField data from a file |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 16, 2020, 04:09 |
Correct format to read internalField data from a file
|
#1 |
Member
ishan
Join Date: Oct 2017
Posts: 78
Rep Power: 9 |
Hello.
I wan to read internalField data for my rhoSimpleFoam from simpleFoam run. I tried using this format for the data file but OF6 complains that it could not read the token: Code:
initial_kineticEnergy List<scalar> 43843 ( .993 .9954 .. ..... ) ; Code:
FoamFile { version 2.0; format ascii; class volScalarField; location "237"; object k; } Whats the correct format when using such data files? Some information on this would be helpful. |
|
October 16, 2020, 07:09 |
|
#2 |
Member
ishan
Join Date: Oct 2017
Posts: 78
Rep Power: 9 |
I just had to read the terminal warnings carefully.
The class should be "IOobject" and not "volScalarField","volVectorField", etc. That fixed the problem. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
OpenFoam "Permission denied" and "command not found" problems. | iyidaniel@yahoo.co.uk | OpenFOAM Running, Solving & CFD | 11 | January 2, 2018 07:47 |
polynomial BC | srv537 | OpenFOAM Pre-Processing | 4 | December 3, 2016 10:07 |
[swak4Foam] swak4foam building problem | GGerber | OpenFOAM Community Contributions | 54 | April 24, 2015 17:02 |
SparceImage v1.7.x Issue on MAC OS X | rcarmi | OpenFOAM Installation | 4 | August 14, 2014 07:42 |
Problem compiling a custom Lagrangian library | brbbhatti | OpenFOAM Programming & Development | 2 | July 7, 2014 12:32 |