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

New ABL Boundary Condition for low z0 inlet

Register Blogs Community New Posts Updated Threads Search

Like Tree6Likes
  • 5 Post By jamesDurham
  • 1 Post By meng9019

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 29, 2014, 08:32
Post New ABL Boundary Condition for low z0 inlet
  #1
New Member
 
James Martin
Join Date: Nov 2013
Posts: 2
Rep Power: 0
jamesDurham is on a distinguished road
Hi all,

Have recently completed a Research paper which included a CFD validation of the well-known Bolund Hill Experiment. I had to modify the inlet boundary conditions for velocity and epsilon profiles as they would not allow aerodynamic roughness (z0) values less than 0.001 m. The surrounding water at the Bolund site has roughness length 0.0003 m and so the profiles have been adapted to accommodate this lower value. The profiles are those of Richards and Hoxey (1993).

Just thought this may be helpful if you were performing a similar investigation and could not produce the required inlet profiles due to this limitation in the atmBoundaryLayerInlet type inlet functions. I have included all the relevant makefiles and scripts, which i compiled on my machine with 'wmake -libso' command. The library can then be referenced through the controlDict dictionary

Hope this is helpful
Attached Files
File Type: gz ModBCs.tar.gz (91.6 KB, 83 views)
jamesDurham is offline   Reply With Quote

Old   May 20, 2014, 06:56
Default
  #2
New Member
 
ttttoor
Join Date: Feb 2014
Posts: 10
Rep Power: 12
meng9019 is on a distinguished road
Hi James and other Foamers,

I am trying to compile the new ABL BC.

I put the files you attached, say atmBoundaryLayerInletEpsilonBolund, atmBoundaryLayerInletVelocityBolund and Make folder in the following directory: $WM_PROJECT_USER_DIR/src/finiteVolume/fields/fvPatchFields/derived

In the above directory, I type "wmake libso" to compile the new ABL boundary.

Then I specify the atmBoundaryLayerInletEpsilonBolund type in 0/epsilon and
atmBoundaryLayerInletVelocityBolund in 0/U, and add libs ("libmyBCs.so"); in the system/controlDict file.

However we I run decomposePar, I get the following error massage
"FOAM Warning :
From function dlOpen(const fileName&, const bool)
in file POSIX.C at line 1179
dlopen error : libmyBCs.so: cannot open shared object file: No such file or directory"

Do you have any suggestions?

Thanks in advance.
vs1 likes this.
meng9019 is offline   Reply With Quote

Old   May 21, 2014, 04:00
Default
  #3
New Member
 
ttttoor
Join Date: Feb 2014
Posts: 10
Rep Power: 12
meng9019 is on a distinguished road
Dear all,

The problem has been fixed.
The new boundary lib is "libMyBCs.so", not "libmyBCs.so".
meng9019 is offline   Reply With Quote

Reply

Tags
abl, boundary, inlet bc, new bc, openfoam


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Wind turbine simulation Saturn CFX 60 July 17, 2024 06:45
mass flow in is not equal to mass flow out saii CFX 12 March 19, 2018 06:21
Total pressure and mass flow boundary condition at inlet bscphil OpenFOAM Pre-Processing 3 July 9, 2017 15:39
An error has occurred in cfx5solve: volo87 CFX 5 June 14, 2013 18:44
what the result is negatif pressure at inlet chong chee nan FLUENT 0 December 29, 2001 06:13


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