Note: This discussion is about an older version of the COMSOL Multiphysics® software. The information provided may be out of date.
Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.
3D Pipe Flow Mixture Model K-Epsilon
Posted 8 lug 2011, 07:09 GMT-4 Fluid & Heat, Computational Fluid Dynamics (CFD), Results & Visualization, Studies & Solvers Version 4.2 17 Replies
Please login with a confirmed email address before reporting spam
I am trying to model a 3D Pipe multiphase flow using the Mixture Model for turbulent flow.
And although the model converges I keep getting the numerical variations at pipe continuities
and the profile of K and EPSILON are show some numerical instability...
I have a 4 m cylinder to simulate a 4 m section pipe to allow the flow to fully develop, than I have a 2.9 m section
that is the one I am interested...
However both sections present a "spotted" profile in the wall for the K and Epsilon values...
The File is too big to upload...so it uploaded some PNG Files so you can see the results...
Hope someone can help. Cheers!
Rui
Attachments:
Please login with a confirmed email address before reporting spam
I would rather have a look at the dimensionless wall distance and at the dimensional wall distance. It may be of interest also to plot the ratio of the turbulent viscosity on the dynamic viscosity, usually the ratio is over 100:1.
It is hard to gauge the variations in K and epsilon from the images but it seems they are fairly small oscillations.
Cheers
Please login with a confirmed email address before reporting spam
thanks for replying. I am sorry for asking this, but how do I plot the dimensionless wall distance and at the dimensional wall distance? Neither of these variables appear in the plot menu...
If you could give some hints I would appreciate it.
Cheers.
Rui
Please login with a confirmed email address before reporting spam
In any surface plot you select 'Turbulent flow' and then in the list there are 'Wall lift-off (mod1.spf.delta_w)' and 'Wall lift-off in viscous units (mod1.spf.d_w_plus)'.
Cheers
Please login with a confirmed email address before reporting spam
here are the screenshots. And thanks for the tips.
I'll be looking forward for your assessment.
Cheers!
Attachments:
Please login with a confirmed email address before reporting spam
I think that first of all you may want to study about what boundary layers are, the best introductory book I have found so far on boundary layer theory is 'Foundations of boundary layer theory for momentum, heat and mass transfer', J. Schetz, ISBN 0133293343.
For this time a very brief summary may be in order. Turbulent flow is characterized by very large variations in the velocity field; comsol uses a mathematical technique to approximate such variations, known as Reynolds average, so that it computes for the mean velocity components. A major characteristic is that it does not solve for the fluid motion at the wall and very close to it, such region is known as a boundary layer wherein velocity grows from zero (at the wall) to some value close to the average velocity of the bulk of the fluid. In this case the boundary layer is said to be turbulent and can be divided into three sub-layers, laminar, intermediate and turbulent ones (or similar names). Because comsol does not solve for any of these three sub-layers, it is crucial to make sure that its approximation is sound enough, to wit, that the dimensionless distance from the wall is 11.06 or very close to it, and at the same time that the dimensional distance from the wall is very small compared to some characteristic length.
I know this is an extremely short version of it all but I would strongly suggest to study the theory first of all. Even in the comsol manual there is something to chew on.
In this case the dimensionless distance hovers a bit above 11.06 which is not bad but it oscillates maybe a bit too much. The dimensional distance ranges from less than 1mm to more than 1mm, it sounds suspiscious. However, the images are not easy to read. It is also important to relate the dimensional distance to the characteristic legth of the problem, which I would say is the diameter of the pipe.
How to correct for problems with the d_wall and w_wall_plus? By intervening on the mesh close to the boundary of the geometry, that is by making the first boundary layer much closer to the wall (maybe the distance from the boundary for the first one should be less than 1mm) and use quite a number of boundary layers (5, 6, 8, 12?).
Cheers
Please login with a confirmed email address before reporting spam
Can someone please shed light on the matter
Appreciated.
Please login with a confirmed email address before reporting spam
First of all you may want to read the manual, page 168 of the CFDModuleUserGuide and following, it explains why they chose 11.06; to put it very briefly they decided to consider some half-way point between the viscous sub-layer and the logarithmic layer. The k-epsilon model does not solve for the viscous sub-layer, somehow it can be tweaked to do so or approximately so, again you may want to read the manual.
Specifically regarding the decision to let the sub-layers meet at half-way, there is some room to debate the correctness of such an approach. However from the practical point of view you'd better to keep under control the dimensional lift-off distance, i.e. it must be much smaller than dimensions of your fluid domain.
Cheers
Please login with a confirmed email address before reporting spam
Attachments:
Please login with a confirmed email address before reporting spam
I think the manual comes with the installation DVD, or you can simply ask for a copy to your local Comsol representative.
The overshoot seems to be just a numerical artifact, something similar to a Gibbs phenomenon. It may be related to your mesh (try decreasing the size of the elements) or you may use artificial diffusion to get rid of it, making sure you do not alter the 'physical acceptability' of the solution.
Cheers
Please login with a confirmed email address before reporting spam
Cheers.
Please login with a confirmed email address before reporting spam
Artificial diffusion is just another name for inconsistent stabilization techniques, you may find it under the 'Stabilization' -> 'Inconsistent Stabilization' tag under the Turbulent Flow node.
As the name says it causes the solver to find an inconsistent solution, i.e. a non physical one, by smoothing out eventual spikes. It can be useful to get rid of Gibbs phenomena or similar issues, if re-meshing or different order shape functions are not enough.
I have tried a bit but then given up on rough surfaces in Comsol especially for turbulent flows. They may be implemented with laminar flows, but I strongly doubt they could ever be implemented with turbulence in Comsol.
Cheers
Please login with a confirmed email address before reporting spam
Please login with a confirmed email address before reporting spam
Practically, surface roughness may destroy the laminar sub-layer of the turbulent boundary layer, thus it may affect turbulent flows greatly. Furthermore, Comsol approximates the solution by using wall functions starting at an imaginary intersection between the laminar and intermediate sub-layers, how close to the physics of the problem is such an approximation when surface rougness is involved? Who knows!
I did not 'do it for laminar flows', I started with some ideas but I am not interested in laminar flows; you may start by simply adding some drag force on the surface.
Cheers
Please login with a confirmed email address before reporting spam
Cheers
Please login with a confirmed email address before reporting spam
The new pipe flow module makes it easier for us to incorporate surface roughness in fluid flow in pipes. With this module, you can specify the surface roughness as well as your friction model (Haaland, Colebrook, etc). Interesting.
Cheers.
Please login with a confirmed email address before reporting spam
Pipe flow module can be applied if and only if you have pipes long enough so that entrance length has no or little influence over the velocity profile. It is an interesting one dimensional simulation tool but with a very limited applicability.
I already tested it for large plants, it seems to provide reasonable results. It is useless to model specific devices. It all depends on the goal of your simulation.
Cheers
Please login with a confirmed email address before reporting spam
Yes i see where you are coming from, in my case i was trying to see the effect of surface roughness in a model i had initially done assuming smooth surface. Mainly to see the effect on presure drop over the range of velocities that i have been using. I also see you do not get much information besides the pressure differential. And i agree with you it may all look useless.
Cheers.
Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.