|
[Sponsors] |
July 11, 2006, 06:39 |
UDF problem
|
#1 |
Guest
Posts: n/a
|
can you tell me what is wrong in my udf?
#include "udf.h" DEFINE_MASS_TRANSFER(od_gas_to_liquidh2o_source,ce ll,thread,from_2,from_species_0,to_3,to_species_1) { int i; Material *sp; real m_lg; real T_SAT = 373; Thread *gas = THREAD_SUB_THREAD(thread, from_2); Thread *liq = THREAD_SUB_THREAD(thread, to_3); m_lg = 0.; mixture_species_loop(THREAD_MATERIAL(liq),sp,i) { if ((C_T(cell, liq) >= T_SAT) && sp) { m_lg = (-0.1*C_VOF(cell,liq)*C_R(cell,liq)* fabs(C_T(cell,liq)-T_SAT)/T_SAT); } } mixture_species_loop(THREAD_MATERIAL(gas),sp,i) { if ((m_lg == 0. ) && (C_T(cell, gas) <= T_SAT)) { m_lg = (0.1*C_VOF(cell,gas)*C_R(cell,gas)* fabs(T_SAT-C_T(cell,gas))/T_SAT); } } return (m_lg); } UDF is compiled by fluent but during initialize an error occurred (below) Error: FLUENT received fatal signal (ACCESS_VIOLATION) 1. Note exact events leading to error. 2. Save case/data under new name. 3. Exit program and restart to continue. 4. Report error to your distributor. Error Object: () thank you g |
|
July 11, 2006, 08:24 |
Re: UDF problem
|
#2 |
Guest
Posts: n/a
|
Hi Greg,
I have the same problem with definition of critical strain rate to extinction in the partially premixed model. I think, it is the problem not with your UDF, but Fluent. Regards, Birute |
|
July 12, 2006, 02:21 |
Re: UDF problem
|
#3 |
Guest
Posts: n/a
|
hi.I had a similar error message one month ago.You should check the use of User Define Memories.If you use UDMI in you UDF,you must define enough memories in Fluent before solving.Hope it will help you
|
|
|
|
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 |
Problem with my udf | july | Fluent UDF and Scheme Programming | 3 | June 20, 2010 06:56 |
UDF problem | mansha goraya | FLUENT | 0 | October 29, 2007 00:31 |
udf compiling problem | akr | FLUENT | 3 | August 22, 2007 07:14 |
UDF problem | chiseung | FLUENT | 4 | January 10, 2002 09:58 |