|
[Sponsors] |
December 4, 2019, 11:49 |
Trouble using atmBoundaryLayerInletVelocity
|
#1 |
New Member
Join Date: Dec 2019
Posts: 4
Rep Power: 7 |
Hello,
I'm working with OpenFOAM 6 and I'm trying to use the atmBoundaryLayerInletVelocity boundary condition in order to set a logarithmic velocity inlet for my simulation. My 0/U.orig reads: Code:
FoamFile { version 2.0; format ascii; class volVectorField; location "0"; object U; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // flowVelocity (20 0 0); pressure 0; turbulentKE 0.24; turbulentOmega 1.78; dimensions [0 1 -1 0 0 0 0]; internalField uniform $flowVelocity; boundaryField { //- Set patchGroups for constraint patches #includeEtc "caseDicts/setConstraintTypes" outlet { type inletOutlet; inletValue uniform (0 0 0); value $internalField; } inlet { type atmBoundaryLayerInletVelocity; flowDir (1 0 0); zDir (0 0 1); Uref 20.0; Zref 2.0; z0 uniform 0.0002; zGround uniform 0.0; } lowerWall { type noSlip; } Panel_PV { type noSlip; } upperWall { type slip; } frontAndBack { type slip; } } Code:
--> FOAM FATAL IO ERROR: Unknown patchField type atmBoundaryLayerInletVelocity for patch type patch Valid patchField types are : 84 ( SRFFreestreamVelocity SRFVelocity [...] file: /home/[current working directory]/0/U.boundaryField.inlet from line 40 to line 46. From function static Foam::tmp<Foam::fvPatchField<Type> > Foam::fvPatchField<Type>::New(const Foam::fvPatch&, const Foam::DimensionedField<Type, Foam::volMesh>&, const Foam::dictionary&) [with Type = Foam::Vector<double>] in file /home/linuxb102/OpenFOAM/OpenFOAM-6/src/finiteVolume/lnInclude/fvPatchFieldNew.C at line 134. FOAM exiting Thank you very much! |
|
December 5, 2019, 09:52 |
|
#2 |
Senior Member
Join Date: Jun 2012
Location: Germany, Bochum
Posts: 230
Rep Power: 16 |
I can relate to your frustration. You are missing a library in system/controlDict
Check atmBoundaryLayerInletVelocity in OpenFOAM6 |
|
December 5, 2019, 12:43 |
|
#3 |
New Member
Join Date: Dec 2019
Posts: 4
Rep Power: 7 |
It worked! Thanks you very much for your help!
|
|
Tags |
atmboundarylayerinlet, boundaries condition, openfoam6 |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[waves2Foam] Having a lot of trouble for a short wavelengths | arieljeds | OpenFOAM Community Contributions | 1 | January 2, 2024 14:10 |
Trouble with rotating wall boundary condition | king1989 | OpenFOAM Running, Solving & CFD | 7 | July 29, 2016 14:44 |
Trouble with sampleDict syntax for OpenFOAM 2.3.1 | rawdoggity | OpenFOAM Post-Processing | 1 | February 1, 2015 06:24 |
[ICEM] trouble with mesh quality from ICEM in CFX Solver | escher25 | ANSYS Meshing & Geometry | 0 | February 28, 2011 08:38 |
[GAMBIT] Trouble meshing complex VOF geometry | RPJones | ANSYS Meshing & Geometry | 2 | February 14, 2011 19:54 |