-
-
July 25, 2018 at 6:52 pm
jfzhang
SubscriberI have a UDF code which has to be run in serial mode. However, fluent 19.0 always automatically converts it into parallel mode, which cause the UDF not able to run correctly.
Please let me know how I can force the UDF to run in serial instead of parallel.
Thanks
-
July 25, 2018 at 6:57 pm
-
July 25, 2018 at 8:30 pm
jfzhang
SubscriberThanks for the reply.
It doesn't work. Still runs in parallel mode.
-
July 25, 2018 at 8:53 pm
Karthik R
AdministratorHi,
Could you please share a screenshot of the message you get? Please add a screenshot of your entire Fluent window.
Thank you.
Best,
Karthik
-
July 26, 2018 at 3:59 am
Keyur Kanade
Ansys EmployeeHi,
Can you please let us know if you have UDF in serial mode or parallel mode?
Please have a look at following where is shows difference in serial and parallel udf.
https://www.learncax.com/knowledge-base/blog/by-category/cfd/parallelization-of-udfs-in-ansys-fluent
Also if you still get errors, please insert image of your udf. (Do not attach)
Regards,
Keyur
-
August 2, 2018 at 8:42 pm
jfzhang
SubscriberFluent automatically starts in the parallel mode.
The UDF can be compiled and loaded. However, it doesn't do anything because they were written in serial mode.
There is #if !parallel .... #endif command.
I want to find out how I can force fluent to start and run in the serial mode.
-
August 3, 2018 at 1:31 am
Karthik R
AdministratorHello jfzhang,
Please post screenshots of the messages you obtain. It is extremely difficult to help without having a look at the error message.
Thank you.
Best Regards,
Karthik
-
October 15, 2018 at 5:46 pm
raghava
SubscriberHI,
Even I am facing the same issue. I am particularly specifying to run in serial but it starts in parallel. When I compile my UDF , I receive the following error when I try to build the UDF,
"F:trialnext2d_filesdp0FLUFluentlibudfwin642ddp_hostlibudf.dll
Error at Node 0: 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 path specified.
F:trialnext2d_filesdp0FLUFluentlibudfwin642ddp_nodelibudf.dll "
When I try to load it shows the following error
"
****************************************************************************
****************************************************************************
** WARNING: Automatically switched to run in parallel -t1 mode. **
** Detected non-parallelized UDF usage, enabling parallel usage. **
** If you encounter any issues, please re-run with -t0 flag. **
****************************************************************************
****************************************************************************Creating user_nt.udf file for 2ddp_host ..."
How to implement the above mentioned setting with -t0 flag?
I hereby attach the screenshots for your perusal.
Kind regards,
-
December 3, 2018 at 12:38 pm
ztdep
SubscriberDear sir : i met the same proglem with you. Have you resolve the problem?
-
December 3, 2018 at 1:18 pm
Rob
Ansys EmployeeIf you look at the post by Karthik, you'll note you need to start in parallel with zero nodes: that forces the older style serial solver. However, if you only have one node most UDFs will work as though they're in serial.
-
- 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
-
2524
-
2066
-
1285
-
1096
-
459
© 2023 Copyright ANSYS, Inc. All rights reserved.