Dynamic meshing of a deforming body
Hello,
I have a mathematical formula that gives the coordinates of a deforming 2D body, and I would like to use them in order to create the body and the dynamic meshing around it , how should I approach it ? does it require a UDF ? Thanks |
You will certainly need UDF. The UDF setup and macro usage will depend on how the boundary is moving and deforming. Re-meshing could be handled by setting up dynamic mesh zone.
Without any technical details about the problem, it is very difficult to help you. Perhaps you can go through some dynamic mesh tutorials such as check valve simulation using Dynamic Meshes, Simulating a Gear Pump Using Dynamic Mesh with 2.5D Re-meshing, Using a UDF to Control the Dynamic Mesh of a Flexible Oscillating Membrane etc. |
Thanks for the answer, the problem is as follow , I have two curves that makes up a body upper and lower surface, so the geometry is defined by two equations have parameters changing by time so the geometry will deform.
The issue is how to do the meshing around the geometry where all I have are the equations and therefore the coordinates in each time time step. All the tutorials mentioned start from a given defined geometry imported into the mesher then it will be be rotated or deformed. Is it more clear ? |
Quote:
|
is it possible to get this tutorial with the files . i wasn't able to find the files and UDF ?
|
I already got the files and went through the tutorial.
in the C file you have the DEFINE_GEOM function , does it define the plane or the plane is already defined when you draw the geometry then you mesh it? because it seems this is the case, then what does the DEFINE_GEOM do ? |
In this tutorial DEFINE_GEOM defines the plane which is represented via an equation. In the tutorial the UDF is applied to the top wall. The macro causes the moving mesh to slide on the top wall and the near by nodes to project on the wall in order to keep the shape of the wall intact.
You can make an animation of the moving mesh and you will notice this. I hope this helps. |
Quote:
|
All times are GMT -4. The time now is 14:47. |