|
[Sponsors] |
October 25, 2012, 05:49 |
Problem with atmBoundaryLayerInletVelocity
|
#1 |
Member
|
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:rintStack(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:imensionedField<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:imensionedField<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:imensionedField<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:imensionedField<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 |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
UDF compiling problem | Wouter | Fluent UDF and Scheme Programming | 6 | June 6, 2012 05:43 |
Gambit - meshing over airfoil wrapping (?) problem | JFDC | FLUENT | 1 | July 11, 2011 06:59 |
natural convection problem for a CHT problem | Se-Hee | CFX | 2 | June 10, 2007 07:29 |
Adiabatic and Rotating wall (Convection problem) | ParodDav | CFX | 5 | April 29, 2007 20:13 |
Is this problem well posed? | Thomas P. Abraham | Main CFD Forum | 5 | September 8, 1999 15:52 |