CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Pre-Processing

[Problem] paraFoam Throws volVectorField Error At t=0 for 0/U

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree1Likes
  • 1 Post By kmooney

Reply
 
LinkBack Thread Tools Display Modes
Old   May 17, 2012, 15:08
Question [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: 3
iamed18 is on a distinguished road
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
Now icoFoam ran just fine and the simulation ended up working (more/less...that's a topic for a different post), but every time I open paraFoam to look at the results, it complains about U not being a valid volVectorField. So, I've got U on display here:

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;
    }
}
Does anyone have any insight on this? My only idea is that paraFoam doesn't like the type pressureInletOutletVelocity, but beyond that I don't know. I've also attached my blockMeshDict because I'm not sure if the two aren't fully agreeing.

Thanks in advance for any kind of assistance!
~Ed
Attached Files
File Type: txt blockMeshDict.txt (1.8 KB, 1 views)
iamed18 is offline   Reply With Quote

Old   June 1, 2012, 09:57
Default
  #2
Senior Member
 
kmooney's Avatar
 
Kyle Mooney
Join Date: Jul 2009
Location: Amherst, MA USA - Cincinnati, OH USA
Posts: 220
Rep Power: 7
kmooney is on a distinguished road
Quote:
Originally Posted by iamed18 View Post
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
Now icoFoam ran just fine and the simulation ended up working (more/less...that's a topic for a different post), but every time I open paraFoam to look at the results, it complains about U not being a valid volVectorField. So, I've got U on display here:

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;
    }
}
Does anyone have any insight on this? My only idea is that paraFoam doesn't like the type pressureInletOutletVelocity, but beyond that I don't know. I've also attached my blockMeshDict because I'm not sure if the two aren't fully agreeing.

Thanks in advance for any kind of assistance!
~Ed

It might be that the theInlet entry is missing a 'uniform'. Instead of this:

Code:
    theInlet     {         type            fixedValue;         value           (0 -20 0);     }
Try this:

Code:
    theInlet     {         type            fixedValue;         value    uniform       (0 -20 0);     }
iamed18 likes this.
kmooney is offline   Reply With Quote

Old   June 4, 2012, 13:15
Default
  #3
Member
 
Edward Leonard
Join Date: May 2012
Location: Calumet, MI
Posts: 31
Rep Power: 3
iamed18 is on a distinguished road
Alas, I had missed that! Thank you!
iamed18 is offline   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 18:38.