|
[Sponsors] |
May 20, 2017, 16:05 |
Error keyword R is undefined in dictionary
|
#1 |
New Member
Egor
Join Date: May 2017
Posts: 2
Rep Power: 0 |
Hi all! I encounter an error:
Code:
/*---------------------------------------------------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5 | | \\ / A nd | Web: http://www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ Exec : c:\cfd\OpenFOAM-1.5\bin\sonicFoam Date : May 20 2017 Time : 23:31:07 Host : äbwrábw PID : 1928 Case : C:\Users\QQ\Desktop\Shulgin nProcs : 1 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Create time Create mesh for time = 0 Reading thermodynamicProperties Programme terminated with errors: exit code 1, status 0. Error messages: keyword R is undefined in dictionary "C:\Users\QQ\Desktop\Shulgin\constant\thermodynamicProperties" file: C:\Users\QQ\Desktop\Shulgin\constant\thermodynamicProperties from line 18 to line 20. From function dictionary::lookupEntry(const word& keyword) const in file C:\tmp\OpenFOAM-1.5\src\OpenFOAM\db\dictionary\dictionary.C at line 213. FOAM exiting Here are the contents of the file "thermodynamicProperties": Code:
FoamFile { version 2.0; format ascii; class dictionary; object thermophysicalProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // Thermophysical model thermoType hThermo<pureMixture<constTransport<specieThermo<hConstThermo<perfectGas>>>>>; mixture air 1 28.9 1007 300 1.84e-05 0.7; Code:
FoamFile { version 2.0; format ascii; class volSymmTensorField; object R; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [0 2 -2 0 0 0 0]; internalField uniform (0 0 0 0 0 0); boundaryField { movingWall { type zeroGradient; } fixedWalls { type zeroGradient; } frontAndBack { type empty; } } Last edited by qsds4; May 20, 2017 at 16:07. Reason: CODE |
|
May 20, 2017, 18:08 |
|
#2 | |
Senior Member
Oskar
Join Date: Nov 2015
Location: Poland
Posts: 184
Rep Power: 10 |
Maybe You need to just add R in Your thermodynamicProperties.
Here is an example: Quote:
|
||
Tags |
error, keyword r, thermodynamicproperties. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
LEMOS InflowGenerator | r_gordon | OpenFOAM Running, Solving & CFD | 103 | December 18, 2018 00:58 |
OpenFOAM 1.6-ext git installation on Ubuntu 11.10 x64 | Attesz | OpenFOAM Installation | 45 | January 13, 2012 12:38 |
OpenFOAM on MinGW crosscompiler hosted on Linux | allenzhao | OpenFOAM Installation | 127 | January 30, 2009 19:08 |
Problem with rhoSimpleFoam | matteo_gautero | OpenFOAM Running, Solving & CFD | 0 | February 28, 2008 06:51 |
G95 + CGNS | Bruno | Main CFD Forum | 1 | January 30, 2007 00:34 |