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

Scheme File Implementation

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 1, 2014, 06:58
Default Scheme File Implementation
  #1
New Member
 
Anon
Join Date: Apr 2014
Posts: 1
Rep Power: 0
Guyms is on a distinguished road
Hi,

New to UDFs and probably a silly question, but..

How do you get the UDF to read a .scm scheme file when a certain condition is met?

For example.

In UDF script:
DEFINE(filename)
if time == 10
then testdoor=1

In Scheme file:
define(filename)
if testdoor=1
TUI command
end

Basically I am asking, how do I ensure these two are connected? Do they need to be in the same folder? Does the UDF script need a bit of code telling it where the .scm file is? Or does the define command sort all of this?

I ask because I have two scipts, one .c loaded into an executeAtEnd and the other .scm just sitting in the same folder, yet it is not executing the TUI commands at the correct time, so its either my time script is not correct or the .scm is not being loaded.

Any help is appreciated.
Guyms is offline   Reply With Quote

Reply

Tags
fluent, scheme, udf, udf scheme

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
[swak4Foam] Swak4FOAM 0.2.3 / OF2.2.x installation error FerdiFuchs OpenFOAM Community Contributions 27 April 16, 2014 15:14
centOS 5.6 : paraFoam not working yossi OpenFOAM Installation 2 October 9, 2013 01:41
"parabolicVelocity" in OpenFoam 2.1.0 ? sawyer86 OpenFOAM Running, Solving & CFD 21 February 7, 2012 11:44
[blockMesh] Axisymmetrical mesh Rasmus Gjesing (Gjesing) OpenFOAM Meshing & Mesh Conversion 10 April 2, 2007 14:00
error while compiling the USER Sub routine CFD user CFX 3 November 25, 2002 15:16


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