|
[Sponsors] |
August 27, 2018, 08:43 |
Use UDF to move different zones as a block
|
#1 |
Member
South Yorkshire
Join Date: May 2018
Posts: 33
Rep Power: 8 |
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. |
|
Tags |
dynamic mesh, udf |
|
|
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 |