CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT

How to use FLUENT only in single processing mode

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 1 Post By AlexanderZ
  • 1 Post By AlexanderZ

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 15, 2018, 01:16
Unhappy How to use FLUENT only in single processing mode
  #1
New Member
 
Bernd
Join Date: Jan 2018
Posts: 1
Rep Power: 0
Bernd_Huegges is on a distinguished road
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
Bernd_Huegges is offline   Reply With Quote

Old   January 15, 2018, 16:19
Default
  #2
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,754
Rep Power: 66
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
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
LuckyTran is offline   Reply With Quote

Old   April 23, 2018, 10:05
Default
  #3
Member
 
Ram Kumar Pal
Join Date: Apr 2015
Posts: 38
Rep Power: 11
rampal is on a distinguished road
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.
rampal is offline   Reply With Quote

Old   April 23, 2018, 12:26
Default
  #4
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,754
Rep Power: 66
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
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.
LuckyTran is offline   Reply With Quote

Old   April 24, 2018, 03:48
Default
  #5
Member
 
Ram Kumar Pal
Join Date: Apr 2015
Posts: 38
Rep Power: 11
rampal is on a distinguished road
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.
rampal is offline   Reply With Quote

Old   May 2, 2018, 08:05
Default
  #6
New Member
 
Şükrü
Join Date: Aug 2017
Posts: 21
Rep Power: 9
radioss is on a distinguished road
no solution for this ?
radioss is offline   Reply With Quote

Old   May 15, 2018, 18:07
Default
  #7
New Member
 
Şükrü
Join Date: Aug 2017
Posts: 21
Rep Power: 9
radioss is on a distinguished road
solution please :/
radioss is offline   Reply With Quote

Old   September 14, 2021, 15:33
Default what is launch flag in fluent?
  #8
New Member
 
Abhinay
Join Date: Feb 2015
Location: Bethlehem, Pennsylvania
Posts: 23
Rep Power: 11
soankerabhinay is on a distinguished road
Easier way is to just select parallel option and select "0" in the processes option.
soankerabhinay is offline   Reply With Quote

Old   September 17, 2021, 02:43
Default
  #9
Senior Member
 
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34
AlexanderZ will become famous soon enoughAlexanderZ will become famous soon enough
for windows:
open command prompt and execute:
4 cores (parallel) with double precision solver
Code:
fluent 3ddp -t4
single core (not parallel)
Code:
fluent 3ddp -t0
1 node 1 host (parallel)
Code:
fluent 3ddp -t1
soankerabhinay likes this.
__________________
best regards


******************************
press LIKE if this message was helpful
AlexanderZ is offline   Reply With Quote

Old   August 3, 2022, 06:37
Default
  #10
New Member
 
Juan
Join Date: May 2013
Location: Madrid, Spain
Posts: 1
Rep Power: 0
parco is on a distinguished road
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.
parco is offline   Reply With Quote

Old   August 4, 2022, 01:43
Default
  #11
Senior Member
 
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34
AlexanderZ will become famous soon enoughAlexanderZ will become famous soon enough
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
parco likes this.
__________________
best regards


******************************
press LIKE if this message was helpful
AlexanderZ is offline   Reply With Quote

Reply

Tags
single processing


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 10:25.