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

Dynamic Mesh Problem

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 4, 2012, 10:59
Default Cylinder Meshing
  #1
New Member
 
Peter
Join Date: Jan 2012
Posts: 29
Rep Power: 14
peatmac is on a distinguished road
Hello,

I am currently trying to simulate freely oscillating 2d cylinders as part of my University Thesis. At the moment I forcing the cylinders to oscillate, after which I plan to apply a UDF to make the oscillate freely with 1 DOF then 2 DOF.
At the moment I keep having problems with my dynamic mesh, I constantly get negative cell volumes. I can get the problem to work using a very simple tri-mesh. I was advised the I would be better off using a quad-mesh. After creating a simple mesh (see attached), I can make fluent collapse and re create new cells in the mesh.
Ideally I want all the re-meshing to be done as far away from the cylinder as possible, so I think creating a zone of stationary fluid/mesh near the cylinder, and allow the mesh to adapt further away. This should give me the most accurate flow results.
Attached are some pictures of me mesh and all of my dynamic mesh parameter. Can someone kindly give me some pointers on how to solve my problem?

Thanks

Peter
Attached Images
File Type: jpg Initial Mesh.jpg (56.7 KB, 106 views)
File Type: jpg Failed mesh.jpg (56.5 KB, 95 views)
File Type: jpg Parameters 1.jpg (57.7 KB, 99 views)
File Type: jpg Parameters 2.jpg (54.4 KB, 68 views)

Last edited by peatmac; March 4, 2012 at 11:39.
peatmac is offline   Reply With Quote

Old   March 4, 2012, 12:04
Default
  #2
New Member
 
Peter
Join Date: Jan 2012
Posts: 29
Rep Power: 14
peatmac is on a distinguished road
If anyone would like I can forward them a .cas file with the mesh, UDF and so on. Any help will be greatly appreciated.
peatmac is offline   Reply With Quote

Old   March 6, 2012, 12:10
Default
  #3
Member
 
ThanhToan
Join Date: Sep 2010
Posts: 49
Rep Power: 15
trantoan2008 is on a distinguished road
Send a message via Yahoo to trantoan2008 Send a message via Skype™ to trantoan2008
Quote:
Originally Posted by peatmac View Post
If anyone would like I can forward them a .cas file with the mesh, UDF and so on. Any help will be greatly appreciated.
Hi,

For quad element, you have to type additional commands like below:

define/models/dynamic-mesh-controls/smoothing-parameter/spring-on-all-shapes
yes

Then, all elements in computational domain will be remeshed.
I hope it is usefull for you.
trantoan2008 is offline   Reply With Quote

Old   March 7, 2012, 10:28
Default
  #4
New Member
 
Peter
Join Date: Jan 2012
Posts: 29
Rep Power: 14
peatmac is on a distinguished road
Many thanks for the reply trantoan2008.

This has allowed the cylinder to displace further in the Y direction; however I am still running into negative cell volumes. No new elements are being created on the bottom edge of the cylinder and all the elements at the top are being squashed until they have negative cell volume.

My Dynamic Mesh Parameters are -

Smoothing-
Spring constant factor = 0.5
Boundary node relaxation = 1
Convergence tolerance = 0.001
Number of iterations = 20

Remeshing -
Min length scale = 0.03705723
Max length scale = 0.1523991
Max cell skewness = 0.6
Size remesh interval = 10

(remeshing values taken from Mesh scale info)

Dynamic Mesh Zones -
I have applies a simple sinusoidal motion UDF to the cylinder, the adjacent fluid is fluid 1, with a cell height of 0.1m.
The upper and lower walls of the mesh are defined as stationary; the adjacent fluid is fluid 1, both with a cell height of 0.1m

I have also turned on the spring-on-all-shapes parameter.

Do you have any further advice on how I can get new cells forming at the bottom of the cylinder and make the cells at the top of the cylinder collapse?

Thanks for your help so far.

Peter
peatmac is offline   Reply With Quote

Old   March 7, 2012, 10:31
Default
  #5
Member
 
ThanhToan
Join Date: Sep 2010
Posts: 49
Rep Power: 15
trantoan2008 is on a distinguished road
Send a message via Yahoo to trantoan2008 Send a message via Skype™ to trantoan2008
Quote:
Originally Posted by peatmac View Post
Many thanks for the reply trantoan2008.

This has allowed the cylinder to displace further in the Y direction; however I am still running into negative cell volumes. No new elements are being created on the bottom edge of the cylinder and all the elements at the top are being squashed until they have negative cell volume.

My Dynamic Mesh Parameters are -

Smoothing-
Spring constant factor = 0.5
Boundary node relaxation = 1
Convergence tolerance = 0.001
Number of iterations = 20

Remeshing -
Min length scale = 0.03705723
Max length scale = 0.1523991
Max cell skewness = 0.6
Size remesh interval = 10

(remeshing values taken from Mesh scale info)

Dynamic Mesh Zones -
I have applies a simple sinusoidal motion UDF to the cylinder, the adjacent fluid is fluid 1, with a cell height of 0.1m.
The upper and lower walls of the mesh are defined as stationary; the adjacent fluid is fluid 1, both with a cell height of 0.1m

I have also turned on the spring-on-all-shapes parameter.

Do you have any further advice on how I can get new cells forming at the bottom of the cylinder and make the cells at the top of the cylinder collapse?

Thanks for your help so far.

Peter
Hi,

Send fluent and UDFs file to me so that I can check it.

Best
trantoan2008 is offline   Reply With Quote

Old   March 7, 2012, 11:21
Default
  #6
New Member
 
Peter
Join Date: Jan 2012
Posts: 29
Rep Power: 14
peatmac is on a distinguished road
Files are attached.
Attached Files
File Type: txt c code.txt (478 Bytes, 81 views)
File Type: zip mesh7.3.12.zip (49.9 KB, 35 views)
peatmac is offline   Reply With Quote

Old   March 13, 2012, 02:35
Default
  #7
New Member
 
Join Date: May 2011
Posts: 22
Rep Power: 14
Spring.s is on a distinguished road
Hi
I proffer unstractural mesh for your case because i had same problem former.
Spring.s is offline   Reply With Quote

Old   March 13, 2012, 07:57
Default
  #8
New Member
 
Join Date: Dec 2011
Location: Spain
Posts: 25
Rep Power: 14
grayback87 is on a distinguished road
Hi i had the same problem, Then i had to make tri-mesh, and then, spring constant factor=0.0

then it works... but, i have other problems.

When It works, even without moving my CL it isnīt simetrical!! (I think the cause is i'm using triangular meshing near the cylinder).
I encourage you, once you get the correct mesh try to get some Cd with different Reynolds number and compare with a text book.
grayback87 is offline   Reply With Quote

Old   March 13, 2012, 08:00
Default
  #9
New Member
 
Join Date: Dec 2011
Location: Spain
Posts: 25
Rep Power: 14
grayback87 is on a distinguished road
Quote:
Originally Posted by Spring.s View Post
Hi
I proffer unstractural mesh for your case because i had same problem former.
Did you use Tri-mesh (pave)?
Did you check your CL ? It was symmetrical?

I have that problem, and I made the mesh many times and I can`t get it .



I need help
grayback87 is offline   Reply With Quote

Old   March 14, 2012, 07:11
Default
  #10
New Member
 
Join Date: May 2011
Posts: 22
Rep Power: 14
Spring.s is on a distinguished road
Yes,
Course i have one Airfoil instead your cylinder and my modeling include the entire of geometry in Gambit no symmetrical. For validation, i compare CL with experimental data.
Spring.s is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Dynamic mesh update problem. David FLUENT 3 March 15, 2012 06:02
[snappyHexMesh] snappyHexMesh won't work - zeros everywhere! sc298 OpenFOAM Meshing & Mesh Conversion 2 March 27, 2011 22:11
Dynamic Mesh problem Paul_321 FLUENT 11 August 11, 2009 12:32
CFD-3D flow problem using Dynamic mesh method. Sar_mech FLUENT 1 November 27, 2008 22:17
Dynamic mesh problem Sampath FLUENT 1 October 13, 2004 07:44


All times are GMT -4. The time now is 08:38.