View Issue Details

IDProjectCategoryView StatusLast Update
0000471OpenFOAMBugpublic2012-03-19 19:31
Reporteruser392Assigned Tohenry  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
PlatformLinuxOSUbuntuOS Version11.10
Summary0000471: Uneeded warning whilst using atmBoundaryLayerInletVelocity
DescriptionI am using atmBoundaryLayerInletVelocity for the inlet velocity conditions and receive this warning. I believe it is not necessary (?!).

--> FOAM Warning :
    From function Field<Type>::Field(const word& keyword, const dictionary&,const label) in file /home/opencfd/OpenFOAM/OpenFOAM-2.1.0/src/OpenFOAM/lnInclude/Field.C at line 262 Reading "/home/tc/new/rans1/0/U::boundaryField::inlet" from line 39 to line 63 expected keyword 'uniform' or 'nonuniform', assuming deprecated Field format from Foam version 2.0.
Steps To ReproduceRelevant bit of my code:
   inlet
    {
         type atmBoundaryLayerInletVelocity;
        //using stangroom's data
        //- Frictional velocity
         Ustar 0.623;
 
         //- Flow direction
          n (1 0 0);
 
         //- Direction of the z-coordinate
         z (0 0 1);
 
         //- Surface roughness lenght
         z0 0.0265;
 
         //- Von Karman constant
         kappa 0.41;
 
         //- Reference velocity
         Uref 9;
 
         //- Reference hight
         Href 310;
 
         //- Minimum corrdinate value in z direction
         zGround 10;
    }
TagsNo tags attached.

Activities

henry

2012-03-19 19:31

manager   ~0001148

It is a valid warning; you are using a deprecated format for the field input.

You need

z0 uniform 0.0265;
zGround uniform 10;

Issue History

Date Modified Username Field Change
2012-03-19 19:01 user392 New Issue
2012-03-19 19:31 henry Note Added: 0001148
2012-03-19 19:31 henry Status new => closed
2012-03-19 19:31 henry Assigned To => henry
2012-03-19 19:31 henry Resolution open => fixed