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

Using fvOptions in order to simulate oscillatory flow

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By pbachant

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 17, 2014, 06:15
Cool Using fvOptions in order to simulate oscillatory flow
  #1
New Member
 
Vahid Etminan
Join Date: Jan 2014
Posts: 1
Rep Power: 0
vahidet is on a distinguished road
I am going to simulate two-dimensional oscillatory flow over an array of cylinders. In order to reduce the mesh size, I am going to model only one cylinder and impose cyclic boundary conditions at all four boundaries (the model consists of a cylinder at the center of a square domain). As a result, I can't impose cyclic pressure condition at the boundaries (which is one of the methods of producing oscillatory flow).

Therefore, I think the only way to do this simulation is to impose a time-varying body force which accelerates the fluid and produces the required oscillation.

I noticed that since version 2.2.0, OpenFOAM has introduced a new framework named fvOptions that provides the possibility of including "sources or constraints on the governing equations, e.g. porous media, MRF and body forces." Unfortunately, I couldn't find any help that guide me through using and implementing fvOption.

Does any one has any idea on how to run this oscillatory flow model using fvOption? and, is it possible at all to impose a "time-dependent" body force using fvOptions?
vahidet is offline   Reply With Quote

Old   July 8, 2015, 08:45
Default
  #2
Member
 
Thaw Tar's Avatar
 
Thaw Tar
Join Date: Apr 2013
Location: Yangon, Myanmar
Posts: 35
Rep Power: 13
Thaw Tar is on a distinguished road
Same here. Seeking for answers
Thaw Tar is offline   Reply With Quote

Old   July 12, 2015, 15:11
Default
  #3
Senior Member
 
Pete Bachant
Join Date: Jun 2012
Location: Boston, MA
Posts: 173
Rep Power: 14
pbachant is on a distinguished road
These is an oscillating fixed value boundary condition that you could use: https://openfoamwiki.net/index.php/M...tingFixedValue
__________________
Home | Twitter | GitHub
pbachant is offline   Reply With Quote

Old   July 12, 2015, 20:41
Default
  #4
Member
 
Thaw Tar's Avatar
 
Thaw Tar
Join Date: Apr 2013
Location: Yangon, Myanmar
Posts: 35
Rep Power: 13
Thaw Tar is on a distinguished road
Thanks. However, for me, my problem is opposite to Vahid's. I want to oscillate my cylinders. Not the flow. Sorry for my misleading words.

Thus, I want to create a body force model that can represent an array of multiple moving cylinders in uniform flow.
Thaw Tar is offline   Reply With Quote

Old   July 12, 2015, 20:57
Default
  #5
Senior Member
 
Pete Bachant
Join Date: Jun 2012
Location: Boston, MA
Posts: 173
Rep Power: 14
pbachant is on a distinguished road
Ah, I see now. There is an actuatorLineSource fvOption in the turbinesFoam library (full disclosure: I wrote it and it still needs work). There is an option for harmonic pitching, but you could add harmonic plunging, heaving, or surging. Input to the actuator line is lift and drag versus angle of attack, which is easy to define for a cylinder at fixed Reynolds number.
kkpal likes this.
__________________
Home | Twitter | GitHub
pbachant is offline   Reply With Quote

Old   July 13, 2015, 04:06
Default
  #6
Member
 
Thaw Tar's Avatar
 
Thaw Tar
Join Date: Apr 2013
Location: Yangon, Myanmar
Posts: 35
Rep Power: 13
Thaw Tar is on a distinguished road
Thank you very much! I will look at it
Thaw Tar is offline   Reply With Quote

Reply

Tags
body force, fvoptions, 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
how to set inlet and outlet BC for oscillatory flow around a circular cylinder November OpenFOAM Pre-Processing 2 June 2, 2020 10:08
how to simulate backward facein step flow? mcfd FLOW-3D 1 April 8, 2012 15:30
Oscillatory flow in a pipe tom-uk Siemens 1 June 23, 2009 08:53
Problem in convergence for simulate wind flow around building lalula2 FLUENT 2 June 8, 2009 04:13
How to simulate a 2 phase flow in ANSYS 11 RK CFX 1 January 6, 2009 08:35


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