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

Using fvOptions in order to simulate oscillatory flow

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

Reply
 
LinkBack Thread Tools 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, 07:45
Default
  #2
New Member
 
Thaw Tar's Avatar
 
Thaw Tar
Join Date: Apr 2013
Location: Yangon, Myanmar
Posts: 22
Rep Power: 5
Thaw Tar is on a distinguished road
Same here. Seeking for answers
Thaw Tar is offline   Reply With Quote

Old   July 12, 2015, 14:11
Default
  #3
Senior Member
 
Pete Bachant
Join Date: Jun 2012
Location: NH, USA
Posts: 141
Rep Power: 6
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, 19:41
Default
  #4
New Member
 
Thaw Tar's Avatar
 
Thaw Tar
Join Date: Apr 2013
Location: Yangon, Myanmar
Posts: 22
Rep Power: 5
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, 19:57
Default
  #5
Senior Member
 
Pete Bachant
Join Date: Jun 2012
Location: NH, USA
Posts: 141
Rep Power: 6
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.
__________________
Home | Twitter | GitHub
pbachant is offline   Reply With Quote

Old   July 13, 2015, 03:06
Default
  #6
New Member
 
Thaw Tar's Avatar
 
Thaw Tar
Join Date: Apr 2013
Location: Yangon, Myanmar
Posts: 22
Rep Power: 5
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

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
how to simulate backward facein step flow? mcfd FLOW-3D 1 April 8, 2012 14:30
how to set inlet and outlet BC for oscillatory flow around a circular cylinder November OpenFOAM Pre-Processing 0 March 23, 2012 01:59
Oscillatory flow in a pipe tom-uk CD-adapco 1 June 23, 2009 07:53
Problem in convergence for simulate wind flow around building lalula2 FLUENT 2 June 8, 2009 03: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 02:58.