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

CX_Interpret_String doesn't work

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 22, 2014, 08:19
Default CX_Interpret_String doesn't work
  #1
New Member
 
Select One...
Join Date: Apr 2012
Posts: 21
Rep Power: 14
eneja is on a distinguished road
Hey everyone!

I would like to use CX_Interpret_String in my UDF but it doesn't work.
I my UDF, I wrote this:
CX_Interpret_String("(ti-menu-load-string \"fi int read ok velocity0.2.ip\")");

Fluent returns: unbound variable
If I just use:
CX_Interpret_String("(newline)");
then it works. So the problem is if there are more words...
Anyone has an idea what could be wrong??
What is scheme command to read interpolation?

I would really appreciate any help!

Last edited by eneja; July 22, 2014 at 09:19.
eneja is offline   Reply With Quote

Old   July 22, 2014, 20:46
Default
  #2
Senior Member
 
Join Date: Aug 2011
Posts: 421
Blog Entries: 1
Rep Power: 21
blackmask will become famous soon enough
I have read that CX_Interpret_String does not work somewhere. So do not count on it.
blackmask is offline   Reply With Quote

Old   July 23, 2014, 02:37
Default
  #3
New Member
 
Select One...
Join Date: Apr 2012
Posts: 21
Rep Power: 14
eneja is on a distinguished road
What do you mean with 'doesn't work somewhere'? Depends on version, OS or something else?
eneja is offline   Reply With Quote

Old   July 23, 2014, 05:05
Default
  #4
Senior Member
 
Join Date: Aug 2011
Posts: 421
Blog Entries: 1
Rep Power: 21
blackmask will become famous soon enough
It simply does not work. It is an non-documented API and no one guarantees that it works. I have seen from else where that this API does not work.

I have found the source. It is written in "FLUENT Scheme Dokumentation" by Mirko Javurek.


Um Scheme-Funktionen aus einer UDF aufzurufen, ist zur Zeit keine Möglichkeit bekannt; die C-Funktion
CX_Interpret_String("scheme-command-string")
- deklariert in Fluent.Inc/fluentX.Y/cortex/src/cx.h - interpretiert zwar den „scheme-command-string“, hat aber keinen Zugriff auf das Environment.
blackmask 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
RP_Set_Integer does not work in parallel 86lolo Fluent UDF and Scheme Programming 2 July 3, 2014 11:37
Does CX_Interpret_String work in parallel? 86lolo Fluent UDF and Scheme Programming 2 June 30, 2014 04:36
Companies that lease software & hardware for cloud-based work? Catthan ANSYS 0 June 18, 2014 10:53
Why do the Plant library cases don't work? Alumna Phoenics 6 June 22, 2004 12:08
why my In-Form doesn't work? green Phoenics 2 May 27, 2004 21:03


All times are GMT -4. The time now is 16:43.