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

Parallel Processing Error (UDF)

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 11, 2016, 18:06
Default Parallel Processing Error (UDF)
  #1
New Member
 
soheil radfar
Join Date: Jun 2016
Posts: 11
Rep Power: 10
soheilr is on a distinguished road
Hi,
I am trying to use parallel processing for my udf simulation but I have faced with following errors:

- received suspend command for a pmi context that doesn exist unmatched id 1
- the fl process could not be started fluent
- An existing connection was forcibly closed by the remote host



Previously I did not have such an error with this UDF!!!

Please Help me with this error
soheilr is offline   Reply With Quote

Old   June 11, 2016, 18:33
Default
  #2
`e`
Senior Member
 
Join Date: Mar 2015
Posts: 892
Rep Power: 18
`e` is on a distinguished road
What's your UDF code? Do you get the same error in serial mode or parallel with one process?
`e` is offline   Reply With Quote

Old   June 11, 2016, 18:37
Default
  #3
New Member
 
soheil radfar
Join Date: Jun 2016
Posts: 11
Rep Power: 10
soheilr is on a distinguished road
Hi,
There is no problem in serial mode.
soheilr is offline   Reply With Quote

Old   June 11, 2016, 18:39
Default
  #4
`e`
Senior Member
 
Join Date: Mar 2015
Posts: 892
Rep Power: 18
`e` is on a distinguished road
We can't help if you don't provide your source code to spot the error with.
`e` is offline   Reply With Quote

Old   June 11, 2016, 18:44
Default
  #5
New Member
 
soheil radfar
Join Date: Jun 2016
Posts: 11
Rep Power: 10
soheilr is on a distinguished road
Quote:
Originally Posted by `e` View Post
We can't help if you don't provide your source code to spot the error with.
Here is the UDF!
King Regards
Attached Files
File Type: zip UDF.zip (22.8 KB, 9 views)
soheilr is offline   Reply With Quote

Old   June 11, 2016, 21:47
Default
  #6
`e`
Senior Member
 
Join Date: Mar 2015
Posts: 892
Rep Power: 18
`e` is on a distinguished road
The .zip file is corrupted. Simply copy and paste the code within [CODE] tags.
`e` is offline   Reply With Quote

Old   June 12, 2016, 04:52
Default
  #7
New Member
 
soheil radfar
Join Date: Jun 2016
Posts: 11
Rep Power: 10
soheilr is on a distinguished road
The code is nearly 100-A4 pages! I have to attach it!
soheilr is offline   Reply With Quote

Old   June 12, 2016, 04:59
Default
  #8
New Member
 
soheil radfar
Join Date: Jun 2016
Posts: 11
Rep Power: 10
soheilr is on a distinguished road
I double checked the zip file!
There was no problem and unzipped well!
soheilr is offline   Reply With Quote

Old   June 12, 2016, 05:46
Default
  #9
`e`
Senior Member
 
Join Date: Mar 2015
Posts: 892
Rep Power: 18
`e` is on a distinguished road
Ok, I've unzipped the file using 7-Zip (Windows was giving an error). There are 4241 lines of code there, you'll need to find where the problem is by debugging. First, find the functions which are causing the issue (comment out or disable them one by one). Second, find the line of code(s) by printing messages to the screen with Message().
`e` is offline   Reply With Quote

Old   June 12, 2016, 08:15
Default
  #10
New Member
 
soheil radfar
Join Date: Jun 2016
Posts: 11
Rep Power: 10
soheilr is on a distinguished road
In my opinion, this code is fine at all; since it is an official code of ANSYS FLUENT and previously checked by other researchers. Also, I used this udf in parallel mode about 3 months ago without error, on another system. But I do not have access to that system anymore !
soheilr is offline   Reply With Quote

Old   June 12, 2016, 16:52
Default
  #11
`e`
Senior Member
 
Join Date: Mar 2015
Posts: 892
Rep Power: 18
`e` is on a distinguished road
I saw the UDF was last updated for Fluent 6.3 which was released in 2006. It's likely there's been changes in ANSYS Fluent in the last 10 years which has caused the UDF to break. Have you contacted ANSYS to see if they've released a new update? Try running an older version of Fluent (the one that worked for you in the past). Otherwise, it'd take a while to go through this code and sort out yourself.
`e` is offline   Reply With Quote

Old   June 13, 2016, 19:36
Default
  #12
`e`
Senior Member
 
Join Date: Mar 2015
Posts: 892
Rep Power: 18
`e` is on a distinguished road
There's another user, blgypeng, who is now asking about this UDF as well. It sounds like the issue is with how Fluent is sending and receiving data from the GUI.
`e` is offline   Reply With Quote

Reply

Tags
fluent, parallel processing, udf


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
Explicitly filtered LES saeedi Main CFD Forum 16 October 14, 2015 12:58
simpleFoam parallel AndrewMortimer OpenFOAM Running, Solving & CFD 12 August 7, 2015 19:45
problem for parallel processing minaret OpenFOAM Running, Solving & CFD 14 January 20, 2015 00:41
HP MPI warning...Distributed parallel processing Peter CFX 10 May 14, 2011 07:17
About parallel processing in Linux tuks CFX 10 August 8, 2005 09:22


All times are GMT -4. The time now is 22:06.