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

New ABL Boundary Condition for low z0 inlet

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree4Likes
  • 4 Post By jamesDurham

Reply
 
LinkBack Thread Tools Display Modes
Old   April 29, 2014, 07: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, 60 views)
jamesDurham is offline   Reply With Quote

Old   May 20, 2014, 05:56
Default
  #2
New Member
 
ttttoor
Join Date: Feb 2014
Posts: 10
Rep Power: 4
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.
meng9019 is offline   Reply With Quote

Old   May 21, 2014, 03:00
Default
  #3
New Member
 
ttttoor
Join Date: Feb 2014
Posts: 10
Rep Power: 4
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

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Wind turbine simulation Saturn CFX 45 February 8, 2016 05:42
Total pressure and mass flow boundary condition at inlet bscphil OpenFOAM Pre-Processing 2 April 19, 2015 07:56
An error has occurred in cfx5solve: volo87 CFX 5 June 14, 2013 17:44
mass flow in is not equal to mass flow out saii CFX 2 September 18, 2009 08:07
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 23:53.