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

Error: rpgetvar: coordeval: undefined variable

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 23, 2013, 00:17
Default Error: rpgetvar: coordeval: undefined variable
  #1
New Member
 
Tajul
Join Date: Aug 2009
Posts: 27
Rep Power: 17
abir is on a distinguished road
Hi
why UDF containing the following line
if (RP_Get_Integer("coordeval")==1) {
coord_coeff(f_thread);}

gives

Error: rpgetvar: coordeval: undefined variable

What is the solution? I"ll be gratefull if anyone can help.
Thanks in advance.

Abir
abir is offline   Reply With Quote

Old   February 23, 2013, 03:07
Default
  #2
Senior Member
 
SSL
Join Date: Oct 2012
Posts: 226
Rep Power: 15
msaeedsadeghi is on a distinguished road
Because the variable input should be set using GUI. You should make a GUI, else should set it manually in the UDF and delete rpgetvar.
msaeedsadeghi is offline   Reply With Quote

Old   February 23, 2013, 08:02
Default Error: rpgetvar: coordeval: undefined variable
  #3
New Member
 
Tajul
Join Date: Aug 2009
Posts: 27
Rep Power: 17
abir is on a distinguished road
Hi
Thanks a lot for your quick response. I could not follow you. "coordeval" is a scheme variable. But value of coordeval is not known. Have I to put in the following way in UDF of Fluent?

#define coordeval value

If possible Please explain in detail. Have a nice time.

Abir
abir is offline   Reply With Quote

Old   February 23, 2013, 08:31
Default
  #4
Senior Member
 
SSL
Join Date: Oct 2012
Posts: 226
Rep Power: 15
msaeedsadeghi is on a distinguished road
Use 1 for coord_c... to enable it.
msaeedsadeghi 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
Second Derivative Zero - Boundary Condition fu-ki-pa OpenFOAM 11 March 27, 2021 05:28
OpenFOAM 1.6-ext git installation on Ubuntu 11.10 x64 Attesz OpenFOAM Installation 45 January 13, 2012 13:38
Error with Wmake skabilan OpenFOAM Installation 3 July 28, 2009 01:35
OpenFOAM on MinGW crosscompiler hosted on Linux allenzhao OpenFOAM Installation 127 January 30, 2009 20:08
G95 + CGNS Bruno Main CFD Forum 1 January 30, 2007 01:34


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