|
[Sponsors] |
May 11, 2013, 18:50 |
Error : CX_Interpret_String not found
|
#1 |
Senior Member
François Grégoire
Join Date: Jan 2010
Location: Canada
Posts: 392
Rep Power: 17 |
Hi,
I'm trying to interpret a UDF where I have the following macro, I just want to call scheme functions from a UDF: DEFINE_EXECUTE_AT_END(execute_at_end) { CX_Interpret_String("(physical-time-steps 1 10000)"); } And I get the following error when I try to interpret my UDF: function "CX_Interpret_String" not found (pc=149) What's wrong? Is there another way to execute text commands or scheme commands from a UDF? Thanks, Frank Last edited by macfly; May 27, 2013 at 08:19. |
|
May 12, 2013, 21:43 |
|
#2 |
Senior Member
|
I found in a note written by Mirko Javurek:
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. I do not know German, either. It means "CX_Interpret_String" is declared but there is no access to the environment. Maybe you should turn to the guy who told you this function for help. |
|
May 27, 2013, 08:09 |
|
#3 |
Member
Jim Knopf
Join Date: Dec 2010
Posts: 60
Rep Power: 16 |
Hi,
did you include udf.h ? in the beginning of your UDF. But maybe this functionallity is only available for compiled UDFs greetz, Jim |
|
May 27, 2013, 08:18 |
|
#4 | |
Senior Member
François Grégoire
Join Date: Jan 2010
Location: Canada
Posts: 392
Rep Power: 17 |
Yes, I included this line at the beginning of my code: #include "udf.h"
Quote:
Frank |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Gmsh installation on terminal help | spitfire | Main CFD Forum | 4 | July 27, 2017 16:11 |
[Other] Mesh Importing Problem | cuteapathy | ANSYS Meshing & Geometry | 2 | June 24, 2017 06:29 |
critical error during installation of openfoam | Fabio88 | OpenFOAM Installation | 21 | June 2, 2010 04:01 |
Problems in compiling paraview in Suse 10.3 platform | chiven | OpenFOAM Installation | 3 | December 1, 2009 08:21 |
Regarding FoamX running Kindly help out | hariya03 | OpenFOAM Pre-Processing | 0 | April 18, 2008 05:26 |