vahidet |
March 17, 2014 06:15 |
Using fvOptions in order to simulate oscillatory flow
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?
|