CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

atmBoundaryLayerInletVelocity in OpenFOAM6

Register Blogs Community New Posts Updated Threads Search

Like Tree6Likes
  • 6 Post By cedric_duprat

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 25, 2018, 03:16
Default atmBoundaryLayerInletVelocity in OpenFOAM6
  #1
Senior Member
 
Cedric DUPRAT
Join Date: Mar 2009
Location: Nantes, France
Posts: 195
Rep Power: 17
cedric_duprat is on a distinguished road
Dear All,

I have a case running fine using OpenFOAM 3.0.x.

I've installed the last release OpenFOAM6 and I'm trying to run the same case.
Here is the error message I have:

Code:
Reading field U


--> FOAM FATAL IO ERROR: 
Unknown patchField type atmBoundaryLayerInletVelocity for patch type patch

Valid patchField types are :

84
(
SRFFreestreamVelocity
SRFVelocity
...
Notice that atmBoundaryLayerInletVelocity is not in the 84 BCs listed by the solver.

However, there is a tutorial (incompressible/simpleFoam/turbineSiting) using this boundary condition (and running fine), which mean that it's still somewhere.

I've seen that atmospheric boundary layer stuff have move from turbulence directory (OF3.0.x) to the root one.

My U file looks like the one in the tutorial:

Code:
    inlet
    {
        type            atmBoundaryLayerInletVelocity;
        #include        "include/ABLConditions"
    }
and the constant/boundary for my inlet one like that:
Code:
    inlet
    {
        type            patch; // inlet; // wall;
        //inGroups        1(wall);
        nFaces          3600;
        startFace       11781809;
    }
In the constant/boundary file, I've tryed patch, inlet, wall without any difference. I still have almost the same error message.

Does anyone have a clue, any idea is welcome ?

Thanks in advance

Cedric
cedric_duprat is offline   Reply With Quote

Old   July 25, 2018, 03:43
Default
  #2
Senior Member
 
Cedric DUPRAT
Join Date: Mar 2009
Location: Nantes, France
Posts: 195
Rep Power: 17
cedric_duprat is on a distinguished road
Well,

I got it, need to add this line in the controlDict file :

Code:
libs ("libatmosphericModels.so");
Sorry for spamming the forum ...

Cédric
Rojj, Gerhard, MaySea and 3 others like this.
cedric_duprat is offline   Reply With Quote

Old   October 23, 2019, 00:19
Default
  #3
New Member
 
marco velazquez
Join Date: Aug 2019
Posts: 4
Rep Power: 6
marco-vs is on a distinguished road
Quote:
Originally Posted by cedric_duprat View Post
Dear All,

I have a case running fine using OpenFOAM 3.0.x.

I've installed the last release OpenFOAM6 and I'm trying to run the same case.
Here is the error message I have:

Code:
Reading field U


--> FOAM FATAL IO ERROR: 
Unknown patchField type atmBoundaryLayerInletVelocity for patch type patch

Valid patchField types are :

84
(
SRFFreestreamVelocity
SRFVelocity
...
Notice that atmBoundaryLayerInletVelocity is not in the 84 BCs listed by the solver.

However, there is a tutorial (incompressible/simpleFoam/turbineSiting) using this boundary condition (and running fine), which mean that it's still somewhere.

I've seen that atmospheric boundary layer stuff have move from turbulence directory (OF3.0.x) to the root one.

My U file looks like the one in the tutorial:

Code:
    inlet
    {
        type            atmBoundaryLayerInletVelocity;
        #include        "include/ABLConditions"
    }
and the constant/boundary for my inlet one like that:
Code:
    inlet
    {
        type            patch; // inlet; // wall;
        //inGroups        1(wall);
        nFaces          3600;
        startFace       11781809;
    }
In the constant/boundary file, I've tryed patch, inlet, wall without any difference. I still have almost the same error message.

Does anyone have a clue, any idea is welcome ?

Thanks in advance

Cedric

Hello Cedric,



please, could you help me to run turbinesiting turorial?; after running "Allrun" script, everythign goes well, but when I run "paraFoam-lp" in paraview it give me zero velocity and pressure in all the domain, also time intervals are from 0 to 1.



thank you in advance.
Screenshot from 2019-10-22 23-16-22.jpgScreenshot from 2019-10-22 23-16-57.jpg
marco-vs is offline   Reply With Quote

Reply

Tags
openfoam6


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 17:10.