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

Problem with dynamic meshing in 2D

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By A.Jalal

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 13, 2015, 16:02
Default Problem with dynamic meshing in 2D
  #1
Member
 
Bhargav Bharathan
Join Date: Jun 2015
Location: Montreal, Canada
Posts: 71
Rep Power: 10
bhargavbharathan is on a distinguished road
Hi,

I'm trying to simulate a boger slump test using Fluent. The boger is essentially a cylinder with open ends. It is placed on the floor and filled with a paste. It is then lifted slowly and the paste settles on the floor. I'm simulating this in 2D.

To explain the set up:
A - air (fluid)
B - paste (fluid)
C - PVC boger (solid)

1. I have the pressure inlet and outlet BC as shown.
2. I wrote a UDF for C to move in -X direction and it works.
3. Transient case.
4. Gravity on in +X direction.
5. (A, B): face sizing mesh + mapped face meshing (triangular)
6. (C): face sizing mesh + mapped face meshing (quad)
7. Laminar + Multiphase VOF models

I'm having troubles with the remeshing, smoothing and layering.

The problems I'm facing are:
8. There is a stretching of the mesh on one side and compression on the other side. There are no new layers of mesh being generated. The mesh stretches and at a point there is divergence due to high skewness.
9. The paste B is supposed to flow out through the gap after C moves. But this isn't happening either.

My one concern is when modelling and meshing (I used workbench modeller and ANSYS meshing), I created 3 different sketches, created surfaces from them.
I tried by selecting A, B, C and forming 1 single part. I tried without making the single part (current case) and selecting only A and B for 1 part, but I was facing bad meshes all around.
What is the best way to model this?

I have attached images of my setup.
10. The layering settings is default.

Any help is appreciated.

Thanks,

Bhargav
Attached Images
File Type: jpg Outline.jpg (42.0 KB, 28 views)
File Type: jpg mesh.JPG (149.9 KB, 35 views)
File Type: jpg dynamicmesh.JPG (38.5 KB, 21 views)
File Type: jpg smoothing.JPG (37.9 KB, 23 views)
File Type: jpg remeshing.JPG (35.3 KB, 21 views)
bhargavbharathan is offline   Reply With Quote

Old   November 14, 2015, 19:18
Default
  #2
New Member
 
Ahmed Jalal
Join Date: Mar 2015
Posts: 22
Rep Power: 11
A.Jalal is on a distinguished road
I did somehow a similar problem.
For me it was enough to hook the SDOF UDF to the moving part iin your case "C" and that would be the only zone you need to create a dynamic Mesh for.
Also, I believe smoothing you can change it to Diffusion and set the diffusion factor to 0. Smoothing and remeshing should be sufficient ie no need for layering. Also, you need to check the Six DOF in your dynamic mesh.

Try it with these modifications and see if there is any difference.

Goodluck!
bhargavbharathan likes this.
A.Jalal is offline   Reply With Quote

Old   November 15, 2015, 10:39
Default
  #3
Member
 
Bhargav Bharathan
Join Date: Jun 2015
Location: Montreal, Canada
Posts: 71
Rep Power: 10
bhargavbharathan is on a distinguished road
Hi,

Thanks for the ideas, they are things I have not tried till now. Will give it a go.
Just to confirm, the SDOF UDF looks a little bit like this right?

#include "udf.h"

DEFINE_SDOF_PROPERTIES(test_box, prop, dt, time, dtime)
{
prop[SDOF_MASS] = 666.66;
prop[SDOF_IXX] = 129.6296;
prop[SDOF_IYY] = 111.1111;
prop[SDOF_IZZ] = 129.6296;

}

This is from a tutorial. If all I specify is the moment of inertia and mass and gravity. Where do I include the motion in -X direction? Or can I put it in this itself?


Thanks,

Bhargav
bhargavbharathan is offline   Reply With Quote

Old   November 18, 2015, 11:58
Default
  #4
Member
 
Bhargav Bharathan
Join Date: Jun 2015
Location: Montreal, Canada
Posts: 71
Rep Power: 10
bhargavbharathan is on a distinguished road
Hi,

Thanks for your help. I solved it, my UDF was correct. I had made an error in the modelling.

Works great now.

Bhargav
bhargavbharathan is offline   Reply With Quote

Reply

Tags
dynamic mesh, fluent, layering, remeshing, smoothing


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
Problem with querying the meshing database in CFX-Pre ashtonJ CFX 18 April 18, 2023 23:49
[ICEM] Meshing Problem ? Leifheit ANSYS Meshing & Geometry 3 December 4, 2014 18:09
UDF for dynamic meshing? prasaddeole FLUENT 2 October 6, 2014 11:55
Gambit - meshing over airfoil wrapping (?) problem JFDC FLUENT 1 July 11, 2011 05:59
Dynamic meshing Manoj Kumar FLUENT 3 June 27, 2010 19:26


All times are GMT -4. The time now is 19:43.