|
[Sponsors] |
February 12, 2009, 11:49 |
Change boundary type (UDF/journalfile)
|
#1 |
Guest
Posts: n/a
|
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! |
|
February 13, 2009, 03:51 |
Re: Change boundary type (UDF/journalfile)
|
#2 |
Guest
Posts: n/a
|
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 |
|
February 13, 2009, 05:07 |
Re: Change boundary type (UDF/journalfile)
|
#3 |
Guest
Posts: n/a
|
I am using a linux computer, so VisualBasic is no option.
|
|
February 14, 2009, 11:56 |
Re: Change boundary type (UDF/journalfile)
|
#4 |
Guest
Posts: n/a
|
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
|
|
February 14, 2009, 13:18 |
Re: Change boundary type (UDF/journalfile)
|
#5 |
Guest
Posts: n/a
|
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?
|
|
February 14, 2009, 14:04 |
Re: Change boundary type (UDF/journalfile)
|
#6 |
Guest
Posts: n/a
|
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
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
¿Change boundary condition type? | David | FLUENT | 8 | April 17, 2013 13:35 |
How to change boundary type at calculation time? | Stanislav Kraev | FLUENT | 0 | December 4, 2006 04:33 |
Change Boundary type? | ccc | FLUENT | 6 | January 15, 2004 06:24 |
How to change the boundary type during computation | Lee | Siemens | 2 | November 28, 2003 22:01 |
how to change boundary type in unsteay calculation | cfdfans | FLUENT | 5 | January 9, 2002 09:16 |