CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT

How to resolve this axisymmetric mesh problem?

Register Blogs Community New Posts Updated Threads Search

Like Tree6Likes
  • 1 Post By Hossein1
  • 2 Post By KevinZ09
  • 1 Post By KevinZ09
  • 2 Post By Hossein1

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 9, 2017, 22:12
Default How to resolve this axisymmetric mesh problem?
  #1
Member
 
Join Date: Jun 2015
Posts: 46
Rep Power: 11
Hossein1 is on a distinguished road
I want to do an axisymmetric simulation of a collision between a droplet and a particle. However, as you can see in the attached figure, dynamic mesh fails to follow the particle movement (when simulation starts, A=A' and B=B', but after some time steps you can see that how A and B are getting stretched). In fact, unlike the nodes in the middle of the domain, the nodes on the 'axis' are not removed/added appropriately as particle moves.
Attached Images
File Type: jpg 4.jpg (196.3 KB, 133 views)
SSG_NJ likes this.

Last edited by Hossein1; January 14, 2017 at 21:12.
Hossein1 is offline   Reply With Quote

Old   January 11, 2017, 04:44
Default
  #2
Senior Member
 
Kevin
Join Date: Dec 2016
Posts: 138
Rep Power: 9
KevinZ09 is on a distinguished road
I'm not a big dynamic mesh expert, but will give some input:

1: A, B and C should be axis boundary conditions, not walls. In the tutorial they are axis boundary conditions too I believe. They might not be upon reading the files, but you've got to change them to axis boundaries.

2: I don't think you should mesh the particle. I can't come up with a reason why you should.

3: If the mesh gets too stretched, try having a finer initial mesh. Especially near the symmetric axis around the particle.

4: What do you specify as minimum and maximum length scales in remeshing (I can't really read your input values in the picture). And did you set your length scale to mm or m?
KevinZ09 is offline   Reply With Quote

Old   January 11, 2017, 13:48
Default
  #3
Member
 
Join Date: Jun 2015
Posts: 46
Rep Power: 11
Hossein1 is on a distinguished road
The first two points was applied.
Regarding #4, based on 'Mesh Scale Info', min and max length scales are 0.0006 and 0.25 mm (I don't know where this 0.0006 comes from as I can't really see a cell with such a small edge in the mesh). However, in the 'Remeshing' window, I input 0.01 and 0.25 mm as min and max length scales.
After the dynamic mesh fails and simulation stops running, min and max length scales are 8e-5 and 0.37 (i.e. the min value is reduced and the max value is increased, while I assume that these are reference values and should remain constant). So, I think something in dynamic mesh does not work properly, otherwise, we don't need to apply point#3 as the nodes must be updated as soon as a cell is stretched up to the max. value that I've defined. Is that right?
(I've attached the picture)
Attached Images
File Type: png 9.png (125.2 KB, 29 views)
Hossein1 is offline   Reply With Quote

Old   January 12, 2017, 05:42
Default
  #4
Senior Member
 
Kevin
Join Date: Dec 2016
Posts: 138
Rep Power: 9
KevinZ09 is on a distinguished road
Quote:
Originally Posted by Hossein1 View Post
After the dynamic mesh fails and simulation stops running, min and max length scales are 8e-5 and 0.37 (i.e. the min value is reduced and the max value is increased, while I assume that these are reference values and should remain constant). So, I think something in dynamic mesh does not work properly, otherwise, we don't need to apply point#3 as the nodes must be updated as soon as a cell is stretched up to the max. value that I've defined. Is that right?
(I've attached the picture)
This is not entirely correct. What remeshing actually does it will mark the cells/faces that don't satisfy your criteria, e.g., when the length of one of the cells exceeds the maximum length value. If that's the case it will mark this cell for meshing, and it will TRY to remesh the cell. If it's successfull, it will replace the cell. If not, it will keep the old mesh. This automatically implies that, if remeshing is unsuccesfull, the maximum length of your mesh could be larger than your desired maximum length. That's why it's important you specify realistic values.

Also, I see you're using Diffusion-based smoothing. It's good, and better than Spring-based smoothing in many cases, especially for rotational motions, though I tend to use Spring-based smoothing more when you're using a triangle-mesh and only have translational motion (it's cheaper to resolve). But either one should work for your case. I'd strongly suggest though to play a bit with the parameters you can use there. You said in one of your other posts that the cells near the boundary got too stretched, so obviously you're smoothing isn't correct (remeshing can only do so much). As a start, set the Diffusion Parameter to 0, so you get more of a uniform mesh.

In short, have reasonable remeshing parameters, keep them fixed for a bit, and change your Diffusion Parameter (don't exceed 2) or use the Spring-based smoothing (keep the parameter between 0 and 1). Try it and let me know what the outcome is.
Hossein1 and SSG_NJ like this.
KevinZ09 is offline   Reply With Quote

Old   January 13, 2017, 13:03
Default
  #5
Member
 
Join Date: Jun 2015
Posts: 46
Rep Power: 11
Hossein1 is on a distinguished road
I played with different methods of meshing and I think the problem is not the parameters that I'm using in diffusion method or for remeshing. The major problem is that Fluent does not move any of the nodes located on 'axis'. If you watch this short clip, you'll see that only two nodes on the particle move and all other nodes remain fixed and that's the main dilemma (while the other nodes in the middle of the domain are changed according to the particle movement).
I'm not sure whether Fluent always doesn't move any node on the boundaries. In that case I could probably create a horizontal line very close to my axis and put the nodes on it (instead of on axis). Although, I think that might have a bad effect on the droplet approaching the particle from the opposite direction.
Please let me know if you have any idea for updating nodes in an axisymmetric problem.
Hossein1 is offline   Reply With Quote

Old   January 13, 2017, 17:41
Default
  #6
Senior Member
 
Kevin
Join Date: Dec 2016
Posts: 138
Rep Power: 9
KevinZ09 is on a distinguished road
Quote:
Originally Posted by Hossein1 View Post
I'm not sure whether Fluent always doesn't move any node on the boundaries.
When you use smoothing, what I believe Fluent does is move the boundary nodes according to the specifications (UDF or moving boundary), and then move the interior nodes to smoothen the mesh. This could perhaps imply that nodes not on a moving boundary don't move with smoothing, but only the interior ones. Have you tried turning off smoothing and just using remeshing? Because it does look a bit weird the boundary nodes don't move. So try that perhaps.

Otherwise don't make it axisymmetric. I think that's a better option than adding the "artificial" layer you mentioned. Though the problem should be solvable with a 2D axisymmetric mesh.
Hossein1 likes this.
KevinZ09 is offline   Reply With Quote

Old   January 13, 2017, 19:07
Default
  #7
Member
 
Join Date: Jun 2015
Posts: 46
Rep Power: 11
Hossein1 is on a distinguished road
After trying various scenarios that I thought might work, here is how the issue was finally resolved:
For Dynamic Mesh Zones, I defined particle as a rigid wall and gave velocity to it with UDF, and then I defined the symmetry line as 'deforming' and with the appropriate min. and max. length scale. For this to work, both 'smoothing' and 'remeshing' must be selected. I set 'diffusion parameter' on 1 and 'local cells' was only checked in Remeshing. Maximum cell skewness was set on 0.5. With this configuration, the nodes on 'axis' are added/removed from the domain as particle moves which maintains the mesh quality.
KevinZ09 and SSG_NJ like this.

Last edited by Hossein1; January 14, 2017 at 19:49.
Hossein1 is offline   Reply With Quote

Old   January 18, 2017, 05:56
Default
  #8
New Member
 
classified
Join Date: Oct 2016
Posts: 10
Rep Power: 10
classified is on a distinguished road
Hi ..
I am working on a problem which involves a half filled tank and which is under rolling motion. I had set a VOF model for 2 phases ( Water and air).
For applying rolling motion I wrote a udf as follows:
************************************************** ***************
#include "udf.h"
#include "dynamesh_tools.h"
DEFINE_ZONE_MOTION (oscillation, omega, axis, origin, velocity, time, dtime)
{
*omega=(0.3323*cos(3.81*time)); //here 3.81 is frequency of rotation
return;
}
************************************************** **************
After that this i interpreted this udf in ansys fluent
Then I choosed for cell zone condition on fluent window and surface body under zone selection box. then to this "surface body" zone i ticked on mesh motion and hooked the above udf.
but the results are not satisfactory...
PLEASE TELL ME WHETHER MY APPROACH IS RIGHT?
OR IF WRONG THEN HOW CAN I GIVE ROLLING MOTION TO TANK..
I AM A NEW USER SO HAVING A BIT OF KNOWLEDGE.


Thanks in advance
classified is offline   Reply With Quote

Reply

Tags
axisymmetric mesh, collision, mesh 2d


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Other] problem in axisymmetric Mesh. seju OpenFOAM Meshing & Mesh Conversion 2 November 25, 2014 11:23
3D Hybrid Mesh Errors DarrenC ANSYS Meshing & Geometry 11 August 5, 2013 06:42
[ICEM] Problem making structural mesh on a surface froztbear ANSYS Meshing & Geometry 1 November 10, 2011 08:52
[snappyHexMesh] external flow with snappyHexMesh chelvistero OpenFOAM Meshing & Mesh Conversion 11 January 15, 2010 19:43
How to control Minximum mesh space? hung FLUENT 7 April 18, 2005 09:38


All times are GMT -4. The time now is 23:59.