|
[Sponsors] |
September 18, 2014, 10:04 |
Loading library via scheme command
|
#1 |
Member
Join Date: Oct 2011
Location: Thessaloniki, Greece
Posts: 75
Rep Power: 15 |
Hello
It might seem a silly question. I wish to load some user defined udf library and to make this procedure automatic by scheme command, saved in a .scm file. 1) Within the Fluent interface, the library loading is done normally by: Define>User-defined>function>manage. 2) In the fluent environment, the following scheme command do the loading of the library: (ti-open-udf-library)load libudf 3)However, I wish to save this procedure into a .scm file, to be opened via file>read>scheme When executing the .scm file, fluent is stoping after the first command (ti-open-udf-library) and request to give the answer to load/unload/compile. This is not really what i was looking for, as the aim was not to have to interact. My question is: why, while reading the .scm file, fluent is stopping at the first scheme command (while it does not if I am writing it directly on the fluent window, and access the load command by itself) Does anyone knows how to overcome this issue? Thanks for any help |
|
March 31, 2017, 05:01 |
|
#2 |
Member
Rosario Arnau
Join Date: Feb 2017
Location: Spain
Posts: 57
Rep Power: 9 |
Hi!
I have almost the same problem. How do you solve that? I've been thinking to use DEFINE_EXECUTE_ON_LOADING or EXECUTE_ON_LOADING but I don't know the difference Thanks in advance |
|
March 31, 2017, 05:23 |
|
#3 |
Senior Member
Join Date: Nov 2013
Posts: 1,965
Rep Power: 27 |
For me, the following works:
Code:
(open-udf-library "libudf") |
|
March 31, 2017, 07:50 |
|
#4 |
Member
Rosario Arnau
Join Date: Feb 2017
Location: Spain
Posts: 57
Rep Power: 9 |
||
Tags |
library, scheme |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
ERROR: unable to find library | HJH | CFX | 6 | February 26, 2019 07:52 |
Implementation of QUICK scheme | Romuald Skoda | Main CFD Forum | 11 | November 6, 2017 22:20 |
UDF Compilation Error - Loading Library - COMMON Problem! Help! | robtheslob | Fluent UDF and Scheme Programming | 8 | July 24, 2015 01:53 |
8x icoFoam speed up with Cufflink CUDA solver library | kmooney | OpenFOAM Running, Solving & CFD | 42 | November 6, 2012 12:37 |
SCHEME command to write XY plot to file? | Angelo Sozzi | FLUENT | 1 | July 22, 2004 17:54 |