CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Fluent UDF and Scheme Programming (https://www.cfd-online.com/Forums/fluent-udf/)
-   -   In-cylinder / UDF (https://www.cfd-online.com/Forums/fluent-udf/173144-cylinder-udf.html)

flo90000 June 14, 2016 10:48

In-cylinder / UDF
 
Hello,

I used the In-Cylinder model, but I will need to use the 6DOF model for my dynamic mesh. And when I want to use it, the second model deactive the first. So I tried to replace the function given by In-Cylinder for a profile which gives position, but it doesn't work. So I want to know if it is possible to create a UDF with the same function as In-Cylinder. It seems the macro define_profile isn't good for the position.

thanks for your help

`e` June 14, 2016 17:45

The DEFINE_GRID_MOTION macro allows you to specify mesh motion on a node-by-node basis which should cover your problem. However, you'll need to code the motion of your cylinder into this macro (perhaps check if there's an existing solution online first). The DEFINE_PROFILE macro is for specifying boundary conditions; not mesh deformations.


All times are GMT -4. The time now is 07:29.