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

return array from function

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 20, 2016, 10:32
Default return array from function
  #1
New Member
 
marianna
Join Date: Mar 2016
Posts: 10
Rep Power: 10
mame is on a distinguished road
Hi to everyone,
I have a problem with a function. I want to used an array that i create in a function. How to return and recall it in the rest of udf??Do i need to use a pointer??
thanks
mame is offline   Reply With Quote

Old   July 26, 2019, 00:59
Default
  #2
New Member
 
Nigel Bruce Khan
Join Date: Jul 2017
Location: Ankara, Turkey
Posts: 7
Rep Power: 8
Nigel Bruce Khan is on a distinguished road
Quote:
Originally Posted by mame View Post
Hi to everyone,
I have a problem with a function. I want to used an array that i create in a function. How to return and recall it in the rest of udf??Do i need to use a pointer??
thanks
Hi. If you figured this out could you please tell me how you did it? Thank you.
Nigel Bruce Khan is offline   Reply With Quote

Old   July 26, 2019, 01:44
Default
  #3
Senior Member
 
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34
AlexanderZ will become famous soon enoughAlexanderZ will become famous soon enough
explain in details, what you want, show your udf

best regards
AlexanderZ 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
[blockMesh] Errors during blockMesh meshing Madeleine P. Vincent OpenFOAM Meshing & Mesh Conversion 51 May 30, 2016 10:51
[blockMesh] error message with modeling a cube with a hold at the center hsingtzu OpenFOAM Meshing & Mesh Conversion 2 March 14, 2012 09:56
OpenFoam 1.6-ext - RPM build errors preibie OpenFOAM 12 September 8, 2011 03:12
OpenFOAM static build on Cray XT5 asaijo OpenFOAM Installation 9 April 6, 2011 12:21
return more than one value from a user function Benny CFX 0 July 18, 2008 10:00


All times are GMT -4. The time now is 07:45.