CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   Flow in a oscilating tube: non-conservative velocity field (https://www.cfd-online.com/Forums/openfoam/94540-flow-oscilating-tube-non-conservative-velocity-field.html)

vitor.geraldes@ist.utl.pt November 18, 2011 11:39

Flow in a oscilating tube: non-conservative velocity field
 
2 Attachment(s)
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.

peyman.davvalo.khongar May 28, 2018 06:29

1 Attachment(s)
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

I7aniel May 16, 2020 09:24

Quote:

Originally Posted by peyman.davvalo.khongar (Post 693759)
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


All times are GMT -4. The time now is 13:08.