CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   Error with pimpleDyMFoam (https://www.cfd-online.com/Forums/openfoam/103104-error-pimpledymfoam.html)

samiam1000 June 11, 2012 05:52

Error with pimpleDyMFoam
 
Dear All,

when I try to run the pimpleDyMFoam I get this error:

Code:

lab@lab-laptop:~/Documenti/cases_OF/OF_case20_mesh_generation/0Deg$ pimpleDyMFoam
/*---------------------------------------------------------------------------*\
| =========                |                                                |
| \\      /  F ield        | OpenFOAM: The Open Source CFD Toolbox          |
|  \\    /  O peration    | Version:  2.1.0                                |
|  \\  /    A nd          | Web:      www.OpenFOAM.org                      |
|    \\/    M anipulation  |                                                |
\*---------------------------------------------------------------------------*/
Build  : 2.1.0-0bc225064152
Exec  : pimpleDyMFoam
Date  : Jun 11 2012
Time  : 11:49:48
Host  : "lab-laptop"
PID    : 4105
Case  : /home/lab/Documenti/cases_OF/OF_case20_mesh_generation/0Deg
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Disallowing user-supplied system call operations

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

Create mesh for time = 0

Selecting dynamicFvMesh dynamicMotionSolverFvMesh
Selecting motion solver: displacementSBRStress
Selecting motion diffusion: exponential
Selecting motion diffusion: inverseFaceDistance
Reading field p

Reading field U



--> FOAM FATAL IO ERROR:
"ill defined primitiveEntry starting at keyword 'boundaryField' on line 23 and ending at line 83"

file: /home/lab/Documenti/cases_OF/OF_case20_mesh_generation/0Deg/0/U at line 83.

    From function primitiveEntry::readEntry(const dictionary&, Istream&)
    in file lnInclude/IOerror.C at line 132.

FOAM exiting

lab@lab-laptop:~/Documenti/cases_OF/OF_case20_mesh_generation/0Deg$

The error is in the U file. Here it is:
Code:

/*--------------------------------*- C++ -*----------------------------------*\
| =========                |                                                |
| \\      /  F ield        | OpenFOAM: The Open Source CFD Toolbox          |
|  \\    /  O peration    | Version:  2.1.0                                |
|  \\  /    A nd          | Web:      www.OpenFOAM.org                      |
|    \\/    M anipulation  |                                                |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version    2.0;
    format      ascii;
    class      volVectorField;
    location    "0";
    object      U;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dimensions      [0 1 -1 0 0 0 0];

internalField  uniform (0 0 0);

boundaryField
{
    wall-volume_internal
    {
        type            fixedValue;i
        value                uniform (0 0 0);
    }
    symmetry_1-volume_external
    {
        type            symmetryPlane;
    }
    symmetry_1-volume_internal
    {
        type            symmetryPlane;
    }
    symmetry_2-volume_external
    {
        type            symmetryPlane;
    }
    symmetry_2-volume_internal
    {
        type            symmetryPlane;
    }
    wall_ext
    {
        type            fixedValue;
        value                uniform (0 0 0);
    }
    honeycomb
    {
        type            fixedValue;
        value                uniform (-1 0 0);
    }
    intake
    {
        type            zeroGradient;
    }
    bottom
    {
        type            fixedValue;
        value                uniform (0 0 0);
    }
    up
    {
        type            fixedValue;
        value                uniform (0 0 0);
    }
    wall_up_int
    {
        type            fixedValue;
        value                uniform (0 0 0);
    }
    door
    {
        type            fixedValue;
        value                uniform (0 0 0);
    }
}


// ************************************************************************* //

Any idea?

Thanks a lot,

Samuele

eysteinn June 11, 2012 06:13

Quote:

Originally Posted by samiam1000 (Post 365786)
Dear All,

when I try to run the pimpleDyMFoam I get this error:

Code:

lab@lab-laptop:~/Documenti/cases_OF/OF_case20_mesh_generation/0Deg$ pimpleDyMFoam
/*---------------------------------------------------------------------------*\
| =========                |                                                |
| \\      /  F ield        | OpenFOAM: The Open Source CFD Toolbox          |
|  \\    /  O peration    | Version:  2.1.0                                |
|  \\  /    A nd          | Web:      www.OpenFOAM.org                      |
|    \\/    M anipulation  |                                                |
\*---------------------------------------------------------------------------*/
Build  : 2.1.0-0bc225064152
Exec  : pimpleDyMFoam
Date  : Jun 11 2012
Time  : 11:49:48
Host  : "lab-laptop"
PID    : 4105
Case  : /home/lab/Documenti/cases_OF/OF_case20_mesh_generation/0Deg
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Disallowing user-supplied system call operations

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

Create mesh for time = 0

Selecting dynamicFvMesh dynamicMotionSolverFvMesh
Selecting motion solver: displacementSBRStress
Selecting motion diffusion: exponential
Selecting motion diffusion: inverseFaceDistance
Reading field p

Reading field U



--> FOAM FATAL IO ERROR:
"ill defined primitiveEntry starting at keyword 'boundaryField' on line 23 and ending at line 83"

file: /home/lab/Documenti/cases_OF/OF_case20_mesh_generation/0Deg/0/U at line 83.

    From function primitiveEntry::readEntry(const dictionary&, Istream&)
    in file lnInclude/IOerror.C at line 132.

FOAM exiting

lab@lab-laptop:~/Documenti/cases_OF/OF_case20_mesh_generation/0Deg$

The error is in the U file. Here it is:
Code:

/*--------------------------------*- C++ -*----------------------------------*\
| =========                |                                                |
| \\      /  F ield        | OpenFOAM: The Open Source CFD Toolbox          |
|  \\    /  O peration    | Version:  2.1.0                                |
|  \\  /    A nd          | Web:      www.OpenFOAM.org                      |
|    \\/    M anipulation  |                                                |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version    2.0;
    format      ascii;
    class      volVectorField;
    location    "0";
    object      U;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dimensions      [0 1 -1 0 0 0 0];

internalField  uniform (0 0 0);

boundaryField
{
    wall-volume_internal
    {
        type            fixedValue;i
    value        uniform (0 0 0);
    }
    symmetry_1-volume_external
    {
        type            symmetryPlane;
    }
    symmetry_1-volume_internal
    {
        type            symmetryPlane;
    }
    symmetry_2-volume_external
    {
        type            symmetryPlane;
    }
    symmetry_2-volume_internal
    {
        type            symmetryPlane;
    }
    wall_ext
    {
        type            fixedValue;
    value        uniform (0 0 0);
    }
    honeycomb
    {
        type            fixedValue;
    value        uniform (-1 0 0);
    }
    intake
    {
        type            zeroGradient;
    }
    bottom
    {
        type            fixedValue;
    value        uniform (0 0 0);
    }
    up
    {
        type            fixedValue;
    value        uniform (0 0 0);
    }
    wall_up_int
    {
        type            fixedValue;
    value        uniform (0 0 0);
    }
    door
    {
        type            fixedValue;
    value        uniform (0 0 0);
    }
}


// ************************************************************************* //

Any idea?

Thanks a lot,

Samuele

Hi Samuele.

Have you tried removing the trailing i in line 26?

/Eysteinn

samiam1000 June 11, 2012 06:21

Ooooops,

sorry!

Thanks a lot! That's ok, now!

Sam


All times are GMT -4. The time now is 00:19.