Retain the default selection of Rigid Body in the Type group box.In the Dynamic Mesh Zones dialog box that opens up, select wall-butterfly from Zone Names drop-down list.In the Dynamic Mesh task page click Create/Edit.Specify the wall-butterfly zone as a rigid body.Click OK to close the Mesh Method Settings dialog box.Click Remeshing tab and specify the parameters as given in the following table: Parameter.
Retain the default settings for other parameters.Click Smoothing tab and enter 0.3 for the Spring Constant Factor.in the Mesh Methods group box, to open Mesh Method Settings dialog box. Note: The dialog box expands to show relevant inputs. In the Dynamic Mesh task page, enable Dynamic Mesh and Remeshing.Enable dynamic mesh motion and specify the associated parameters.The mesh is controlled using a combination of local remeshing with sizing functions and spring smoothing.Click Load to load the newly created UDF library so that all the macros are available in the graphical user interface.You can view the compilation history in the log file that is saved in your working folder. Click OK to close the Warning dialog box. Note: A Warning dialog box will appear, warning you to make sure that the UDF source files are in the same folder that contains the case and data files. Select the file butterfly-flex.c Enter libudf-flex in the Library Name text entry box.
button in the Source Files section to open the Select File dialog. User Defined → User Defined → Functions → Compiled. Click Display and close Mesh Display dialog box.‒ Select Color by ID from the Options list in the Mesh Colors dialog box. Ensure that the reported minimum volume is a positive number. Domain → Mesh → Check Note: Fluent will perform various checks on the mesh and will report the progress in the console. Physics → Solver → General→ Time → Transient Enable the transient solver by selecting Transient from the Time list.Note: As the mesh file is read, ANSYS Fluent will report the progress in the console. If the Environment tab does not appear in the Fluent Launcher dialog box by default, click the Show More Options button to view the additional settings.bat file which is required to compile the UDF will be displayed as soon as you enable Setup Compilation Environment for UDF. Click the Environment tab and ensure that the Setup Compilation Environment for UDF is enabled.Ensure that the Display Mesh After Reading and Workbench Color Scheme options are enabled.Fluent Launcher displays your Display Options preferences from the previous session. Use the Fluent Launcher to start the 2D version of ANSYS Fluent.Copy the files and butterfly-flex.c to the working folder.