CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT > Fluent UDF and Scheme Programming

Define- mass

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 22, 2013, 03:46
Default
  #21
Member
 
mehdimoradi
Join Date: Jun 2013
Posts: 53
Rep Power: 12
mehdimoradi. is on a distinguished road
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?
mehdimoradi. is offline   Reply With Quote

Old   November 22, 2013, 04:00
Default
  #22
Senior Member
 
Join Date: Nov 2013
Posts: 1,965
Rep Power: 26
pakk will become famous soon enough
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.
pakk is offline   Reply With Quote

Old   November 22, 2013, 04:17
Default
  #23
Member
 
mehdimoradi
Join Date: Jun 2013
Posts: 53
Rep Power: 12
mehdimoradi. is on a distinguished road
Quote:
Originally Posted by pakk View Post
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?
mehdimoradi. is offline   Reply With Quote

Old   November 22, 2013, 04:59
Default
  #24
Member
 
Mohsen
Join Date: Jul 2012
Posts: 49
Rep Power: 13
smhosseini is on a distinguished road
Quote:
Originally Posted by pakk View Post
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.
smhosseini is offline   Reply With Quote

Old   November 22, 2013, 10:31
Default
  #25
Senior Member
 
Join Date: Nov 2013
Posts: 1,965
Rep Power: 26
pakk will become famous soon enough
Quote:
Originally Posted by smhosseini View Post
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!
pakk is offline   Reply With Quote

Old   June 27, 2014, 02:03
Default setting Solve/Set/Expert in Ansys 14.5
  #26
djn
New Member
 
Dhananjaya
Join Date: May 2014
Posts: 7
Rep Power: 11
djn is on a distinguished road
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,
djn is offline   Reply With Quote

Old   July 26, 2014, 12:24
Default
  #27
New Member
 
Jackson Sim
Join Date: Apr 2014
Posts: 7
Rep Power: 12
reformat is on a distinguished road
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.
reformat is offline   Reply With Quote

Old   August 23, 2014, 09:47
Default hamed.moradkhani@yahoo.com
  #28
New Member
 
sarighulikhan
Join Date: Mar 2014
Posts: 15
Rep Power: 12
hane is on a distinguished road
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
Hesam_Ami likes this.
hane is offline   Reply With Quote

Old   June 20, 2016, 17:42
Default
  #29
New Member
 
SHUJAN
Join Date: Jun 2016
Posts: 17
Rep Power: 9
MDSHUJAN is on a distinguished road
Quote:
Originally Posted by hane View Post
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.
MDSHUJAN is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
mass flow inlet and pressure outlet with target mass flow rate Zigainer FLUENT 13 October 26, 2018 05:58
using define mass transfer udf for cavitation Komon Fluent UDF and Scheme Programming 14 June 21, 2016 02:50
Robin B.C. Yu FLUENT 3 May 27, 2012 04:19
UDF problem libia87 Fluent UDF and Scheme Programming 1 May 4, 2012 21:49
DEFINE MASS TRANSFER Maciej FLUENT 0 November 27, 2005 20:33


All times are GMT -4. The time now is 15:32.