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

UDF for Dynamic Mesh

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By vasava

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 17, 2013, 10:25
Default UDF for Dynamic Mesh
  #1
Senior Member
 
Paritosh Vasava
Join Date: Oct 2012
Location: Lappeenranta, Finland
Posts: 732
Rep Power: 23
vasava will become famous soon enough
I am simulating fluid in a box stirred by a simple impeller. I followed following steps (which did not give right answer).

1. Create two geometries (box + impeller) with proper interface.
2. Declared mesh motion for impeller.
3. Ran simulation.

The problem here is only the impeller mesh moves as desired but the fluid wall (the wall in the fluid in contact with impeller) remains stationary. This also means that the fluid mesh does not modify while the impeller is rotating.

After going through fluent manual and tutorial I understood that may be I need a UDF for mesh motion.

The question:
Do I need to define DEFINE_CG_MOTION, DEFINE_GRID_MOTION and DEFINE_GEOM? or Defining DEFINE_GRID_MOTION is enough?

I will appreciate if any one has a UDF for rotational motion and can share. Also if you can comment on my simulation procedure.
vasava is offline   Reply With Quote

Old   January 23, 2013, 09:03
Default
  #2
Senior Member
 
Paritosh Vasava
Join Date: Oct 2012
Location: Lappeenranta, Finland
Posts: 732
Rep Power: 23
vasava will become famous soon enough
After going through tutorials for moving frame of reference I realized that I do not need a C program for this type of simulation.
Mike Romeo likes this.
vasava is offline   Reply With Quote

Old   September 25, 2013, 01:54
Default
  #3
New Member
 
sandip desai
Join Date: Jul 2012
Location: Pune, India
Posts: 7
Rep Power: 14
sandipd is on a distinguished road
Quote:
Originally Posted by vasava View Post
I am simulating fluid in a box stirred by a simple impeller. I followed following steps (which did not give right answer).

1. Create two geometries (box + impeller) with proper interface.
2. Declared mesh motion for impeller.
3. Ran simulation.

The problem here is only the impeller mesh moves as desired but the fluid wall (the wall in the fluid in contact with impeller) remains stationary. This also means that the fluid mesh does not modify while the impeller is rotating.

After going through fluent manual and tutorial I understood that may be I need a UDF for mesh motion.

The question:
Do I need to define DEFINE_CG_MOTION, DEFINE_GRID_MOTION and DEFINE_GEOM? or Defining DEFINE_GRID_MOTION is enough?

I will appreciate if any one has a UDF for rotational motion and can share. Also if you can comment on my simulation procedure.
Dear Vasava,

I am also facing the same problem, during the impeller rotation surrounded mesh elements are braking because of which negative volume generates. Will please tell me what exact approach you have followed, and do i need to implement the udf for it?
Thanks.
__________________
- Sandip Desai
sandipd is offline   Reply With Quote

Reply

Tags
dynamic mesh, fluent, mesh displacement, rotating domain, udf and programming


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 UDF Qureshi FLUENT 7 March 23, 2017 08:37
[Gmsh] 2D Mesh Generation Tutorial for GMSH aeroslacker OpenFOAM Meshing & Mesh Conversion 12 January 19, 2012 04:52
[snappyHexMesh] snappyHexMesh won't work - zeros everywhere! sc298 OpenFOAM Meshing & Mesh Conversion 2 March 27, 2011 22:11
with UDF to change mesh by external mesh generator zou_mo FLUENT 0 June 30, 2009 08:15
Convergence moving mesh lr103476 OpenFOAM Running, Solving & CFD 30 November 19, 2007 15:09


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