|
[Sponsors] |
Retaining UDM on Initialization; Switching Between Series and Parallel Setup |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 5, 2016, 20:10 |
Retaining UDM on Initialization; Switching Between Series and Parallel Setup
|
#1 |
New Member
Join Date: Jul 2015
Posts: 7
Rep Power: 11 |
I currently have a number of DEFINE_ON_DEMAND routines that read, process, sort and write data to user defined memory at cell faces via F_UDMI. Eventually, I load a text file and copy its contents line-by-line to the user defined memory at each face location of a given thread. Later, a DEFINE_PROFILE routine reads the data stored in user-defined memory and uses it to create a boundary heat source.
I would like to run my simulations in parallel, but I've found converting my user-defined functions to parallel operation difficult due to the scarcity of documentation on the subject and the cumbersome nature of keeping track of information between nodes. Therefore, I would like to, if possible, read in my data and store it to user-defined memory in series operation, then re-open ANSYS in parallel mode. This is alluded to here. Unfortunately, it seems that UDM is not retained between runs, and in fact is reset upon initialization, meaning that even in a given session I must run the DEFINE_ON_DEMAND statement to fill the UDM after I initialize. Therefore, is it possible for me to avoid re-writing my UDFs in such a manner, either by changing the way I initialize or in some way making UDM retain information during initialization? Thanks in advance. (Note: I can post my UDFs later if need be, but since this is a more general question I didn't think it necessary, at least at first) |
|
April 6, 2016, 12:07 |
|
#2 |
New Member
Join Date: Jul 2015
Posts: 7
Rep Power: 11 |
After some effort, I've managed to find a solution that allows me to avoid having to modify my UDFs for parallel operation. I was previously having trouble with Fluent losing my UDFs when setup was re-run. Note that this assumes Fluent is being run through ANSYS Workbench.
Last edited by hebush; April 13, 2016 at 15:40. |
|
April 14, 2016, 15:06 |
|
#3 |
New Member
sherzad
Join Date: Oct 2015
Posts: 3
Rep Power: 11 |
hi hebush
I got this error when i run parallel on 16 professors and i use 1 udf file as input boundary condition Error: chip-exec: function "velocity" not found. Error: chip-exec: function "k_profile" not found. Error: chip-exec: function "E_Totaldissip_profile" not found. Error: chip-exec: function "velocity" not found. Error: chip-exec: function "k_profile" not found. Error: chip-exec: function "E_Totaldissip_profile" not found. Error: chip-exec: function "velocity" not found. Error: chip-exec: function "k_profile" not found. Error: chip-exec: function "E_Totaldissip_profile" not found. Error: chip-exec: function "velocity" not found. |
|
July 6, 2016, 11:09 |
|
#4 |
New Member
Join Date: Jul 2015
Posts: 7
Rep Power: 11 |
UPDATE: I think I was either a bit sloppy in making my directions or I have better realized which steps are important to the process and which aren't. Here is my revised process:
Note that I still on occasion will find that Fluent throws a "Case must be initialized. Initialize now?" warning when I attempt this method. Proceeding with initialization will, as mentioned before, wipe the UDM, so you obviously don't want that. I haven't figured out any pattern for when this happens, but I just try again by creating a new standalone Fluent module in workbench, deleting the others, and starting over. |
|
Tags |
define_on_demand, initialization, parallel computing, user defined function, user defined memory |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
how to change series UDF to Parallel UDF | zhang.limin | FLUENT | 0 | January 25, 2011 15:27 |
Parallel and series fluent | Stan Tonks | FLUENT | 1 | January 29, 2004 13:00 |