Unusual velocity profile with pentahedra cells
Hi all,
I'm doing some studies on an extrusion head and created the mesh mostly via rotation and extrusion in Hypermesh which resulted in pentahedra cells along the middle axis of a J-bend right after the inlet. The odd thing is that the velocity in these pentahedra cells is a lot lower than in their surrounding cells, but it continues to converge to its surrounding velocity with increasing runtime. I remembered that I saw a similar behaviour when doing first examples in OpenFOAM with a 5 degree straight pipe section with pentahedra along the middle axis and hexahedra elsewhere. My guess is that OpenFOAM has some sort of problem with pentahedra cells, but I can't think of a reason why. Is it the cell size? This behaviour is independent of fluid property and I've provided a link to the case (without mesh since I can't publish it), but there are a few pictures. Does anybody have an idea what's happening and how to prevent it, apart from using another mesh structure? https://1drv.ms/f/s!AqGKZzn3ghyumBowygR94yGGdqlz |
Hi,
I did observe this sort of behavior in the interFoam solver for a complex mesh of mine but I realized it was due to numerical dispersion. I changed the solver a bit to solve this issue. Further few things to be kept in mind are the "goodness of your mesh": maybe there is a better mesh than the one you have [try checking with "checkMesh" and see for any mesh fails]. If everything was fine, atleast the skewness shall fail which is good to know. Later, if the mesh is already good enough, check for the schemes you use as "Gauss linear" is good for orthogonal meshes. Also, try setting your Courants number or ideally your time step size less initially. Hope this helps!! |
Hi Saideep,
how did you change the solver exactly? Were the failing cells also pentahedra? Here's the checkMesh output: Code:
Mesh stats Have a look at the system folder in the link I posted. fvschemes: Code:
ddtSchemes The Courant number is not that relevant for the viscoelastic simulations at hand (I forgot to mention those) as it won't reach critical regions since other stability criteria hit first. The time step is limited to 1e-3 and starts at 1e-5. |
Well, I've found the error. I've made a stupid mistake defining the viscoelastic properties and with the right definitions, it works as intended.
|
All times are GMT -4. The time now is 07:06. |