TAGGED: udf-fluent
-
-
February 6, 2021 at 11:17 amJaydeepRBSSubscriberHi, 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 pmYasserSelimaSubscriberThe 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 amRobForum ModeratorIf 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 pmAmine Ben Hadj AliAnsys 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 pmJaydeepRBSSubscriberThank 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 pmYasserSelimaSubscriberI 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.
-
Viewing 5 reply threads
- The topic ‘Compiling UDF in Ubuntu:’ is closed to new replies.
Ansys Innovation Space
Trending discussions
- Non-Intersected faces found for matching interface periodic-walls
- Script error Code: 800a000d
- Unburnt Hydrocarbons contour in ANSYS FORTE for sector mesh
- Help: About the expression of turbulent viscosity in Realizable k-e model
- Fluent fails with Intel MPI protocol on 2 nodes
- Cyclone (Stairmand) simulation using RSM
- error udf
- Diesel with Ammonia/Hydrogen blend combustion
- Mass Conservation Issue in Methane Pyrolysis Shock Tube Simulation
- Script Error
Top Contributors
-
1281
-
591
-
544
-
524
-
366
Top Rated Tags
© 2024 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.