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

udf problem for mass transfer

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 4, 2018, 15:44
Exclamation udf problem for mass transfer
  #1
New Member
 
yousef m
Join Date: Aug 2018
Posts: 2
Rep Power: 0
yousef.m is on a distinguished road
Hello. I have a code for mass transfer but it gives the following error. Can anyone guide and correct it? thanks a lot

line 45: non-integer subscript expression: double.

line 45 is real concen_CO2=density_L*C_YI(cell,liq,i);

Last edited by yousef.m; September 6, 2018 at 04:45.
yousef.m is offline   Reply With Quote

Old   September 4, 2018, 20:17
Default
  #2
Senior Member
 
Join Date: Aug 2011
Posts: 421
Blog Entries: 1
Rep Power: 21
blackmask will become famous soon enough
Please change
Code:
real i = ...;
to
Code:
int i = ...;
blackmask is offline   Reply With Quote

Old   September 5, 2018, 02:02
Default udf problem for mass transfer
  #3
New Member
 
yousef m
Join Date: Aug 2018
Posts: 2
Rep Power: 0
yousef.m is on a distinguished road
Quote:
Originally Posted by blackmask View Post
Please change
Code:
real i = ...;
to
Code:
int i = ...;
thanks alot. This problem has been resolved. But an error message occurs. Do you know the cause of this error?

error: line 53: label "store_vof_norm" not found (pc=242).
yousef.m is offline   Reply With Quote

Reply

Tags
udf


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
Foam::error::PrintStack almir OpenFOAM Running, Solving & CFD 91 December 21, 2022 04:50
Accessing phase interaction mass transfer rate in UDF ahmadimo Fluent UDF and Scheme Programming 1 October 6, 2021 23:08
UDF for hear transfer coefficient in non-thermal equilibrium porous meda sheeko Fluent UDF and Scheme Programming 8 January 1, 2020 23:43
Mass transfer UDF expecting void return Quinos Fluent UDF and Scheme Programming 0 January 8, 2014 18:36
Error finding variable "THERMX" sunilpatil CFX 8 April 26, 2013 07:00


All times are GMT -4. The time now is 13:11.