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

Flow in a oscilating tube: non-conservative velocity field

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 18, 2011, 11:39
Default Flow in a oscilating tube: non-conservative velocity field
  #1
New Member
 
Vitor Geraldes
Join Date: Dec 2009
Location: Lisbon, Portugal
Posts: 26
Rep Power: 16
vitor.geraldes@ist.utl.pt is on a distinguished road
Hi,
I am solving the flow in a 2D oscilating tube in a oscillating non-inertial frame of reference. I used the pimpleFoam solver modified to include the Coriolis, Centrifugal and Euler forces. The solver and case study are in attachment. As it can be seen in the attached figure, the velocity near the walls (which are impermeable) is normal to them in some parts. This suggests that the velocity field in non-conservative and the solution is not physically feasible.
Does anyone have any clue for this bug?
Thanks in advance for the collaboration.
Attached Images
File Type: jpg rod.jpg (78.5 KB, 41 views)
Attached Files
File Type: gz oscilator.tar.gz (13.4 KB, 18 views)

Last edited by vitor.geraldes@ist.utl.pt; November 18, 2011 at 11:41. Reason: typo error
vitor.geraldes@ist.utl.pt is offline   Reply With Quote

Old   May 28, 2018, 06:29
Default
  #2
New Member
 
Dr. Peyman Davvalo Khongar
Join Date: Mar 2018
Location: Helsinki (Finland)
Posts: 16
Rep Power: 8
peyman.davvalo.khongar is on a distinguished road
Moi!

I know this thread is very old but I write my answer for others that might want to use it. The new versions of OpenFOAM has this possibility that you give linear acceleration, angular velocity and acceleration as tabulated format and OpenFOAM will include those in the fictitious forces in the NS equations.

Take a look at the attachment files: (checked with OpenFOAM dev version)
1- You need to put fvOption in your constant folder. Inside it there is a path to your acceleration-terms.dat file.
2- in the acceleration-terms.dat, you first specify the number of data in acceleration data, linear acceleration, angular velocity and finally angular acceleration. check this for more info:

https://github.com/OpenFOAM/OpenFOAM...5900ea5eb546af

Then you just run pimpleFoam and the calculated velocity is the relative velocity.

Moikka,

Peyman
Attached Files
File Type: zip data.zip (835 Bytes, 10 views)
peyman.davvalo.khongar is offline   Reply With Quote

Old   May 16, 2020, 09:24
Default
  #3
New Member
 
Join Date: May 2020
Posts: 11
Rep Power: 6
I7aniel is on a distinguished road
Quote:
Originally Posted by peyman.davvalo.khongar View Post
Moi!

I know this thread is very old but I write my answer for others that might want to use it. The new versions of OpenFOAM has this possibility that you give linear acceleration, angular velocity and acceleration as tabulated format and OpenFOAM will include those in the fictitious forces in the NS equations.

Take a look at the attachment files: (checked with OpenFOAM dev version)
1- You need to put fvOption in your constant folder. Inside it there is a path to your acceleration-terms.dat file.
2- in the acceleration-terms.dat, you first specify the number of data in acceleration data, linear acceleration, angular velocity and finally angular acceleration. check this for more info:

https://github.com/OpenFOAM/OpenFOAM...5900ea5eb546af

Then you just run pimpleFoam and the calculated velocity is the relative velocity.

Moikka,

Peyman
The Link is outdated by now :/ I have a Problem with the tabulatedAccelaration, my Porous Media is filled with air and it should be filled with resin due to a rotation. I tried to implement the rotation to a solver via FV options but it did not work for me, is there a special trick?

Kind Regards

Daniel
I7aniel is offline   Reply With Quote

Reply

Tags
boundary conditions, bug, coriolis force, euler force, rotating reference frame


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
reversed flow at velocity inlet / mass flow inlet ib FLUENT 1 March 26, 2007 14:11
transform navier-stokes eq. to euler-eq. pxyz Main CFD Forum 37 July 7, 2006 09:42
Can 'shock waves' occur in viscous fluid flows? diaw Main CFD Forum 104 February 16, 2006 06:44
External flow field. Moon FLUENT 3 March 5, 2003 11:32
Injection of partical into flow field M.Mahendran FLUENT 2 November 24, 2002 01:54


All times are GMT -4. The time now is 22:20.