Simulating flow for rotating cylinders with a stationary body in the annulus
1 Attachment(s)
Hi,
I wanted to ask that can Rotating frame of reference approach be used to solve a flow problem consisting of a stationary body located in the annulus of two rotating cylinders ? The schematic of the problem is attached with the post. Thanks Anant |
Hi Anant,
You may want to give the new moving walls option in V2.0.8 a try for this problem. You could impose the two rotational velocities of the outer walls and leave the body fixed in the internal portion of the domain. For some examples of these new options, please see the presentation and materials from our workshop that are posted here: http://su2.stanford.edu/documents/SU...edAnalysis.pdf & http://su2.stanford.edu/documents/SU...ced_Topics.zip. All the best, Tom |
3 Attachment(s)
Hi Thomas
I was trying to run the case for flow in the annulus of two rotating cylinders using the moving wall strategy. But the solver is showing "non-physical points" during the run. I wanted to know how we can give user defined initial conditions (like exponentially increasing pressure from inner to outer rotating wall) for the simulation ? something like Pressure initialization P = p_inner_wall*exp(A*(r^2/r_inner^2-1)) where p_inner = 3.29 N/m2 and A = 0.284 ; r = radius of any point in the annulus; r_inner = radius of inner rotating wall Velocity initialization V_swirl = r * angular_velocity I tried modifying restart file and rerunning the case, but that didn't work. I am attaching the log file and the .cfg file with the post. Thanks Anant |
Hi Anant,
We regularly use the routine CEulerSolver::SetInitialCondition(CGeometry **geometry, CSolver ***solver_container, CConfig *config, unsigned long ExtIter) in the file solver_direct_mean.cpp in order to set initial conditions. Please see that routine for more details, as I suspect that you can easily add your custom initial conditions there. All the best, Tom |
1 Attachment(s)
Hi Tom
I tried to implement user defined initial condition by adding following lines in the routine CEulerSolver::SetInitialCondition(CGeometry **geometry, CSolver ***solver_container, CConfig *config, unsigned long ExtIter) in the file solver_direct_mean.cpp Code:
as intended. Am I doing it correctly ? The mesh and the configuration files can be found here https://www.dropbox.com/sh/n55obxgicmwfwfk/911XVD-CFW The run.log file is also attached. Thanks Anant |
Hi Tom
Did you see my previous post ? I am still facing the problem regarding setting initial conditions. Anant |
All times are GMT -4. The time now is 04:44. |