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

Use UDF to move different zones as a block

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 27, 2018, 08:43
Default Use UDF to move different zones as a block
  #1
Member
 
South Yorkshire
Join Date: May 2018
Posts: 33
Rep Power: 8
asking is on a distinguished road
Hi,

I am trying to model a 2D cylinder vibration. I wrote a UDF to move the cylinder depending on the forces on the cylinder.

I separated the fluid mesh zone into two areas called "near" and "out". The "near" area its located around the cylinder and it's for the boundary layer. The "out" area is for the rest of the fluid. My intention is to move the cylinder with the "near" zones together as a block. The "out" area will deform and absorb the mesh motion.

One option is to apply the UDF on the cylinder and select the "deform adjacent boundary layer with zone" option, which forces me to select the spring smoothing method. I thought that if I wanted to use the diffusion method (where the "deform adjacent BL" option is not available), I could write a dumy UDF for the "near" zone and select the relative motion - cylinder option. That way both, the "near" zone and the cylinder, would move as a block. Unfortunately, I get negative mesh volume within the "near" zone after a few iterations.

Anyone have any suggestion/idea to make both zones move as a block?
Thank you.
asking is offline   Reply With Quote

Reply

Tags
dynamic mesh, udf


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
Replicating Scalable Wall Function with a UDF yousefaz FLUENT 0 August 4, 2017 03:30
UDF Compilation Error - Loading Library - COMMON Problem! Help! robtheslob Fluent UDF and Scheme Programming 8 July 24, 2015 01:53
UDF for move a wall with a hole Entwistle Fluent UDF and Scheme Programming 9 December 15, 2014 10:11
[blockMesh] Mixer mesh - negative volume problem jadtwo OpenFOAM Meshing & Mesh Conversion 2 November 6, 2014 17:37
Source Term UDF VS Porous Media Model pchoopanya Fluent UDF and Scheme Programming 1 August 28, 2013 07:12


All times are GMT -4. The time now is 11:19.