![]() |
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. |
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 |
Quote:
Kind Regards Daniel |
All times are GMT -4. The time now is 02:21. |