CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   problem with using uniformFixedValue in OF 2.1.1 (https://www.cfd-online.com/Forums/openfoam/106977-problem-using-uniformfixedvalue-2-1-1-a.html)

amin144 September 13, 2012 21:27

problem with using uniformFixedValue in OF 2.1.1
 
Hi dear Foamers
I wanna use timevarying BC in OF 2.1.1
My solver is icoFoam and I use ubuntu 12.04
0\U file is:

Code:

  inlet 
    {
      type          uniformFixedValue
    uniformValue    table
(
    (  0  0.0)
    (100  10.0)
);

    }

and the error is :

Reading field U

Code:


--> FOAM FATAL IO ERROR:
keyword uniformValue is undefined in dictionary "/home/amin/OpenFOAM/amin-2.1.1/run/arterioleNewtonian/0/U::boundaryField::inlet"

file: /home/amin/OpenFOAM/amin-2.1.1/run/arterioleNewtonian/0/U::boundaryField::inlet from line 25 to line 26.

    From function dictionary::lookupEntry(const word&, bool, bool) const
    in file db/dictionary/dictionary.C at line 400.

FOAM exiting

I'm so confused. what should I do?

amin144 September 14, 2012 04:51

I found my answer here:
http://www.cfd-online.com/Forums/ope...make-ramp.html

I founded my fault . I should change to this for velocity:

inlet
{
type uniformFixedValue
uniformValue table
(
( 0 (0 0 0.0))
(100 (0 0 10.0))
);
}

mmkr825 September 14, 2012 10:34

hi amin,
I think you should have to change your uniformFixedValue to timeVaryingUniformFixedValue. Then it will work.

Thanks
Regards
Mallikarjuna

kcp18 June 29, 2016 14:22

Mallikarjuna,

TimeVaryingUniformFixedValue is an old BC that does not work in new versions of OpenFoam.


All times are GMT -4. The time now is 02:52.