CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Pre-Processing (https://www.cfd-online.com/Forums/openfoam-pre-processing/)
-   -   primitiveEntry Error (https://www.cfd-online.com/Forums/openfoam-pre-processing/230413-primitiveentry-error.html)

ddo1337 September 22, 2020 09:48

primitiveEntry Error
 
Hello foamers, i'm trying to solve a T junction problem (tutorial link), when i'm running paraView code tells me:
Code:

"ill defined primitiveEntry starting at keyword 'value' on line 47 and ending at line 55"

file: /home/dodo1337_emektarv2/OpenFOAM/dodo1337_emektarv2-8/run/T_junction/0/U at line 55.

I research the forum but can not find the solution, found some posts about typo problems but if i've typo problem, i can not detect. Thanks.

Here's my U code:
Code:

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

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

internalField  uniform (0 0 0);

boundaryField
{

    inlet_one
    {

        type            fixedValue;
        value                uniform (0.1 0 0)
    }

    inlet_two
    {

        type            fixedValue;
        value                uniform (-0.2 0 0)

    }
   
    outlet
    {
            type                zeroGradient;
    }
   
    walls
    {
            type                fixedValue;
            value                uniform (0 0 0)
    }

   
}

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


adhiraj September 22, 2020 11:37

You missed some semicolons.

The entries should be like this:
Code:

inlet_one
{
    type            fixedValue;
    value              uniform (0.1 0 0);
}


ddo1337 September 22, 2020 11:41

Quote:

Originally Posted by adhiraj (Post 783476)
You missed some semicolons.

The entries should be like this:
Code:

inlet_one
{
    type            fixedValue;
    value              uniform (0.1 0 0);
}


How can i miss that..:mad: Thank you so much!


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