CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   Problem with atmBoundaryLayerInletVelocity (https://www.cfd-online.com/Forums/openfoam/108506-problem-atmboundarylayerinletvelocity.html)

gregjunqua October 25, 2012 04:49

Problem with atmBoundaryLayerInletVelocity
 
Hi
I am doing a simple Foam experiment in modelling a boundary layer, i try many way of doing it, my best answer was with groovyBC but i wanted to try atmBoundaryLayerInletVelocity

Because it look like already done and perhaps better than my groovyBC how I got some surprising results

My Boundary conditions are the standard one i try to use these following type of bc


U atmBoundaryLayerInletVelocity;
epsilon atmBoundaryLayerInletEpsilon;

used as following :
U

type atmBoundaryLayerInletVelocity;
Uref $Uref;
Href $Href;
n $windDirection;
z $zDirection;
z0 $z0;
value $internalField;
zGround $zGround;


epsilon
type atmBoundaryLayerInletEpsilon;
Ustar $Ustar;
z $zDirection;
z0 $z0;
value $internalField;
zGround $zGround;

I had took the code from : https://github.com/OpenFOAM/OpenFOAM.../turbineSiting

and i got the following error :

Create time

Create mesh for time = 0

Reading field p

Reading field U

--> FOAM Warning :
From function Field<Type>::Field(const word& keyword, const dictionary&, const label)
in file /home/gregoire/OpenFOAM/OpenFOAM-2.1.1/src/OpenFOAM/lnInclude/Field.C at line 262
Reading "/home/gregoire/Data/OpenFoam/ComplexTerrain/RoughnessExp/Test8/0/U::boundaryField::upperWall" from line 51 to line 17
expected keyword 'uniform' or 'nonuniform', assuming deprecated Field format from Foam version 2.0.
--> FOAM Warning :
From function Field<Type>::Field(const word& keyword, const dictionary&, const label)
in file /home/gregoire/OpenFOAM/OpenFOAM-2.1.1/src/OpenFOAM/lnInclude/Field.C at line 262
Reading "/home/gregoire/Data/OpenFoam/ComplexTerrain/RoughnessExp/Test8/0/U::boundaryField::upperWall" from line 51 to line 17
expected keyword 'uniform' or 'nonuniform', assuming deprecated Field format from Foam version 2.0.
#0 Foam::error::printStack(Foam::Ostream&) in "/home/gregoire/OpenFOAM/OpenFOAM-2.1.1/platforms/linuxGccDPOpt/lib/libOpenFOAM.so"
#1 Foam::sigFpe::sigHandler(int) in "/home/gregoire/OpenFOAM/OpenFOAM-2.1.1/platforms/linuxGccDPOpt/lib/libOpenFOAM.so"
#2 Uninterpreted:
#3 log in "/lib/i386-linux-gnu/libm.so.6"
#4 Foam::incompressible::atmBoundaryLayerInletVelocit yFvPatchVectorField::updateCoeffs() in "/home/gregoire/OpenFOAM/OpenFOAM-2.1.1/platforms/linuxGccDPOpt/lib/libincompressibleRASModels.so"
#5 Foam::incompressible::atmBoundaryLayerInletVelocit yFvPatchVectorField::atmBoundaryLayerInletVelocity FvPatchVectorField(Foam::fvPatch const&, Foam::DimensionedField<Foam::Vector<double>, Foam::volMesh> const&, Foam::dictionary const&) in "/home/gregoire/OpenFOAM/OpenFOAM-2.1.1/platforms/linuxGccDPOpt/lib/libincompressibleRASModels.so"
#6 Foam::fvPatchField<Foam::Vector<double> >::adddictionaryConstructorToTable<Foam::incompres sible::atmBoundaryLayerInletVelocityFvPatchVectorF ield>::New(Foam::fvPatch const&, Foam::DimensionedField<Foam::Vector<double>, Foam::volMesh> const&, Foam::dictionary const&) in "/home/gregoire/OpenFOAM/OpenFOAM-2.1.1/platforms/linuxGccDPOpt/lib/libincompressibleRASModels.so"
#7 Foam::fvPatchField<Foam::Vector<double> >::New(Foam::fvPatch const&, Foam::DimensionedField<Foam::Vector<double>, Foam::volMesh> const&, Foam::dictionary const&) in "/home/gregoire/OpenFOAM/OpenFOAM-2.1.1/platforms/linuxGccDPOpt/bin/simpleFoam"
#8 Foam::GeometricField<Foam::Vector<double>, Foam::fvPatchField, Foam::volMesh>::GeometricBoundaryField::GeometricB oundaryField(Foam::fvBoundaryMesh const&, Foam::DimensionedField<Foam::Vector<double>, Foam::volMesh> const&, Foam::dictionary const&) in "/home/gregoire/OpenFOAM/OpenFOAM-2.1.1/platforms/linuxGccDPOpt/bin/simpleFoam"
#9 Foam::GeometricField<Foam::Vector<double>, Foam::fvPatchField, Foam::volMesh>::readField(Foam::dictionary const&) in "/home/gregoire/OpenFOAM/OpenFOAM-2.1.1/platforms/linuxGccDPOpt/bin/simpleFoam"
#10 Foam::GeometricField<Foam::Vector<double>, Foam::fvPatchField, Foam::volMesh>::readField(Foam::Istream&) in "/home/gregoire/OpenFOAM/OpenFOAM-2.1.1/platforms/linuxGccDPOpt/bin/simpleFoam"
#11 Foam::GeometricField<Foam::Vector<double>, Foam::fvPatchField, Foam::volMesh>::GeometricField(Foam::IOobject const&, Foam::fvMesh const&) in "/home/gregoire/OpenFOAM/OpenFOAM-2.1.1/platforms/linuxGccDPOpt/bin/simpleFoam"
#12


I am following the exemple so if somebody could tell me why i have to put uniform or nonuniform and where .. it would be nice
thank you for your attention


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