CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > ANSYS > ANSYS Meshing & Geometry

[ANSYS Meshing] Problem UDF for sinusoidal wall motion - FLUENT

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Search this Thread Display Modes
Old   August 21, 2015, 15:46
Default Problem UDF for sinusoidal wall motion - FLUENT
New Member
Join Date: May 2015
Posts: 29
Rep Power: 10
avd28 is on a distinguished road
Hi all,

I'm trying to simulate a biological fluid flow which requires the use of pulsatile sinusoidal wall motion of the mesh. I have the UDF compiled and running. However there is a problem.

Each node is supposed to deform with the equation of the form Asin(wt) where t is the current time.

However, when the time step size is decreased from say 0.1 secs to 0.01 secs, the mesh amplitude unaccountably increases, for the same number of iterations. This of course results in formation of negative volumes in the mesh and the simulation crashes.

I have attached the udf file and will provide a dropbox link to the case file. In order to view the problem, simply simulate with a time step size of 0.01 as compared to 0.1 secs.
Attached Files
File Type: c periodic_msh_motion.c (1.0 KB, 48 views)
avd28 is offline   Reply With Quote


dynamic mesh, dynamic meshing, meshing, udf, udf and programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
sliding mesh problem in CFX Saima CFX 46 September 11, 2021 08:38
[Commercial meshers] Mesh conversion problem (fluent3DMeshToFoam) Aadhavan OpenFOAM Meshing & Mesh Conversion 2 March 8, 2018 02:47
solving a conduction problem in FLUENT using UDF Avin2407 Fluent UDF and Scheme Programming 1 March 13, 2015 03:02
Fluent UDF c source file problem (Linux) jayilosa Fluent UDF and Scheme Programming 1 November 21, 2011 09:25
Wall function problem in Fluent mefpz FLUENT 1 October 10, 2007 14:43

All times are GMT -4. The time now is 13:31.