Can anyone help me step by step to compiling a UDF for a single dof system?
I have a wave energy converter that I am modeling that consists of a flap that is hinged to the sea floor, only allowing rotation (see general idea below)
I'm trying to write and compile a UDF that only allows rotation about the hinge, but I'm having trouble compiling it. I know ANSYS 20 has the ability to compile UDF's using fluent, but I only have access to Ansys 18.1. I have downloaded Microsoft Visual, and have created a text file "flap.txt" that I converted to "flap.c", but ANSYS is still not reading it properly.
There are no spaces in my file directory, and the "flap.c" file is saved where my output values are stored.
Can anyone provide a step-by-step process for writing a UDF, compiling it using MS Visual, and then importing it to Fluent? I've never done this before so I'd appreciate as much detail as possible!