|
[Sponsors] |
April 1, 2014, 07:58 |
Scheme File Implementation
|
#1 |
New Member
Anon
Join Date: Apr 2014
Posts: 1
Rep Power: 0 |
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. |
|
Tags |
fluent, scheme, udf, udf scheme |
|
|
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 16:14 |
centOS 5.6 : paraFoam not working | yossi | OpenFOAM Installation | 2 | October 9, 2013 02:41 |
"parabolicVelocity" in OpenFoam 2.1.0 ? | sawyer86 | OpenFOAM Running, Solving & CFD | 21 | February 7, 2012 12:44 |
[blockMesh] Axisymmetrical mesh | Rasmus Gjesing (Gjesing) | OpenFOAM Meshing & Mesh Conversion | 10 | April 2, 2007 15:00 |
error while compiling the USER Sub routine | CFD user | CFX | 3 | November 25, 2002 16:16 |