CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   Error when post-processing turboPassageRotating2D (https://www.cfd-online.com/Forums/openfoam/125831-error-when-post-processing-turbopassagerotating2d.html)

mingbn November 1, 2013 03:09

Error when post-processing turboPassageRotating2D
 
Hi. Everybody.
I'm a new openFoam user. so i can not launch this case. I don't know how to fix the error. Can you help please.
This is case (case of an master thesis which downloaded from web http://www.tfd.chalmers.se/~hani/kurser/OS_CFD/)
thanks a lot!
======
This is error:
--> FOAM FATAL IO ERROR:

Cannot find 'value' entry on patch rotor_cyclic_upper of field p in file "/home/minh/Desktop/turboPassageRotating2D/0/p"
which is required to set the values of the generic patch field.
(Actual type cyclicGgi)

Please add the 'value' entry to the write function of the user-defined boundary-condition


file: /home/minh/Desktop/turboPassageRotating2D/0/p.boundaryField.rotor_cyclic_upper from line 43 to line 43.

From function genericFvPatchField<Type>::genericFvPatchField(con st fvPatch&, const Field<Type>&, const dictionary&)
in file genericFvPatchField/genericFvPatchField.C at line 71.

FOAM exiting

+++
Please show to me, thankS!

Artur November 4, 2013 04:18

Can you post the pressure boundary condition file of your case (since that's where the problem is occurring)?

As a side note, I think the title of your post is a bit misleading.

All the best,

A

mingbn November 4, 2013 05:13

turboPassageRotating2d
 
1 Attachment(s)
Quote:

Originally Posted by Artur (Post 460413)
Can you post the pressure boundary condition file of your case (since that's where the problem is occurring)?

As a side note, I think the title of your post is a bit misleading.

All the best,

A

ThankS.
This is my pressure boundary condition.
****
dimensions [ 0 2 -2 0 0 0 0 ];

internalField uniform 0;

boundaryField
{
inlet
{
type zeroGradient;
}
outlet
{
type fixedValue;
value uniform 0;
}
fixedWalls
{
type zeroGradient;
}
movingwalls
{
type zeroGradient;
}
rotor_cyclic_upper
{
type cyclicGgi;
}
rotor_cyclic_lower
{
type cyclicGgi
;
}
stator_cyclics_half0
{
type cyclic;
}
interface1
{
type overlapGgi;
}
interface2
{
type overlapGgi;
}
stator_cyclics_half1
{
type cyclic;
}
}

***

Artur November 4, 2013 06:08

Alright, I think you're using an older version of FOAM since you have "GGI" instead of "AMI", am I right? If yes then I cannot help you since I've only used 2.x and above for sliding meshes. Nonetheless, this is how I define the AMI pressure BC in 2.1.x and 2.2.x and it works:

Code:

AMI1
    {
        type            cyclicAMI;
        value          uniform 0;
    }

Maybe check the tutorials/incompressible/pimpleDyMFoam tutorials for the version you are using. There should be either a mixerVessl or propeller which use AMI or GGI.

Good luck,

A

mingbn November 4, 2013 22:48

Quote:

Originally Posted by Artur (Post 460435)
Alright, I think you're using an older version of FOAM since you have "GGI" instead of "AMI", am I right? If yes then I cannot help you since I've only used 2.x and above for sliding meshes. Nonetheless, this is how I define the AMI pressure BC in 2.1.x and 2.2.x and it works:

Code:

AMI1
    {
        type            cyclicAMI;
        value          uniform 0;
    }

Maybe check the tutorials/incompressible/pimpleDyMFoam tutorials for the version you are using. There should be either a mixerVessl or propeller which use AMI or GGI.

Good luck,

A

Thank you very much for your help.
I am using OpenFoam 2.2.1. I wil try following your advive.


All times are GMT -4. The time now is 09:03.