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

Dynamic mesh & Negative volume in 3D

Register Blogs Community New Posts Updated Threads Search

Like Tree27Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 6, 2009, 16:15
Smile Dynamic mesh & Negative volume in 3D
  #1
New Member
 
Mahziron
Join Date: Sep 2009
Posts: 5
Rep Power: 17
mahzironrazak is on a distinguished road
Hi All

I am trying to simulate 3D flapping wing using fluent and i keep getting negative volume when i run the mesh motion. I used smoothing and remeshing. I have reduce the time step and still it didnt work. I also changed the remeshing parameters but no go. I read that for dynamic mesh "the translation in one time step should not be more than half the cell size adjacent to the moving boundary". what does that means? How can i get the cell size adjacent to the moving boundary? By the way how do i determine the correct value for dynamic mesh parameters :


1) Minimum length scale
2) Maximum length scale
3) Adjacent zone cell height

I used the data from mesh scale info (button)

Will increasing the density of the grid reduces the possibility of getting negative volume.

cheers
magoo90 and muskan like this.
mahzironrazak is offline   Reply With Quote

Old   October 6, 2009, 23:46
Default
  #2
Senior Member
 
herntan's Avatar
 
YH Tan
Join Date: Mar 2009
Location: Malaysia
Posts: 119
Rep Power: 17
herntan is on a distinguished road
I think the Fluent guide also suggest you using the data from mesh scale info.

The Adjacent zone cell height should be the value of ur meshing size.
I not familiar with remeshing. But for layering, it means the meshing layer size.
For example i mesh the volume with 0.5mm mesh size, i will put either 0.5mm or smaller for Adjacent zone cell height.
Rakeshvb, Durga Sravan and magoo90 like this.
__________________
Herntan,

Add Reputation if I am right
herntan is offline   Reply With Quote

Old   October 7, 2009, 05:35
Default
  #3
New Member
 
Mahziron
Join Date: Sep 2009
Posts: 5
Rep Power: 17
mahzironrazak is on a distinguished road
Hi Herntan

Thanks for the info. I should try it.
mahzironrazak is offline   Reply With Quote

Old   March 4, 2010, 04:18
Default
  #4
Member
 
Join Date: Sep 2009
Posts: 69
Rep Power: 17
DarrenC is on a distinguished road
Hi Mazhironrazak,

Have you managed to get this to work yet? I am doing something similar as you but it always displayes negative cells after 7 iterations

Cheers,
Darren
DarrenC is offline   Reply With Quote

Old   March 4, 2010, 14:33
Default
  #5
Member
 
Join Date: Jun 2009
Posts: 31
Rep Power: 17
mrestrepo30 is on a distinguished road
First of all what type of mesh do you have? structured or unstructured? depending on that you have to set up the smoothing and remeshing parameters (remeshing doesn't work for structured 3D).

How are you defining you dynamic mesh zones? because if you are displacing the wing, you need to set the adjacent zones to deforming so they can move along.

Basically what happens, is that you cannot move your boundary more than half the size of the cell next to the moving boundary. To correct this you can decrease the time step size so the displacements are smaller and you don' get negative volumes. To get the cell size next to the boundary, one thing you could do is load your mesh to a software package such as Tecplot, and there measure your cell size and then compare it to your displacement. However I think you can play around with the time step size first.

The values for the dynamic mesh parameters are obtained from the mesh scale info for each zone.

Finally, increasing the density of the grid will indeed increase the posibility of getting negative volumes if you don't change your time step size.
rajeuvg, aerosjc, vasava and 6 others like this.
mrestrepo30 is offline   Reply With Quote

Old   March 5, 2010, 13:02
Default
  #6
meb
Member
 
Marco Evangelos Biancolini
Join Date: May 2009
Location: Rome - Italy
Posts: 80
Rep Power: 17
meb is on a distinguished road
Take a look here: http://www.cfd-online.com/Forums/ope...nts-shape.html

I'm trying to solve the same problem using RBF http://www.rbf-morph.com/.

I can try to set-up the problem for your geometry...
meb is offline   Reply With Quote

Old   March 7, 2010, 20:35
Default
  #7
Member
 
Join Date: Sep 2009
Posts: 69
Rep Power: 17
DarrenC is on a distinguished road
Hi there mrestrepo30 & meb

Thanks for your replies. My mesh is a Hybrid structured/unstructured mesh. Its a 3D extruded NACA0012 airfoil with structured (hex) elements for the boundary layer and unstructured (tri/tetra) elements on the rest of the farfield. Both mesh are joined together on an interface interior wall using pyramid elements.

As far as dynamic meshing is concerned, I use smoothing and remeshing. I set the structured mesh volume and its surrounding surface meshes to move with the airfoil (pitch up motion at quarter chord) ) so no remeshing will be done on them.

As for the remeshing/smoothing parameters, I am actually using grid default values for remeshing except I change remesh interval from 5 to 1. For smoothing, I use 0 for my spring constant, 0.001 for convergence tol, and 50 for no. of iterations.

I basically got these values from the same kind of simulation I did in 2D.

From what I can see, from tagging the negative volume elements after the dynamic meshing failed, all of the negative volumes were on the pyramid elements on the trailing edge of the wing. Ive tried to half my time step but it is still happening. Perhaps ill try something even smaller.

The other thing I am not sure about is if remeshing actually works on pyramid elements. Anyone have any idea?

MEB, your project looks very interesting. You mentioned that there is an addon for Fluent. I currently use a Fluent educational license from my uni. Is it possible to obtain the addon just with the educational license itself, or do I have to obtain a separate one? I would really like to investigate the potential of your project.

Thanks again for the help

Regards,
Darren
DarrenC is offline   Reply With Quote

Old   March 8, 2010, 05:02
Default you can do it with RBF Morph
  #8
meb
Member
 
Marco Evangelos Biancolini
Join Date: May 2009
Location: Rome - Italy
Posts: 80
Rep Power: 17
meb is on a distinguished road
Darren,
you can definitely do the job with RBF Morph. Contact info@rbf-morph.com for details about an extended trial (usually it's 30 days but we can release a 90 days free license for Universities).
A similar problem has been faced in the past for a very complex geometry (take a look to attached image). Using RBF Morph smoothing only you can rotate the rear flap in the range +/- 6deg (that becomes +/-8deg if you enable also the remeshing).

Meanwhile if you can send the Fluent case and the desired flapping motion I will post a preview of RBF Morph results in this thread.

MEB
meb is offline   Reply With Quote

Old   March 8, 2010, 12:35
Default
  #9
Member
 
Join Date: Jun 2009
Posts: 31
Rep Power: 17
mrestrepo30 is on a distinguished road
Darren,

I think remeshing works on unstructured mesh, however I've found that the effect of smoothing is more significant than that of remeshing.

What you can do is play around with the spring constant (I usually use 0.5). Also check that the adjacent zones to the deforming zone are set as "deforming" so that the dynamic mesh parameters can be implemented on them, and change the zone parameters for each zone so that both the smoothing and remeshing work better.

Also type on the main screen:
/define/models/dynamic-mesh-controls/smoothing-parameter> soas
spring-based smoothing for all cell types [no] yes

and here you can activate the spring on all the elements, and this will make the smoothing work on your grid.

Hope that works!
mrestrepo30 is offline   Reply With Quote

Old   March 8, 2010, 19:39
Default
  #10
Member
 
Join Date: Sep 2009
Posts: 69
Rep Power: 17
DarrenC is on a distinguished road
Hi mrestrepo30,

As my airfoil movement is very large (14 degree pitch at the quarter chord) I dont think smoothing will heavily influence my mesh. Probably only at the initial pitch as Fluent UG states that smoothing is only good at small movements if used alone.

Another thing I have found out is that remeshing only work on tri/tetra elements and that is where my problem is, as I have pyramid elements on my unstructured mesh.

I will continue to try and play around with the remeshing/smoothing parameter and see what happens but I doubt it will change much as remeshing is not supported for pyramid elements.

As for MEB, thanks for your reply. Do you have an email account that I can send my case file to you? Thanks.

Regards,
Chin Kiat See
DarrenC is offline   Reply With Quote

Old   March 9, 2010, 05:41
Default smoothing and remeshing
  #11
meb
Member
 
Marco Evangelos Biancolini
Join Date: May 2009
Location: Rome - Italy
Posts: 80
Rep Power: 17
meb is on a distinguished road
Yes remeshing can be enabled only on tetra; however even for hybrid mesh (prisms layers+hexcore+tetra transition) some remeshing can be beneficial to fix some distorted cells that usually are in the transition layer.
The spring model that comes with fluent is very fast but has poor performances. I did a benchmark for a cube (the same used in this tutorial http://www.rbf-morph.com/index.php/tutorial/tutorial1, in the case of 1m translation) obtaining similar results using RBF and pseudosolid with a mesh quality loss that was about 50% lower with respect to fluent spring model.
meb is offline   Reply With Quote

Old   July 19, 2010, 07:33
Default
  #12
Senior Member
 
Herman
Join Date: Nov 2009
Posts: 122
Rep Power: 17
enry is on a distinguished road
Hi DarrenC.
How do u solve your problem? I'm studying a vertical axis wind turbine, and I have to move a little the blades of my turbine. I can move them without any problem with 2D mesh. When I try to move the blades with a 3D mesh, I have negative volume. How do you solve your problem? It seems that spring constant factor don't work well in 3D model. What do u think?
Thanks in advance.
enry is offline   Reply With Quote

Old   July 19, 2010, 20:55
Default
  #13
Member
 
Join Date: Sep 2009
Posts: 69
Rep Power: 17
DarrenC is on a distinguished road
Hi enry,

Try doing a plot of where the negative volumes are. There is a function in Fluent (i think its called iso-value) that will allow you to do this. For me it was between the volume mesh and the end surface mesh in the spanwise directions. I found out that I was not remeshing the surface of this mesh and only its volume, hence I was getting negative volumes after a certain amount of pitch. So you'll probably need to set both the end surfaces to dynamic meshing as well. Hope this helps

Cheers
Darren
DarrenC is offline   Reply With Quote

Old   July 20, 2010, 03:34
Default
  #14
Senior Member
 
Herman
Join Date: Nov 2009
Posts: 122
Rep Power: 17
enry is on a distinguished road
Hi DarrenC, thanks a lot for your reply.
I tried , as exercise, to build a box and I tried to move the "floor" of the box. The problem is that the mesh inside the box don't move, and so when the "floor" go up, fluent give me negative volume. How should I set the moving condition? I want to use only a spring based movement, without remeshing, because the movement is quite small.
I tried as follows:
-UDF for the "floor"
-DEFORMING for the interior fluid


Should I set some condition on the lateral face?
Thanks in advance.
enry is offline   Reply With Quote

Old   July 20, 2010, 04:14
Default
  #15
Senior Member
 
Herman
Join Date: Nov 2009
Posts: 122
Rep Power: 17
enry is on a distinguished road
I found an error; moving mesh don't work with "cooper" gambit scheme; i tried to mesh the end of box with tri-elements, and mesh the entire box as "cooper", but fluent can't move as spring based the domain.
If I mesh the lateral face as tri-map-split, up and down as tri-elements, and the volume as Tet-Hybrid-tgri, mesh motion work well.
How can I use mesh motion with cooper scheme?
Thanks a lot!!!
ps. I use gambit to build my mesh.
enry is offline   Reply With Quote

Old   July 20, 2010, 04:15
Default
  #16
Member
 
Join Date: Sep 2009
Posts: 69
Rep Power: 17
DarrenC is on a distinguished road
I think what you would need here is face deformation of the four vertical faces of your box. Then you would need volume deformation as you have done. Your roof shoud be rigid bodies and you floor should be rigid body with a prescribed motion which you will use udf to define. Hope this helps
DarrenC is offline   Reply With Quote

Old   July 20, 2010, 04:28
Default
  #17
Member
 
Join Date: Sep 2009
Posts: 69
Rep Power: 17
DarrenC is on a distinguished road
Im afraid i wont be able to help you as I dont use the cooper mesh at all. In fact I only use ICEM to build all my meshes.

Cheers,
Darren
DarrenC is offline   Reply With Quote

Old   July 20, 2010, 05:18
Default
  #18
Senior Member
 
Herman
Join Date: Nov 2009
Posts: 122
Rep Power: 17
enry is on a distinguished road
Ok, don't worry.
Thanks
enry is offline   Reply With Quote

Old   July 20, 2010, 10:31
Default
  #19
Senior Member
 
Herman
Join Date: Nov 2009
Posts: 122
Rep Power: 17
enry is on a distinguished road
I solved the problem. In case somebody is interested:
-UDF for the moving surface
-DEFORMING with re-meshing for fluid around moving surface
-DEFORMING with re-meshing for surface that is moving with fluid (i.e. re-meshing for surface that will be deformed because of moving surface)
-spring constant factor 0
-boundary node relaxation 1
-if there is a boundary layer, define a fluid-zone for the boundary layer, mesh it with map scheme, and in FLUENT define that fluid-zone as DEFORMING without re-meshing
-enable spring-on-all-shapes through the following command line: define models dynamic-mesh-controls smoothing-parameter spring-on-all-shapes yes

Bye.
enry is offline   Reply With Quote

Old   August 5, 2010, 10:58
Default update-dynamic-mesh failed. negative cell volume detected.
  #20
Member
 
ahmad
Join Date: Jul 2010
Posts: 57
Rep Power: 16
almostafa67 is on a distinguished road
hi dear all...
i have this problem as you;i changed time step from 0.0001 to 0.00001 but again this message(update-dynamic-mesh failed. negative cell volume detected.) showed up,could u help me out plz?
thank u in advance for any help provided
almostafa67 is offline   Reply With Quote

Reply


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 Problem. Tom Clark FLUENT 10 June 21, 2021 05:27
Dynamic Mesh on Pintle type injector. herntan FLUENT 16 September 4, 2020 09:27
[ICEM] Generating Mesh for STL Car in Windtunnel Simulation tommymoose ANSYS Meshing & Geometry 48 April 15, 2013 05:24
Negative Volume Mesh MANOJKUMAR FLUENT 8 April 7, 2009 10:50
FSI & Negative Volume Mesh Mojtaba CFX 1 October 13, 2008 08:13


All times are GMT -4. The time now is 03:24.