CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT

Change boundary type (UDF/journalfile)

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 12, 2009, 11:49
Default Change boundary type (UDF/journalfile)
  #1
Koen
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!

  Reply With Quote

Old   February 13, 2009, 03:51
Default Re: Change boundary type (UDF/journalfile)
  #2
John
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
  Reply With Quote

Old   February 13, 2009, 05:07
Default Re: Change boundary type (UDF/journalfile)
  #3
Koen
Guest
 
Posts: n/a
I am using a linux computer, so VisualBasic is no option.

  Reply With Quote

Old   February 14, 2009, 11:56
Default Re: Change boundary type (UDF/journalfile)
  #4
bohis
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
  Reply With Quote

Old   February 14, 2009, 13:18
Default Re: Change boundary type (UDF/journalfile)
  #5
Koen
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?

  Reply With Quote

Old   February 14, 2009, 14:04
Default Re: Change boundary type (UDF/journalfile)
  #6
bohis
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
  Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 10:21.