CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   ParaView (https://www.cfd-online.com/Forums/paraview/)
-   -   [OpenFOAM] error in 0 folder by defining a variable in another place (https://www.cfd-online.com/Forums/paraview/122133-error-0-folder-defining-variable-another-place.html)

immortality August 13, 2013 01:51

error in 0 folder by defining a variable in another place
 
Hi
in 0 folder I have set for instance first part of p file as:
Code:

dimensions      [1 -1 -2 0 0 0 0];
#include        "include/initialConditions"
internalField  uniform $Pressure;

that Pressure is in another file.now this error shows:
Code:

ERROR: In /home/opencfd/OpenFOAM/ThirdParty-dev/ParaView-3.12.0/VTK/IO/vtkOpenFOAMReader.cxx, line 6481
vtkOpenFOAMReaderPrivate (0x1d7e110): Error reading line 19 of /home/ehsan/Desktop/WR_3/0/T: Expected number, string or (, found Temperature


ERROR: In /home/opencfd/OpenFOAM/ThirdParty-dev/ParaView-3.12.0/VTK/IO/vtkOpenFOAMReader.cxx, line 6481
vtkOpenFOAMReaderPrivate (0x1d7e110): Error reading line 19 of /home/ehsan/Desktop/WR_3/0/U: Expected number, string or (, found Velocity


ERROR: In /home/opencfd/OpenFOAM/ThirdParty-dev/ParaView-3.12.0/VTK/IO/vtkOpenFOAMReader.cxx, line 6481
vtkOpenFOAMReaderPrivate (0x1d7e110): Error reading line 20 of /home/ehsan/Desktop/WR_3/0/k: Expected number, string or (, found turbulentK


ERROR: In /home/opencfd/OpenFOAM/ThirdParty-dev/ParaView-3.12.0/VTK/IO/vtkOpenFOAMReader.cxx, line 6481
vtkOpenFOAMReaderPrivate (0x1d7e110): Error reading line 20 of /home/ehsan/Desktop/WR_3/0/omega: Expected number, string or (, found turbulentOmega


ERROR: In /home/opencfd/OpenFOAM/ThirdParty-dev/ParaView-3.12.0/VTK/IO/vtkOpenFOAMReader.cxx, line 6481
vtkOpenFOAMReaderPrivate (0x1d7e110): Error reading line 19 of /home/ehsan/Desktop/WR_3/0/p: Expected number, string or (, found Pressure

how to resolve it?


All times are GMT -4. The time now is 21:07.