-
-
August 7, 2019 at 9:52 am
Shuvadeep
SubscriberHello vganore,
I am trying to compile the udf of motion. But error pops up each time. It shows
Error: The UDF library you are trying to load (libudf) is not compiled for parallel use on the current platform (win64).nnThe system cannot find the file specified.
nnD:Flapping Wing Simulationsmoving mesh Piezofan simulationTest1MMPiezoFan_filesdp0FFFFluentlibudfwin643ddp_hostlibudf.dll
Error Object: #f
#include "udf.h"
DEFINE_CG_MOTION (rotational_motion, dt, cg_vel, cg omega, time, dtime)
{
Domain *d =Get Domain(1);
Thread *t_object = Lookup_Thread(d, 2);
real moment [ND_ND], cg[ND_ND], force [ND_ND];
Compute_Force_And_Moment(d, t_object, cg, force, moment, TRUE)
real moment_z= moment [3]; * To compute the moment at the beginning of the time step and feed into the equation of motion */
real i1 = exp(-0.823*time);
real i2 = cos (8.19*time);
real i3 = 48870 sin(8.19*time);
real i4 = 2.893 pow(10,-;
real omega = -i4 * moment_z * i1 * (i2-i3);
cg_vel[0]=0.0;
cg_vel [1]=0.0;
cg_ve1[2]=0.0;
cg omega [0]-0.0 ;
cg omega (1)-0.0;
cg omega [2]=real omega;
}
Fluent version is 18.2 and VS 2015.
Please help!
-
August 7, 2019 at 9:52 am
DrAmine
Ansys EmployeeAre you able to compile other UDFs?
-
August 7, 2019 at 11:13 am
Shuvadeep
Subscriberno
-
August 7, 2019 at 12:33 pm
DrAmine
Ansys EmployeeSo you have compiler problem. Can you go to VS command prompt x86_x64 and launch Fluent from that prompt and compile a dummy udf.
-
August 7, 2019 at 12:40 pm
Shuvadeep
SubscriberTried that also. Not working
-
August 8, 2019 at 4:49 pm
DrAmine
Ansys EmployeeCan you type cl to check?
Have you checked compiler threads under our installation subgroup? -
October 4, 2020 at 3:53 am
Joe001
Subscribergot the same issue.n
-
- You must be logged in to reply to this topic.

Earth Rescue – An Ansys Online Series
The climate crisis is here. But so is the human ingenuity to fight it. Earth Rescue reveals what visionary companies are doing today to engineer radical new ideas in the fight against climate change. Click here to watch the first episode.

Ansys Blog
Subscribe to the Ansys Blog to get great new content about the power of simulation delivered right to your email on a weekly basis. With content from Ansys experts, partners and customers you will learn about product development advances, thought leadership and trends and tips to better use Ansys tools. Sign up here.
- Suppress Fluent to open with GUI while performing in journal file
- Floating point exception in Fluent
- What are the differences between CFX and Fluent?
- Heat transfer coefficient
- Getting graph and tabular data from result in workbench mechanical
- The solver failed with a non-zero exit code of : 2
- Difference between K-epsilon and K-omega Turbulence Model
- Time Step Size and Courant Number
- Mesh Interfaces in ANSYS FLUENT
- error in cfd post
-
2564
-
2080
-
1299
-
1106
-
459
© 2023 Copyright ANSYS, Inc. All rights reserved.