|
[Sponsors] |
March 17, 2011, 05:58 |
Error while running UDF - Fluent
|
#1 |
New Member
r
Join Date: Mar 2011
Posts: 6
Rep Power: 15 |
Hello!
I get the following error message while I run the simulation with an UDF 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: () I have no problems in compiling and interpreting this UDF. I have found that the problem is linked to following part of the code below. Thread *tc = THREAD_SUPER_THREAD(thread); /*obtain mixture thread */ Thread **pt = THREAD_SUB_THREADS(tc); /* pointer to sub_threads */ Thread *tp = pt[P_PHASE]; /* primary phase thread */ solute_mass_frac=C_YI(cell,tp,0); When I run the simulation with the UDF and I specify solute_mass_frac=0.5 (for example 0.5) the simulation runs without errors. So, this has to be linked to C_YI(cell,tp,0). Or probably to the way ''tp'' is set. Does anybody could tell me what I am doing wrong? thank you in advance |
|
March 6, 2013, 06:33 |
|
#2 |
New Member
Andrej POHAR
Join Date: Nov 2012
Posts: 2
Rep Power: 0 |
I have exactly the same problem, I narrowed it down to solute_mass_frac = C_YI(cell,tp,0);
Did you manage to solve it? Thanks in advance. |
|
March 7, 2013, 03:30 |
|
#3 |
New Member
Andrej POHAR
Join Date: Nov 2012
Posts: 2
Rep Power: 0 |
I found the answer in the manual, C_YI isn't defined so you have to use Pdf_Yi(cell,tp,0)
|
|
Tags |
c_yi, error, mass fraction, udf |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
problem of running parallel Fluent on linux cluster | ivanbuz | FLUENT | 15 | September 23, 2017 20:12 |
Compiling UDF in Fluent 12 | jsm | FLUENT | 1 | July 22, 2009 08:40 |
Statically Compiling OpenFOAM Issues | herzfeldd | OpenFOAM Installation | 21 | January 6, 2009 10:38 |
need some basic help with fluent udf | aarti sekaran | FLUENT | 8 | February 12, 2008 01:57 |
Parallel Fluent +UDF | Jack Martinez | FLUENT | 0 | June 28, 2007 12:19 |