TAGGED: ansys-fluent
-
-
January 31, 2021 at 11:50 am
swapnil13
SubscriberRespected sir,
I am try to do same simulation which is as given ,I am unable to interpret udf , it is given error as" Parse error in line 2'" . I am attaching photo of udf also . I am using fluent in series only but while compiling it gives error as '"The UDF library you are trying to load (libudf) is not compiled for parallel use on the current platform (win64),The system cannot find the file specified."
February 1, 2021 at 4:09 pmKarthik R
AdministratorHello,nUDFs with DEFINE_CF_MOTION macro can only be executed as Complied UDFs. You cannot interpret these.nIf you are indeed compiling this UDF, could you please share a screenshot of the error message?nThank you.nKarthiknFebruary 1, 2021 at 4:27 pmKonstantin
Ansys Employeeto add to Karthik's comment, you should not modify a static variable in a C code. Define velx as real inside the macro.nFebruary 2, 2021 at 5:32 amswapnil13
SubscriberRespected sir,n I am using fluent in series only but while compiling it gives error as 'The UDF library you are trying to load (libudf) is not compiled for parallel use on the current platform (win64),The system cannot find the file specified.nFor that I had installed visual basic studio 2017, started ANSYS fluent from its command line but it is giving same error as above.nUdf as I had mentioned in video uploaded in your YouTube channel.I had not changed anything. Everything is as per given in video.nPlease help me nThank you,nSwapnilnnFebruary 2, 2021 at 12:29 pmRob
Ansys EmployeeThe error means you've not got the compiler hooked up so that Fluent can see it. It's also that Fluent is now parallel most of the time, but you only need to parallelise UDFs if running on multiple cores and the macros require it. nPlease use 2020R2 or 2021R1 as there's an inbuilt CLANG compiler which removes the need to figure out which bit of MS Studio has been hidden/moved/changed on the Microsoft download page. nFebruary 5, 2021 at 8:08 amswapnil13
SubscriberRespected sir,nThank you for your help.I had solved my problem now it is working fine.I have problem in motion of object .I want vertical motion of object .So I changed UDF but it is not working .Still its motion is in horizontal direction. I nhad done changes which mentioned above.nnPlease help me outn
February 5, 2021 at 11:00 amRob
Ansys EmployeeYou've set the code to return vel[0], which means the x-direction in C language. [1] is y and [2] is z. Remember C starts at 0 when counting. Don't worry, nearly everyone either makes the mistake or asks why up is x[1]. nViewing 6 reply threads- You must be logged in to reply to this topic.
Ansys Innovation SpaceBoost Ansys Fluent Simulations with AWS
Computational Fluid Dynamics (CFD) helps engineers design products in which the flow of fluid components is a significant challenge. These different use cases often require large complex models to solve on a traditional workstation. Click here to join this event to learn how to leverage Ansys Fluids on the cloud, thanks to Ansys Gateway powered by AWS.
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.
Trending discussions- 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
- Difference between K-epsilon and K-omega Turbulence Model
- The solver failed with a non-zero exit code of : 2
- Time Step Size and Courant Number
- Mesh Interfaces in ANSYS FLUENT
- error: Received signal SIGSEGV
Top Contributors-
5290
-
3311
-
2471
-
1308
-
1016
Top Rated Tags© 2023 Copyright ANSYS, Inc. All rights reserved.
Ansys does not support the usage of unauthorized Ansys software. Please visit www.ansys.com to obtain an official distribution.
-