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

[ANSYS Meshing] Dynamic meshing of a deforming body

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By vasava

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 16, 2016, 06:38
Question Dynamic meshing of a deforming body
  #1
Member
 
Join Date: Aug 2016
Posts: 43
Rep Power: 10
aero_cfd is on a distinguished road
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
aero_cfd is offline   Reply With Quote

Old   October 17, 2016, 02:16
Default
  #2
Senior Member
 
Paritosh Vasava
Join Date: Oct 2012
Location: Lappeenranta, Finland
Posts: 732
Rep Power: 23
vasava will become famous soon enough
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.
vasava is offline   Reply With Quote

Old   October 17, 2016, 06:46
Default
  #3
Member
 
Join Date: Aug 2016
Posts: 43
Rep Power: 10
aero_cfd is on a distinguished road
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 ?
aero_cfd is offline   Reply With Quote

Old   October 18, 2016, 03:53
Default
  #4
Senior Member
 
Paritosh Vasava
Join Date: Oct 2012
Location: Lappeenranta, Finland
Posts: 732
Rep Power: 23
vasava will become famous soon enough
Quote:
Originally Posted by aero_cfd View Post
All the tutorials mentioned start from a given defined geometry imported into the mesher then it will be be rotated or deformed.
The UDF for Flexible Oscillating Membrane tutorial has a part where an interface is deforming according to some equation and the mesh around the deforming interface is re-meshed. You can try to introduce a time dependent equation instead and see how it goes. Macros such as PREVIOUS_TIME, CURRENT_TIME, CURRENT_TIMESTEP etc. could be used to get time information.
aero_cfd likes this.
vasava is offline   Reply With Quote

Old   October 28, 2016, 06:36
Default
  #5
Member
 
Join Date: Aug 2016
Posts: 43
Rep Power: 10
aero_cfd is on a distinguished road
is it possible to get this tutorial with the files . i wasn't able to find the files and UDF ?
aero_cfd is offline   Reply With Quote

Old   October 29, 2016, 07:13
Default
  #6
Member
 
Join Date: Aug 2016
Posts: 43
Rep Power: 10
aero_cfd is on a distinguished road
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 ?
aero_cfd is offline   Reply With Quote

Old   October 31, 2016, 05:46
Default
  #7
Senior Member
 
Paritosh Vasava
Join Date: Oct 2012
Location: Lappeenranta, Finland
Posts: 732
Rep Power: 23
vasava will become famous soon enough
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.
vasava is offline   Reply With Quote

Old   April 16, 2019, 04:11
Default
  #8
New Member
 
vicky
Join Date: Sep 2014
Posts: 3
Rep Power: 12
vickyrs is on a distinguished road
Quote:
Originally Posted by aero_cfd View Post
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 ?
Hi, can you share this tutorial files if possible.
vickyrs is offline   Reply With Quote

Reply

Tags
define grid motion, deformation, dynamic meshing


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-defining deforming motion in cylinder matix_tx FLUENT 3 December 6, 2022 11:20
[ANSYS Meshing] Dynamic Meshing of a Valve in ANSYS FLuent 15.0 A.Jalal ANSYS Meshing & Geometry 0 March 23, 2015 19:37
Dynamic meshing - UDF Jiang Fluent UDF and Scheme Programming 1 June 20, 2013 11:18
Meshing 3D Body mahadevan.swamy Main CFD Forum 1 June 23, 2009 11:13
Dynamic Meshing Problems Shuto FLUENT 3 January 19, 2005 21:09


All times are GMT -4. The time now is 15:44.