|
[Sponsors] |
October 14, 2012, 13:11 |
mesh compressing
|
#1 |
Member
Join Date: Nov 2010
Posts: 30
Rep Power: 15 |
Hello everyone!
I'm trying to simulate the compression of domain using ANSYS CFX. Mesh deforms with time/ But very soon the elements penetrate in each other and solution crashes. I've found an example of such kind of simulation: http://simutechny.blogspot.com/2010/...g-wall-in.html And the author of simulation uses there InterpolationLocation user-function. And this function seems to be the thing that makes the solution work correctly. But i can't exactly understand, what it does. Has anyone the experience in such kinds of simulations? Any help would be a great support for me. Thanks in advance |
|
October 14, 2012, 19:08 |
|
#2 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,850
Rep Power: 144 |
The CFX moving mesh uses laplacian smoothing to convert a boundary motion to motion of the entire mesh. When the boundaries compress the mesh this can lead to mesh elements turning inside out.
There have been zillions of posts on this on the forum over the years. Have a search for them. But the issue is very problem dependant - there are many different approaches to help and which is best depends on what you are modelling. Can you post an image and a description of what you are modelling? |
|
October 15, 2012, 02:15 |
|
#3 |
Member
Join Date: Nov 2010
Posts: 30
Rep Power: 15 |
in fact, i just want to compress the cylindrical tube alond radius with time. The speed of compression depends on flow properties and is not known beforehand. It should decrease in volume almost 5 times.
i've read posts. and i haven't found the proper answer for my situation. thanks a lot for your help |
|
October 15, 2012, 06:19 |
|
#4 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,850
Rep Power: 144 |
This might work with the existing mesh smoothing but it is always risky compressing the mesh down. If you cannot get it to work then prescribe the mesh motion with a fortran subroutine and then you should be able to define the mesh to scale with the motion and it will not fold. But I would only do the fortran approach when you are certain the built in smoothing will not work for you.
|
|
October 15, 2012, 08:30 |
|
#5 |
Member
Join Date: Nov 2010
Posts: 30
Rep Power: 15 |
thanks a lot for your answer.
But, as i've understood, fortran routines are available only for predefined mesh compression. Mine is not known beforehand. Is it possible to describe this type of motion with fortran subroutines? |
|
October 15, 2012, 18:25 |
|
#6 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,850
Rep Power: 144 |
No, fortran routines can be made to define any mesh motion. The example is a simple one where it just reads in a pre-defined mesh and uses that. But you can adapt that so that it radially scales the mesh under the control of some parameter.
|
|
October 16, 2012, 02:52 |
|
#7 |
Member
Join Date: Nov 2010
Posts: 30
Rep Power: 15 |
Thanks a lot for your answer, Glenn.
Is there anywhere an example of using fortran routines not for pre-defined mesh motion. And some other examples of using fortran routines except those ones from tutorials? |
|
October 16, 2012, 07:31 |
|
#8 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,850
Rep Power: 144 |
CFX support probably has some examples. But the concept is simple - rather than reading in a new mesh and writing it to the solver, you read the existing mesh, transform it and write it back to the solver. However getting the function calls to get the current mesh might take some digging (I do not know it, I do not know CFX fortran very well as it is rarely required).
|
|
October 16, 2012, 08:05 |
|
#9 |
Member
Join Date: Nov 2010
Posts: 30
Rep Power: 15 |
Thank you very much for all your help, Glenn!
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[snappyHexMesh] Add Mesh Layers doesnt work on the whole surface | Kryo | OpenFOAM Meshing & Mesh Conversion | 13 | February 17, 2022 08:34 |
[ICEM] surface mesh merging problem | everest | ANSYS Meshing & Geometry | 44 | April 14, 2016 07:41 |
Converting Starccm+ mesh | Ladnam | OpenFOAM | 0 | September 14, 2011 07:30 |
[snappyHexMesh] snappyHexMesh won't work - zeros everywhere! | sc298 | OpenFOAM Meshing & Mesh Conversion | 2 | March 27, 2011 22:11 |
2d irregular grid | Remy | Main CFD Forum | 1 | December 22, 2008 05:49 |