CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Fluent UDF and Scheme Programming (https://www.cfd-online.com/Forums/fluent-udf/)
-   -   Define- mass (https://www.cfd-online.com/Forums/fluent-udf/126309-define-mass.html)

mehdimoradi. November 22, 2013 03:46

Hi
I can interpret without error. but during initializing appear the 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.

Although i can Compil it completely but in interaction box donot exist any UDF and fluent give the error:
no udf have been loaded.
Have you suggestion, kindly?

pakk November 22, 2013 04:00

From Fluent help:
Quote:

In order to hook a DEFINE_MASS_TRANSFER UDF to FLUENT, you must first issue the TUI command solve/set/expert and enter no at the Linearized Mass Transfer UDF? prompt.
You did that? Otherwise I have no idea.

mehdimoradi. November 22, 2013 04:17

Quote:

Originally Posted by pakk (Post 463050)
From Fluent help:

You did that? Otherwise I have no idea.

I just didnot notice. please explain it more. how can i access to TUI?

smhosseini November 22, 2013 04:59

Quote:

Originally Posted by pakk (Post 463045)
If I try to compile your code, I see
Code:

test.c
..\..\src\test.c(5) : error C2146: syntax error : missing ')' before identifier 'om_index'
..\..\src\test.c(5) : error C2061: syntax error : identifier 'om_index'
..\..\src\test.c(5) : error C2059: syntax error : ';'
..\..\src\test.c(5) : error C2059: syntax error : ','
..\..\src\test.c(5) : error C2059: syntax error : ')'
Done.

If I try to interpret it, I see
Code:

Error: .\test.c: line 5: parse error.
Don't you get similar lines when you try it? They give hints about what is wrong.

Hi Dear Pakk,
The UDF make error because of writing fr om_index
instead of from_index.
I compiled it and that was the only problem.

pakk November 22, 2013 10:31

Quote:

Originally Posted by smhosseini (Post 463062)
Hi Dear Pakk,
The UDF make error because of writing fr om_index instead of from_index.
I compiled it and that was the only problem.

So keep an eye on those error messages, they give information about where the mistake can be!

djn June 27, 2014 02:03

setting Solve/Set/Expert in Ansys 14.5
 
Can you please help me setting it in ansys 14.5 ... I dont have Set or Expert in Solve link...
Also I am using DEFINE MASS TRANSFER .. but by default ansys has linearized mass transfer... I basically want to change it in Solve/Set/Expert

Please Help,:confused:

reformat July 26, 2014 12:24

hi Djn

To access the TUI in fluent, once your fluent programme is up, key "enter" at the main page. from there, you can then access the tui command.

hane August 23, 2014 09:47

hamed.moradkhani@yahoo.com
 
do this procedure:

1.define->user-defined->functions->interprated..
interprate the ().c file
2.type on the command window of fluent
solve(press enter)
set(press enter)
expert(press enter)
answer for the 4 comming questions respectively are:
no-yes-no-yes

after these 2 steps u can hook the udf from phase intraction->mass tab->user defined->selecting udf...
now you can start runing calculation

let me inform about ur results
tanx

MDSHUJAN June 20, 2016 17:42

Quote:

Originally Posted by hane (Post 507436)
do this procedure:

1.define->user-defined->functions->interprated..
interprate the ().c file
2.type on the command window of fluent
solve(press enter)
set(press enter)
expert(press enter)
answer for the 4 comming questions respectively are:
no-yes-no-yes

after these 2 steps u can hook the udf from phase intraction->mass tab->user defined->selecting udf...
now you can start runing calculation

let me inform about ur results
tanx


Hi. I try your method for hooping a DEFINE_MASS_TRANSFER udf for heta pipe simulation. The udf build and load successfully, but i can't hook it at the phase interaction tab.

Any help is highly appreciated.


All times are GMT -4. The time now is 18:38.