Change boundary type (UDF/journalfile)
I am doing an unsteady simulation, and I need to change a lot of my boundary types from "mass-flow-inlet" to "wall" after 2sec, 30sec, 32 sec... Is it possible to do this with a udf?
Where can I find an example of this? If not, is it possible with a udf to execute a journal file after x seconds?? please help! |
Re: Change boundary type (UDF/journalfile)
How about using a VB Script file?
In VB Script, there is a function named sleep which may help you. For example, WScript.sleep 3000 You can use VB Script file sending a command line to an active FLUENT window, for example Dim WshShell WshShell.SendKeys "file/read-case-data"&" yes.cas"&"{ENTER}" Good luck |
Re: Change boundary type (UDF/journalfile)
I am using a linux computer, so VisualBasic is no option. :(
|
Re: Change boundary type (UDF/journalfile)
Hi, I would propose to write a journal file using SCHEME if-statements to check the current time. I think that way to be the most convenient. good luck
|
Re: Change boundary type (UDF/journalfile)
Do you know if it is possible to execute a journal-file from a user-defined-function. If yes, how?? Does anybody have an example for me?
|
Re: Change boundary type (UDF/journalfile)
I am not a fluent expert, but I reckon it is not possible to execute journal file via any UDF. Honestly, I cannot even imagine why would you need it! You can execute UDF from journal file :)
|
All times are GMT -4. The time now is 20:20. |