|
[Sponsors] |
[swak4Foam] Rotating Wall Velocity and Swak4Foam |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
New Member
Panchatcharam Mariappan
Join Date: Apr 2014
Posts: 17
Rep Power: 12 ![]() |
Hi,
I am testing a case called 2DRotatingTank. 2/3rd of the tank is filled with water whereas the rest is air. The idea is to rotate the tank at 240rpm for 500 seconds. I am using interFoam solver. When I test the case with rotatingWallVelocity, I get incorrect results, whereas swak4Foram produces correct results. But the difficulty with swak4Foam is that it produces a little bit oscillation and vortices between 30 and 100 seconds. A same setup is done for both cases except the following changes in 0/U. For rotatingWallvelocity there are no vortices, but the flow is not reaching the center of the tank at any time. Here is the file content of 0/U Code:
boundaryField { walls { type rotatingWallVelocity; origin (0 0 0); axis (0 0 1); omega 25.4; value uniform (0 0 0); } Code:
boundaryField { walls { type groovyBC; value uniform (0 0 0); variables ( "xx = pos().x;" "yy = pos().y;" "zz = pos().z;" "w = 25.1328;" ); valueExpression "vector(-w*yy,w*xx,0)"; } I am using OpenFOAM3.0 and Swak4Foam Version 0.3.2. Is my settings for rotatingWallVelocity perfect? Why do I get different results? Note that, if I remove value uniform (0 0 0); from rotatingWallVelocity it ends up with error immediately. Also, I have observed that when I am testing the same case with rotatingWallVelocity in openfoam-plusv1606. It works well and it produces the same result as swak4Foam. Last edited by mpanch13114; September 19, 2016 at 12:01. |
|
![]() |
![]() |
![]() |
Tags |
interfoam, openfoam, rotatingwallvelocity, swak4foam |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Swak4Foam] Imposing slip velocity on the wall as a function of another variable | babakflame | OpenFOAM Running, Solving & CFD | 0 | May 19, 2016 19:42 |
[swak4Foam] Inlet velocity profile for turbulent pipe flow using swak4Foam | zordiack | OpenFOAM Community Contributions | 5 | February 23, 2016 01:52 |
[swak4Foam] linear inlet velocity profile | eRzBeNgEl | OpenFOAM Community Contributions | 4 | January 11, 2014 17:10 |
[swak4Foam] velocity of a patch by using swak4Foam | sasanghomi | OpenFOAM Community Contributions | 3 | September 9, 2013 14:30 |
[swak4Foam] LES rotating pipe | Gosi | OpenFOAM Community Contributions | 2 | August 6, 2013 20:15 |