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

Oscillatory inlet velocity

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 1 Post By jherb
  • 1 Post By ashkan

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 19, 2018, 09:11
Default Oscillatory inlet velocity
  #1
Member
 
Join Date: Jul 2010
Posts: 55
Rep Power: 16
ashkan is on a distinguished road
Hi,
I would like to simulate an oscillatory flow at inlet. I have managed to setup and run the simulation using the "uniformFixedValue" boundary condition for "U". The simulation runs just fine. However, when the flow reverses at the inlet, it creates some unphysical velocity the lower corner where I have no slip wall. Please see the snapshot of the issue. I ran the model for few oscillation cycles and this always happen at each cycle when the flow reverses.

I tried the model with different schemes in the fvScheme dictionary but could not resolve the issue.

Attached my case and would really appreciate any help/comments/suggestions.

Cheers
Ashkan
Attached Images
File Type: png velocity.png (14.6 KB, 101 views)
Attached Files
File Type: zip OscillatoryFlow.zip (11.0 KB, 40 views)
ashkan is offline   Reply With Quote

Old   March 2, 2018, 11:31
Default
  #2
Senior Member
 
Joachim Herb
Join Date: Sep 2010
Posts: 650
Rep Power: 22
jherb is on a distinguished road
You give a constant velocity over the whole inlet, but within the domain, you have some turbulent boundary layer profile. This does not work, if the fluid is moving in the direction of the inlet (because you impose a negative velocity).

You might get better results, if you create your own boundary condition, which just imposes the integral flow over the whole inlet and use the cell values of the cells attached to the inlet for the deviations.

Have a look at the fixedMean boundary condition: https://github.com/OpenFOAM/OpenFOAM...ived/fixedMean
ashkan likes this.
jherb is offline   Reply With Quote

Old   March 2, 2018, 23:07
Default
  #3
Member
 
Join Date: Jul 2010
Posts: 55
Rep Power: 16
ashkan is on a distinguished road
Quote:
Originally Posted by jherb View Post
You give a constant velocity over the whole inlet, but within the domain, you have some turbulent boundary layer profile. This does not work, if the fluid is moving in the direction of the inlet (because you impose a negative velocity).

You might get better results, if you create your own boundary condition, which just imposes the integral flow over the whole inlet and use the cell values of the cells attached to the inlet for the deviations.

Have a look at the fixedMean boundary condition: https://github.com/OpenFOAM/OpenFOAM...ived/fixedMean
Many thanks for your comments Joachim. I did implement "fixedMean" boundary as well. You are absolutely correct that this is due to the boundary layer and using fixedMean is more stable. However, the resulting "turbulent oscillatory boundary" would not be correct with "fixedMean" approach.

I managed to resolve my stability issue with a sort of "agricultural" way. I divided the bottom wall into two patches with the one close to inlet being free slip and the other one being no-slip. This actually resolved the problem and the boundary layer matches well with experiments. Attached my results.
Attached Images
File Type: png WaveBoundaryLayer_Re6E6.png (65.0 KB, 85 views)
jherb likes this.
ashkan is offline   Reply With Quote

Reply

Tags
oscillatory flow


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
3-D parabolic velocity Inlet - Steady state - UDF Turbulent Flow mohibanwar Fluent UDF and Scheme Programming 10 May 18, 2015 11:34
UDF: Change boundary condition. Velocity inlet to pressure inlet at time "t" jpina FLUENT 10 April 11, 2015 15:19
velocity inlet and ideal gas simultaneously-what's wrong? preetam69 FLUENT 0 September 28, 2013 05:51
UDF problem : inlet velocity in cyl. coord. system Jongdae Kim FLUENT 0 June 15, 2004 12:21
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 21:46.