I want to simulate a 3-d domain whose size varies with time (expansion and contraction), Can any one suggest me UDF for moving mesh for this particular case?
Do you mean you have a 3D domain where one wall of the domain is moving inward-outward as shown in the attached file?
You can modify the existing UDF for dynamic motion by providing sinusoidal profile or any known profile. Make sure that you have assigned the wall as rigid body motion and selected suitable mesh height or ratio. You also need to ensure that your time step size is small enough (depends on your mesh size and assigned dynamic mesh parameters) so that the wall moves only small distance to avoid divergence.
My suggestion regarding your problem is to obtain an in-depth knowledge about the GENERAL THEORETICAL BACKGROUND OF MOVING MESH IN CFD, and how to implement it in your case under the platform of Fluent. To do so, you have to convert the THEORY to UDF. To construct the UDF under FLUENT, you have to have some kind of idea about C-programming, and then finally you have to hook it to the main Fluent solver. (You will find the hooking process in FLUENT USER GUIDE in the section of UDF; I believe that you know it!)
Anyway, I am attaching herewith the sample-references which will cover both as mentioned above. ( Of course, the attached documents will not cover all in detail !!) BESIDES, you have to find more references related to MOVING MESH TECHNIQUES IN CFD & check the USER- and THEORY- MANUAL of the version of FLUENT, which you are using now. I hope that it will help you at least on how to move forward with your research.
Do you mean you have a 3D domain where one wall of the domain is moving inward-outward as shown in the attached file?
You can modify the existing UDF for dynamic motion by providing sinusoidal profile or any known profile. Make sure that you have assigned the wall as rigid body motion and selected suitable mesh height or ratio. You also need to ensure that your time step size is small enough (depends on your mesh size and assigned dynamic mesh parameters) so that the wall moves only small distance to avoid divergence.
Hello Vikas Kannojiya Uday Raj ! I need your help... I am trying to basically simulate a moving piston (2d) using dynamic mesh and udf or profiles (Ansys Fluent). I can't make the wall that simulate the piston head move. Could you help me on this issue?