TAGGED: udf-fluent
-
-
February 6, 2021 at 11:17 am
JaydeepRBS
SubscriberHi, I am using a UDF for velocity profile in ansys fluent. I have working udf for windows version of ansys fluent.n when I try to use the same UDF in ubuntu based Ansys fluent, it doesn't work. Even, its not working in interpretation mode.Error:ncpp: Error trying to exec 'ccl:execvp: no such file or directorynError: home/multiphase/Desktop/XXX/case/udf.c:line 1: syntex error.I am trying to compile the following UDF :n#include udf.hnDEFINE_PROFILE(unsteady_velocity, thread, position)n{nface_t f;nreal t = CURRENT_TIME;nbegin_f_loop(f, thread)n{nF_PROFILE(f, thread, position) =50*(1+0.4*sin(5775.952*t));n}nend_f_loop(f, thread)n}nnJaydeep Singhn -
February 7, 2021 at 7:16 pm
YasserSelima
SubscriberThe error you are receiving, probably, means you need to install a package. Not sure what package but you can search for this error in stackoverflow and most probably you will find many answers.nI have a question for you, is there Ansys Fluent for Ubuntu?!!n -
February 8, 2021 at 11:04 am
Rob
Ansys EmployeeIf you copied the file from Win10 to Ubunto, did you use the dos2unix command? LINUX tends to have all of the compilers already installed but as we don't officially support Ubuntu I can't say for sure. You may find there are some libraries missing that cause problems. n -
February 8, 2021 at 3:18 pm
DrAmine
Ansys EmployeeIf you are using a recent version you might play a bit with Fluent Expressions which can help you to avoid coding simple profile function like the one you now want to use.n -
February 8, 2021 at 8:24 pm
JaydeepRBS
SubscriberThank you for your responses.nnI am using Ansys for Linux which is preinstalled in my College system and HPC cluster. it is installed using singularity. n,I just took my udf along with case and data file (generated in window based Ansys) and tried compiling/interpreting the udf in the fluent (In Linux), nI am using Ansys 18.1 version, If I remember correctly, this functionality is recently introduced and is available in ansys 2020 version. My college have only 18.1 version of Ansys, so I have to use udf. n -
February 8, 2021 at 9:57 pm
YasserSelima
SubscriberI am not sure why one of my comments was removed. nIf you google the error you received you will find it means cc1 was not found. Probably it will need a system administrator to install a package.
-
- You must be logged in to reply to this topic.

Boost 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.
- 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
-
5364
-
3363
-
2471
-
1310
-
1018
© 2023 Copyright ANSYS, Inc. All rights reserved.