View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000471OpenFOAM[All Projects] Bugpublic2012-03-19 19:012012-03-19 19:31
ReporterTColl 
Assigned Tohenry 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformLinuxOSUbuntuOS Version11.10
Product Version2.1.x 
Target VersionFixed in Version 
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.
Attached Files

- Relationships

-  Notes
(0001148)
henry (manager)
2012-03-19 19:31

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 TColl 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