|August 22, 2012, 10:27||
Join Date: Jun 2012
Posts: 1Rep Power: 0
I have i little problem which should probably easy to solve but i cant find a solution for it.
What the scheme programm should do is the following:
if the scheme variable "udf/marker_geschlossen" is equal to 0 the case and data should be saved in under the specified name.
here is my code that doesnt work:
(if (= (Rpgetvar 'udf/marker_geschlossen) 0)
(file write-case-data "init_trans_test_anfw_4.cas.gz"))
it gives me the following error:
ERROR: eval: unbound variable
ERROR Object: file
if i let the () away in the second line i get the error that i have to many input arguments.
i hope somebody can help me out here as i guess it's a really simply problem that can be solved for sure. Thx in advance!
|October 22, 2012, 06:24||
need to define variable
before using your own variable in scheme function u need to define it in fluent
|Thread||Thread Starter||Forum||Replies||Last Post|
|Accuracy problem of HO schemes on unstructured mesh, HO scheme gives 1st order result||gemini||Main CFD Forum||12||December 27, 2011 22:01|
|Problem with WENO Scheme||Ashley||Main CFD Forum||0||August 17, 2009 13:37|
|Problem with leastSquares scheme when using dynamicRefineFvMesh||christian_kunkelmann||OpenFOAM Running, Solving & CFD||2||July 10, 2009 11:19|
|Question on Sediment Mass Conservation Scheme||Wen Long||Main CFD Forum||0||July 6, 2004 15:45|
|Periodic flow boundary condition problem||sudha||FLUENT||3||April 28, 2004 08:40|