CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

activePressureForceBaffleVelocity

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 1 Post By Tobi
  • 1 Post By CBranch171

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 10, 2021, 04:10
Default activePressureForceBaffleVelocity
  #1
New Member
 
London
Join Date: Dec 2020
Posts: 10
Rep Power: 5
CBranch171 is on a distinguished road
Hi, I'm look for any openfoam example that uses activePressureForceBaffleVelocity as a boundary condition. I understand it requires two cycle patches but I struggling to see this implemented anywhere.

I would like to use this for modelling a bursting disk. So when the pressure gets to a certain value the baffle opens and allows flow into the downstream domain from master to slave.

I currently have an example that uses a pressure jump for an actuator disk would this serve as a basis and I substitute the activePressureForceBaffleVelocity BC. I basically want to make sure I have all the correct syntax.
CBranch171 is offline   Reply With Quote

Old   October 8, 2021, 14:37
Default
  #2
Super Moderator
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Tussenhausen
Posts: 2,708
Blog Entries: 6
Rep Power: 51
Tobi has a spectacular aura aboutTobi has a spectacular aura aboutTobi has a spectacular aura about
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
Still interested or almost over?
__________________
Keep foaming,
Tobias Holzmann
Tobi is offline   Reply With Quote

Old   October 9, 2021, 06:09
Default activePressureForceBaffleVelocity
  #3
New Member
 
London
Join Date: Dec 2020
Posts: 10
Rep Power: 5
CBranch171 is on a distinguished road
Hi yes I’m still interested in getting a working example on this

Thanks
CBranch171 is offline   Reply With Quote

Old   October 11, 2021, 16:32
Default
  #4
Super Moderator
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Tussenhausen
Posts: 2,708
Blog Entries: 6
Rep Power: 51
Tobi has a spectacular aura aboutTobi has a spectacular aura aboutTobi has a spectacular aura about
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
Hey,

I am working on a new tutorial that I will publish on my website. The aim is to simulate a vessel which does have a valve that opens after a defined pressure difference is reached (such as a rapture disc or safety valve). An impression is given below.




However for a first idea it is as follows:
  • Create your geometry (here the tank)
  • Use topoSet to create a face set. The face set includes all faces that are representing the rapture disc (or a valve or anything else). One can also add it to the snappyHexMeshDict to get a correct surface representation. However, the faces should be selected using topoSet
  • Convert the face set into a faceZone (also done in topoSet)
  • Use createBaffles to quadroplicate (nice word) the faces
    • a couple of cyclic patches
    • a couple of wall patches
  • Use createPatch to merge the walls into one patch (checkMesh will throw an error but its okay)
  • You are ready to go » for U apply the boundary condition on the merged wall patch and set the cyclic to the corresponding name


That's it.
If its to complicated, I will upload the case probably during the case.
acgnipper likes this.
__________________
Keep foaming,
Tobias Holzmann
Tobi is offline   Reply With Quote

Old   October 14, 2021, 01:57
Default
  #5
Super Moderator
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Tussenhausen
Posts: 2,708
Blog Entries: 6
Rep Power: 51
Tobi has a spectacular aura aboutTobi has a spectacular aura aboutTobi has a spectacular aura about
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
Hey,

I finished the case and published it on my website. Enjoy.

Tobi
__________________
Keep foaming,
Tobias Holzmann
Tobi is offline   Reply With Quote

Old   October 14, 2021, 02:49
Default Baffles etc
  #6
New Member
 
London
Join Date: Dec 2020
Posts: 10
Rep Power: 5
CBranch171 is on a distinguished road
Thanks I will go through it

Much apresciated.
Tobi likes this.
CBranch171 is offline   Reply With Quote

Old   November 24, 2022, 05:34
Default Openfoam 10 versus 2112
  #7
New Member
 
London
Join Date: Dec 2020
Posts: 10
Rep Power: 5
CBranch171 is on a distinguished road
Hi Tobi

I am still working on this problem. I am using openfoam 10 and you have used openfoam 2112. Is there a reason for you switching to openfoam 2112. I cannot get this to work, i.e. create the 4 required patches with openfoam 10. I just post a question on this.
CBranch171 is offline   Reply With Quote

Old   November 24, 2022, 11:33
Default
  #8
Super Moderator
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Tussenhausen
Posts: 2,708
Blog Entries: 6
Rep Power: 51
Tobi has a spectacular aura aboutTobi has a spectacular aura aboutTobi has a spectacular aura about
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
I am working within the team of ESI-OpenCFD, hence, I am involved into the developments here and also know whats released and whats going on

Thats why I used v2112.
__________________
Keep foaming,
Tobias Holzmann
Tobi is offline   Reply With Quote

Old   November 24, 2022, 12:39
Default
  #9
New Member
 
London
Join Date: Dec 2020
Posts: 10
Rep Power: 5
CBranch171 is on a distinguished road
Perfect. Nice to know why the change occurred. I can confirm 2206 is working and I get my cyclic patches and walls. Next step is to add the boundary condition.
CBranch171 is offline   Reply With Quote

Old   November 24, 2022, 12:57
Default
  #10
Super Moderator
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Tussenhausen
Posts: 2,708
Blog Entries: 6
Rep Power: 51
Tobi has a spectacular aura aboutTobi has a spectacular aura aboutTobi has a spectacular aura about
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
Yes, because my patch was added to v2206.
__________________
Keep foaming,
Tobias Holzmann
Tobi is offline   Reply With Quote

Old   December 6, 2022, 04:39
Default use with twoPhaseEulerFoam
  #11
New Member
 
London
Join Date: Dec 2020
Posts: 10
Rep Power: 5
CBranch171 is on a distinguished road
Hi Toby

I am using twoPhaseEulerFoam and have U.gas and U.water field. In your example you only have single U field. Do I apply the activePressureForceBaffleVelocity to each field so define it twice and do I need double the cyclic patches now.

i.e. you had 4 - 2 cyclic and 2 walls for a single U field

do I need 8 - gas (2 cyclic and 2 walls) and water (2 cyclic and 2 walls)

or can I use the same patches in the U.gas and U.water bc.

Thanks
CBranch171 is offline   Reply With Quote

Reply

Tags
bondary conditions


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



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