|
[Sponsors] |
Problem about DPM_UDF(how to remove or stop tracking one partile by UDF?) |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
November 2, 2016, 20:48 |
Problem about DPM_UDF(how to remove or stop tracking one partile by UDF?)
|
#1 |
New Member
Join Date: Nov 2016
Posts: 1
Rep Power: 0 |
Help!
Here is my question: I want to achieve the following function by UDF. About 1000 particle were tracked in transient and the flow field is also in transient. If some condition about particle is reliazed, the particle was removed and the tracking for this particle was stopped. However, I found that the steam_index is member of struct of "p(pointer to tracked particle)" in DPM_types.h and some discussion showed that p->steam_index can achieve this function. But if I use this like follows: # include "udf.h" # include "dpm.h" DEFINE_DPM_SCALAR_UPDATE(index,c,t,in,p) { if(.....) {p->stream_index=-1;} } The UDF can be compiled and loaded but the following information appeared Error: received a fatal signal(SEGMENTATION VIOLATION) How to resolve this problem?? Thanks!! Last edited by 2592183371; November 7, 2016 at 22:00. |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
ATTN ALL: SOLUTON TO UDF COMPILE PROBLEM | Rizwan | Fluent UDF and Scheme Programming | 40 | March 18, 2018 06:05 |
UDF Compilation Error - Loading Library - COMMON Problem! Help! | robtheslob | Fluent UDF and Scheme Programming | 8 | July 24, 2015 00:53 |
Vaporization pressure UDF property problem? | lehoanganh07 | Fluent UDF and Scheme Programming | 1 | September 13, 2014 10:59 |
UDF Problem about Grid Motion !!! | Zhengyu Gao | Fluent UDF and Scheme Programming | 0 | December 6, 2013 19:45 |
UDF compiling problem in Flient 6.3 | jeevan kumar | FLUENT | 2 | February 25, 2009 00:43 |