|
[Sponsors] |
![]() |
![]() |
#1 |
New Member
Join Date: Jun 2012
Posts: 1
Rep Power: 0 ![]() |
Hello!
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! Yours, Andi |
|
![]() |
![]() |
![]() |
![]() |
#2 | |
Member
|
before using your own variable in scheme function u need to define it in fluent
Quote:
|
||
![]() |
![]() |
![]() |
|
|
![]() |
||||
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 14:37 |
Problem with leastSquares scheme when using dynamicRefineFvMesh | christian_kunkelmann | OpenFOAM Running, Solving & CFD | 2 | July 10, 2009 12:19 |
Question on Sediment Mass Conservation Scheme | Wen Long | Main CFD Forum | 0 | July 6, 2004 16:45 |
Periodic flow boundary condition problem | sudha | FLUENT | 3 | April 28, 2004 09:40 |