|
[Sponsors] |
How to use FLUENT only in single processing mode |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
January 15, 2018, 01:16 |
How to use FLUENT only in single processing mode
|
#1 |
New Member
Bernd
Join Date: Jan 2018
Posts: 1
Rep Power: 0 |
Hello,
I am really new to ANSYS and Fluent. I have created my environment in which I want to simulate. When I try to set up my UDF I always get the following error: "Error: The UDF library you are trying to load (libudf) is not compiled for parallel use on the current platform (win64)" and: "Error Object: #f" When I scrolled through the control panel I saw the warning: ************************************************** ******** * 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. * ************************************************** ******** Even if I start Fluent with the -t0 flag as mentioned it will always swap to parallel processing. How else can I suppress that Fluent swaps in parallel processing mode? Because my UDF only works in single processing. Thank you in advance |
|
January 15, 2018, 16:19 |
|
#2 |
Senior Member
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,762
Rep Power: 66 |
Passing the -t flag with any number will launch Fluent in parallel mode. Just don't pass any -t or -p or -pe flag. e.g. just launch using fluent 3ddp
|
|
April 23, 2018, 10:05 |
|
#3 |
Member
Ram Kumar Pal
Join Date: Apr 2015
Posts: 38
Rep Power: 11 |
Hi Bernd_Huegges,
I am facing the same problem. My UDF is working good for ANSYS 18.0 but when the same UDF is using in ANSYS 19.0, then Fluent is showing the error exactly like your case. Have you overcome with your problem? Help me if you have resolved this problem, I would be thankful to you. |
|
April 23, 2018, 12:26 |
|
#4 |
Senior Member
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,762
Rep Power: 66 |
Since v18.2 Fluent no longer has a serial mode, only a parallel mode with a single process (equivalent to -t1). If you want the original serial mode then you need to use the -t0 flag.
With that said, the warning is because the UDF is not parallelized. Either parallelize your UDF or run Fluent in serial mode if your version is less than 18.2 or pass -t0 as an launch flag in 18.2 and onwards. Last edited by LuckyTran; April 23, 2018 at 20:34. |
|
April 24, 2018, 03:48 |
|
#5 |
Member
Ram Kumar Pal
Join Date: Apr 2015
Posts: 38
Rep Power: 11 |
Hi LuckyTran,
Thanks for your reply. But my problem could not be resolved as I am new to the ANSYS. Can you please explain, how I play with t-o, t-1 flag. You can also mail me at khandelwaldeepak93@gmail.com. |
|
May 2, 2018, 08:05 |
|
#6 |
New Member
Şükrü
Join Date: Aug 2017
Posts: 21
Rep Power: 9 |
no solution for this ?
|
|
May 15, 2018, 18:07 |
|
#7 |
New Member
Şükrü
Join Date: Aug 2017
Posts: 21
Rep Power: 9 |
solution please :/
|
|
September 14, 2021, 15:33 |
what is launch flag in fluent?
|
#8 |
New Member
Abhinay
Join Date: Feb 2015
Location: Bethlehem, Pennsylvania
Posts: 23
Rep Power: 11 |
Easier way is to just select parallel option and select "0" in the processes option.
|
|
September 17, 2021, 02:43 |
|
#9 |
Senior Member
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34 |
for windows:
open command prompt and execute: 4 cores (parallel) with double precision solver Code:
fluent 3ddp -t4 Code:
fluent 3ddp -t0 Code:
fluent 3ddp -t1
__________________
best regards ****************************** press LIKE if this message was helpful |
|
August 3, 2022, 06:37 |
|
#10 |
New Member
Juan
Join Date: May 2013
Location: Madrid, Spain
Posts: 1
Rep Power: 0 |
Thanks, AlexanderZ, for the solution. I can launch fluent with -t1 flag. However, launching with the -t0 flag does not work with Fluent 2021 R1. The following error message popped up:
"The code execution cannot proceed because hdf5.dll was not found. Reinstalling the program may fix this problem." My reason to use serial mode is to use a UDF that eventually I'll have to modify to use in parallel mode so if you can share an example with DEFINE_ADJUST and DEFINE_PROPERTY macros, it would be appreciated. I found some examples in this forum but I couldn't make it work yet. |
|
August 4, 2022, 01:43 |
|
#11 |
Senior Member
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34 |
open new thread on forum, explain your request, share your UDF
you may find information regarding parallelizaing code by looking for Parallel Considerations in Ansys Fluent Customization manual
__________________
best regards ****************************** press LIKE if this message was helpful |
|
Tags |
single processing |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Floating point exception during parallel mode of fluent | aamer | FLUENT | 10 | May 16, 2019 10:49 |
Fluent 15.0 Parallel and Batch Processing on a Supercomputer | n_bowen | FLUENT | 0 | August 26, 2014 14:46 |
Parallel Processing Problems Fluent 13 | lstebe | FLUENT | 3 | February 15, 2012 10:54 |
Floating point exception in parallel mode of fluent | aamer | FLUENT | 0 | January 11, 2011 14:30 |
Fluent paralell processing in windows XP | João Fernandes | FLUENT | 1 | January 23, 2007 00:44 |