-
-
October 24, 2019 at 11:02 am
rishuhcdefs
SubscriberHi,
I am performing analysis on a Toroidal based IC engine and is facing issues in writing the UDF for a part. This part moves up and down in a specific axis but its velocity is constantly changing with respect to the degrees of the main drive rotor. For instance I want to rotate this engine at 1000 RPM's and move forward from there.
Any help would be highly appreciated.
-
October 24, 2019 at 12:42 pm
Amine Ben Hadj Ali
Ansys EmployeeWhich macro are u using for That? A CG motion? -
October 25, 2019 at 6:27 am
rishuhcdefs
Subscriberyes, I am using CG motion for that. I am planing to input a dynamic mesh with CG coordinates and input the UDF once written.
Correct me if I am wrong.
Thanks
-
October 25, 2019 at 11:07 am
Rob
Forum ModeratorHave a look in the UDF manual: there are a few examples. You may also want to check the tutorials that are with the documentation.Â
-
October 25, 2019 at 11:35 am
-
October 25, 2019 at 1:50 pm
Rob
Forum ModeratorWe don't debug UDFs, so I'd suggest find a C teaching resource and reading that along with the UDF guide. It's a useful skill (which I barely have) so worth pursuing. When you compile the code use the error messages (you're bound to have some while you're learning) to locate the issues. Also look in the tutorials, they also contain sample code.Â
-
October 27, 2019 at 8:32 am
rishuhcdefs
SubscriberThank you, I will look for the same. -
October 28, 2019 at 6:02 am
Amine Ben Hadj Ali
Ansys EmployeeAttend a couple of online c training and check the examples. -
October 28, 2019 at 6:54 am
rishuhcdefs
Subscriberthank you, I will look for same
-
- The topic ‘help in writing the UDF’ is closed to new replies.
-
4763
-
1565
-
1386
-
1242
-
1021
© 2026 Copyright ANSYS, Inc. All rights reserved.
.jpg?width=690&upscale=false)