|
[Sponsors] |
[Problem] paraFoam Throws volVectorField Error At t=0 for 0/U |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 17, 2012, 16:08 |
[Problem] paraFoam Throws volVectorField Error At t=0 for 0/U
|
#1 |
Member
Edward Leonard
Join Date: May 2012
Location: Calumet, MI
Posts: 31
Rep Power: 14 |
Hey Everyone,
I'm attempting a modification of the incompressible/icoFoam/cavity tutorial in which the "moving wall" still moves [at (10 0 0)], but it also has an inlet in the middle with value (0 -20 0). I've modified the mesh slightly as well, but that's not where my question lies. After building my mesh and creating my 0/* files, I opened paraFoam just to see the grid and to assure myself that it looked correct. Upon clicking "Apply", paraFoam throws the following error (assume $THIRD_PARTY is where I've installed my ThirdParty-2.1.0 packages): Code:
ERROR: In $THIRD_PARTY/ParaView-3.12.0/VTK/IO/vtkOpenFOAMReader.cxx, line 6637 vtkOpenFOAMReaderPrivate (0xfc193a0): $CASE/0/U is not a valid volVectorField U: Code:
internalField uniform (0 0 0); boundaryField { movingWalls { type fixedValue; value uniform (10 0 0); } airBorders { type pressureInletOutletVelocity; value uniform (0 0 0); } theInlet { type fixedValue; value (0 -20 0); } frontAndBack { type empty; } } Thanks in advance for any kind of assistance! ~Ed |
|
June 1, 2012, 10:57 |
|
#2 | |
Senior Member
Kyle Mooney
Join Date: Jul 2009
Location: San Francisco, CA USA
Posts: 323
Rep Power: 18 |
Quote:
It might be that the theInlet entry is missing a 'uniform'. Instead of this: Code:
theInlet { type fixedValue; value (0 -20 0); } Code:
theInlet { type fixedValue; value uniform (0 -20 0); } |
||
June 4, 2012, 14:15 |
|
#3 |
Member
Edward Leonard
Join Date: May 2012
Location: Calumet, MI
Posts: 31
Rep Power: 14 |
Alas, I had missed that! Thank you!
|
|
April 11, 2016, 11:03 |
Same problem
|
#4 |
New Member
Shanmukhi
Join Date: Jul 2015
Posts: 2
Rep Power: 0 |
I had the same error when I am running in the paraview..
ERROR: In /home/openfoam/OpenFOAM/ParaView-4.4.0//VTK/IO/Geomtry /vtkOpenFOAMReader.cxx, line 6649 vtkOpenFOAMReaderPrivate (0xfc193a0): $CASE/0/U is not a valid volVectorField Can any1 help me out with this.. Here is the code I am attaching FoamFile { version 2.0; format ascii; class volVectorField; object U; // This is the fluid velocity at the various boundaries } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [0 1 -1 0 0 0 0]; internalField uniform (0 0 0); boundaryField { outlet1 { type inletOutlet; inletValue (0 0 0); value (0 0 0); } outlet2 { type inletOutlet; inletValue (0 0 0); value (0 0 0); } inlet { type fixedValue; value uniform (0.719 0 0); } walls { type fixedValue; value uniform (0 0 0); } topBottom { type fixedValue; value uniform (0 0 0); } } // ************************************************** *********************** // |
|
|
|