CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Pre-Processing

Internal Baffle Dynamic Boundary Condition

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 6, 2013, 23:10
Default Internal Baffle Dynamic Boundary Condition
  #1
Member
 
W. Schuyler Hinman
Join Date: Apr 2013
Location: Calgary, Alberta, Canada
Posts: 38
Rep Power: 12
schuyler is on a distinguished road
Hi Everyone,

I am working on a simulation where I essentially want a shock tube with a driver and a driven section (high pressure low pressure). But instead of like in the shock tube tutorial, I want to have the two sections separated by an interior baffle (inf thin) face that will open with time, given a function of time that I will define. Has anybody attempted to do something like this? The simulation would be 2dimensional, x and y and frontandback would be empty.

Making the internal face using toposet and createBaffles seems straight forward enough... but I don't know how to approach the time varying aspect. Can I have two baffles that shorten with time? Or is there a way I could code a boundary condition in the middle that has some sort of No flux->flux varying with time etc?

I have been using OpenFoam for just over a year and this is my first problem that has stepped outside the "standard" type of boundary condition. Any wise tips to save any fools errands would be greatly appreciated.

Thanks

S.
schuyler is offline   Reply With Quote

Old   December 9, 2013, 17:19
Default
  #2
Senior Member
 
mturcios777's Avatar
 
Marco A. Turcios
Join Date: Mar 2009
Location: Vancouver, BC, Canada
Posts: 740
Rep Power: 28
mturcios777 will become famous soon enough
The attachDetach mesh modifier sounds like it could do the trick. Note that you would need to create your own mesh class for it. Its working in OpenFOAM 2.1.x-2.2.x, you can look at my bug reports getting it to work here:

http://www.openfoam.org/mantisbt/view.php?id=572

Good luck!
mturcios777 is offline   Reply With Quote

Old   December 13, 2013, 12:17
Default
  #3
Member
 
W. Schuyler Hinman
Join Date: Apr 2013
Location: Calgary, Alberta, Canada
Posts: 38
Rep Power: 12
schuyler is on a distinguished road
Thanks a lot Marco,

You are right the attachDetach utility is what I am looking for I think. So if I were to approach the problem by making a large number of internal faces in my tube that by using trigger times would subsequently attach to simulate the valve opening would this work?

S.
schuyler is offline   Reply With Quote

Old   December 13, 2013, 12:30
Default
  #4
Senior Member
 
mturcios777's Avatar
 
Marco A. Turcios
Join Date: Mar 2009
Location: Vancouver, BC, Canada
Posts: 740
Rep Power: 28
mturcios777 will become famous soon enough
Attach detach would definitely do what you are asking as far as mesh topology changes. If you are at high pressure or velocity you may have to work a little harder to keep the simulation stable. There is a case included in the bug report that works once the fixes described in the thread are implemented. Please let me know if you have any questions.
mturcios777 is offline   Reply With Quote

Reply

Tags
changing internal face, dynamic boundary, dynamic internal baffle, dynamic internal face, internal baffle

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
CFX fails to calculate a diffuser pipe flow shenying0710 CFX 7 March 26, 2013 04:13
inlet velocity boundary condition murali CFX 5 August 3, 2012 08:56
boundary condition of an internal surface ynsudo OpenFOAM Running, Solving & CFD 7 September 14, 2011 04:17
RPM in Wind Turbine Pankaj CFX 9 November 23, 2009 04:05
How to define Dynamic Mesh boundary condition? David FLUENT 0 February 11, 2004 08:48


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