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

How is a fixedValue BC extrapolated to first cell?

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 13, 2019, 05:21
Default How is a fixedValue BC extrapolated to first cell?
  #1
New Member
 
Join Date: Sep 2015
Posts: 13
Rep Power: 10
ChrisHa is on a distinguished road
Hi all,

I'm running a very simple case with simpleFoam (kEpsilon), where I have a rough wall patch. For this patch I choose to use the 'noSlip' BC for velocity which turns out to be a wrapper for fixedValue with value (0 0 0).

1) How is this fixed velocity at the wall extrapolated to the first cell? (Or where can I see how the extraploation is treated/defined?)

2) Other question - In my case I have roughness elements of length ~ 0.5 x dimension of the first cell. Is there a BC type where I can account for the effect on the velocity due to the roughness of the wall

Thank you!
Chris
ChrisHa is offline   Reply With Quote

Old   February 13, 2019, 05:30
Default
  #2
New Member
 
Join Date: Sep 2015
Posts: 13
Rep Power: 10
ChrisHa is on a distinguished road
What I mean with 'extrapolate' is, how it affects the first cells value...
ChrisHa is offline   Reply With Quote

Old   February 13, 2019, 08:24
Default
  #3
New Member
 
Join Date: Sep 2015
Posts: 13
Rep Power: 10
ChrisHa is on a distinguished road
Quote:
Originally Posted by ChrisHa View Post
2) Other question - In my case I have roughness elements of length ~ 0.5 x dimension of the first cell. Is there a BC type where I can account for the effect on the velocity due to the roughness of the wall
Chris

Ok, if I'm not much mistaken, this is done through the nut*RoughWallFunction?
ChrisHa is offline   Reply With Quote

Old   February 13, 2019, 16:43
Default
  #4
New Member
 
Join Date: Sep 2015
Posts: 13
Rep Power: 10
ChrisHa is on a distinguished road
Quote:
Originally Posted by ChrisHa View Post
1) How is this fixed velocity at the wall extrapolated to the first cell? (Or where can I see how the extraploation is treated/defined?)
Chris
Is it correct that the velocity is 'extrapolated' via a modification of the viscosity at the wall in OpenFOAM, as described in Chapter 17.8.2 of 'The Finite Volume Method in Computational Fluid Dynamics: An Advanced Introduction with OpenFOAMŪ and Matlab'*?

Quote:
If [...] the grid point is located in the inertial sublayer and the logarithmic wall functions are applied at the first interior point C. The implementation process involves computing the shear stress using the logarithmic wall function [...]. This shear stress is used in solving the momentum equation either by invoking its value directly as a source term (τwSb) or via a modified viscosity at the wall μw [...].
*Moukalled, F., Mangani, L., Darwish, M., 2016. The Finite Volume Method in Computational Fluid Dynamics: An Advanced Introduction with OpenFOAMŪ and Matlab, 1st ed. Springer International Publishing, Cham, s.l., 242 pp.
ChrisHa is offline   Reply With Quote

Reply

Tags
boundary condition, rough wall, velocity bc

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
[Other] Contribution a new utility: refine wall layer mesh based on yPlus field lakeat OpenFOAM Community Contributions 58 December 23, 2021 02:36
Doubt about parallel processing vishwesh OpenFOAM Programming & Development 0 November 10, 2017 06:20
Partition: cell count = 0 metmet FLUENT 1 August 31, 2014 19:41
monitoring cell Jane Siemens 2 March 4, 2004 21:01
cell to cell relation CMB Siemens 1 December 4, 2003 04:05


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