# Changing Boundary Condition

 Register Blogs Members List Search Today's Posts Mark Forums Read

 May 29, 2005, 23:58 Changing Boundary Condition #1 David Baker Guest   Posts: n/a Hi, I am going to simulate unsteady flow in an intake manifold. I have one inlet and 4 outlet. I have all pressures in inlet and outlet boundaries in all times. But sometimes outlets should be closed. So I have to change outlet boundary condition to wall condition and then change it to pressure outlet again. I think, I need to use a UDF. Is it right? How can I do that? I am beginner in this subject. BEst Regards, David

 May 30, 2005, 13:47 Re: Changing Boundary Condition #2 ramesh Guest   Posts: n/a I think instead of using a udf U can try this with Exceute commands. Since the applying condition is periodic, u can excute the macro to change the boundary condition with that periodicity. I think this may help u.

 May 31, 2005, 13:11 Re: Changing Boundary Condition #3 David Baker Guest   Posts: n/a Could you tell me more? I don't understand. BR, David

 June 1, 2005, 00:52 Re: Changing Boundary Condition #4 ramesh Guest   Posts: n/a Hi, In execute commands, we can execute macros(see for help in execute commands). We can perform certain repeated tasks for every specified number of iterations or time steps. For example we can write files for every 10 time steps for phase averaging and so on. May be u can write a macro for changing the boundary condition after specified number of time steps from pr outlet to wall and change back again. But I have a doubt whether one can change B.C while solving. Well we try that out. Hope this works.. Tell me when it works.

July 12, 2011, 10:01
#5
New Member

Sergiu Stroe
Join Date: Jun 2010
Posts: 4
Rep Power: 7
Quote:
 Originally Posted by ramesh ;121117 Hi, In execute commands, we can execute macros(see for help in execute commands). We can perform certain repeated tasks for every specified number of iterations or time steps. For example we can write files for every 10 time steps for phase averaging and so on. May be u can write a macro for changing the boundary condition after specified number of time steps from pr outlet to wall and change back again. But I have a doubt whether one can change B.C while solving. Well we try that out. Hope this works.. Tell me when it works.
Hi Ramesh and David,

I'm trying the allmost the same simulation like david and also I don't now how to use that execute comand in order to open each valve!

David: did you find how to do this with execute comand?
Ramesh: Could you help me doing this?

 Thread Tools Display Modes Linear Mode

 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 OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post jasper558 CFX 1 August 24, 2011 18:43 jorkolino OpenFOAM Bugs 2 January 6, 2011 04:14 yating9901 FLUENT 3 June 28, 2010 12:26 HervĂ© CFX 2 June 16, 2008 06:40 Anjum Naveed FLUENT 7 August 14, 2006 12:25

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