CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Pre-Processing

Boundary Conditions for Atmospheric flow

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

Like Tree6Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 28, 2020, 18:17
Default
  #21
HPE
Senior Member
 
HPE's Avatar
 
Herpes Free Engineer
Join Date: Sep 2019
Location: The Home Under The Ground with the Lost Boys
Posts: 670
Rep Power: 8
HPE is on a distinguished road
Hi,

- Could you please elaborate what went wrong and its relation to the post in the link?

Many thanks.
HPE is offline   Reply With Quote

Old   May 28, 2020, 19:10
Default
  #22
Member
 
René Thibault
Join Date: Dec 2019
Location: Canada
Posts: 59
Rep Power: 2
Tibo99 is on a distinguished road
Hi @lebc,

I'm not in the position at the moment to decide if I'm allowed to share the work I've done (sorry about that), but l found what I needed in this paper:

https://onlinelibrary.wiley.com/doi/....1002/fld.2709


The gradiant at the top for U and espilon that I use as a BC look something like this:

for epsilon: grad[faceI] = -pow(ustar_[faceI],5)*kappa_/pow(nut[faceCellI],2)

for U: grad[faceI] = dir_*pow(ustar_[faceI],2)/nut[faceCellI]

I did a 1D simulation first with the Inlet/Outlet to be set as 'cyclic' and the BackAndFront as a 'symmetryPlane'. The goal is to having a profile of U,k,epsilon and nut by using the top and bottom BC and use this results to map the 2D domain for initial conditions.

I didn't validate my results though, so, I can't guarantee the right results, but we could probably comparing our results maybe?

Hope this help!

Regards,
lebc likes this.

Last edited by Tibo99; May 28, 2020 at 22:17.
Tibo99 is offline   Reply With Quote

Old   May 29, 2020, 18:43
Default
  #23
Member
 
Luis Eduardo
Join Date: Jan 2011
Posts: 85
Rep Power: 11
lebc is on a distinguished road
@HPE,

I'm using the version of OF from openfoam.org, so I had to adapt a little bit the files for the proposed case. Additionally, I did not compile everything that is proposed in the link you provided, so this could also be the issue. I'm not saying it is wrong, but that I couldn't make it work as I expected.

@René,

No problem, thank you for the tips! My case is simple, I haven't modified the source code, but if you want I can share it with you. I have just accepted the difference in results and used the standard approach from OF for my work.
lebc is offline   Reply With Quote

Old   May 29, 2020, 22:45
Default
  #24
Member
 
René Thibault
Join Date: Dec 2019
Location: Canada
Posts: 59
Rep Power: 2
Tibo99 is on a distinguished road
@lebc,

My pleasure!

I didn't change the source code, but just created new BC at the top for U and epsilon in the way I mentioned before in my last post but keep the k-e model from OF as is.

In conjunction with these BC, I used the 'nutkAtmRoughWallFunction' at the bottom. And 'zeroGradient' at the top and bottom for 'k' since the profile is suppose to be uniform.

One thing I know is, if you try to achieve matching U profile at the Outlet with the Inlet, you'll struggle if you don't use these kind of BC. Obviously, there is other options in the literature, but these must match all together.

You can share it if you want. Its up to you.

Good work and stay safe!

Regards,
lebc likes this.
Tibo99 is offline   Reply With Quote

Reply

Tags
boundary conditions

Thread Tools Search this Thread
Search this Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Boundary conditions low Mach number flow lost.identity Main CFD Forum 0 November 28, 2010 05:44
3-D Compressible Flow Boundary Conditions Tyler FLUENT 4 February 5, 2009 20:58
boundary conditions for boundary layer flow A. Al-zoubi CFX 0 November 3, 2007 08:11
Internal flow simulation boundary conditions Kishore FLUENT 1 July 10, 2007 12:42
Please help with flow around car modelling! Tudor Miron CFX 17 March 19, 2004 20:23


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