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

Which boundaryField entry for pressure baffle?

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 12, 2023, 09:28
Question Which boundaryField entry for pressure baffle?
  #1
New Member
 
Wilhelm Furian
Join Date: Apr 2023
Location: Berlin
Posts: 16
Rep Power: 2
Florian Mlehliw is on a distinguished road
Hello together!

I have adapted a case by Tobias Holzmann (https://holzmann-cfd.com/community/t...h-safety-valve) to work with my scenario of a dam breach in the mountains (Screenshot here: https://ibb.co/nPGyvMw)

I've adapted his dictionaries into my case and the mesh generation works fine. I use snappyHexMesh, topoSet, createBaffle, and createPatch and define my dam as a baffle using activePressureForceBaffleVelocity in 0/U. This way, the dam should work like a pressure valve and should open after a certain water pressure is reached (the minThresholdValue below is just a placeholder). My boundaryField entry in U looks like this:
Code:
blockedDamBaffle
    {
        type            activePressureForceBaffleVelocity;
        cyclicPatch     dam_master;
        openingTime     0.5;
        maxOpenFractionDelta 0.01;
        openFraction    0;
        minThresholdValue 1500;
        forceBased      false;
        opening         1;
        value           uniform (0 0 0);
     }
Now I want to run my case using interFoam, but before that I need to run setFields. And for that, I have to write an boundaryField entry for my blockedDamBaffle into all the other files in the 0 folder.

I've followed Tobias so far as to insert the following into all the files (cyclic {type cyclic;}), but at least for alpha.water and p_rgh it demands a separate entry for my blockedDamBaffle.

Since I'm only following the tutorial, I'm not sure how to write boundaryField entries for the other files in 0, as Tobias does not have them or doesn't have an entry. Do you have any tips, are there any other tutorials I can look this up?

Thanks a lot!
Florian Mlehliw is offline   Reply With Quote

Reply

Tags
baffles, boundary condition, p_rgh

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
--> FOAM FATAL IO ERROR: Cannot find patchField entry for baffle datztina OpenFOAM 0 June 18, 2021 09:33
error in fireFoam, when running the case wallFireSpread2D zhoubiao1088 OpenFOAM Running, Solving & CFD 9 February 1, 2018 18:45
Problems using createBaffles to create a 3D thermal baffle zfaraday OpenFOAM Running, Solving & CFD 10 September 6, 2017 17:07
meshing of a compound volume in GMSH shawn3531 OpenFOAM 4 March 12, 2015 10:45
Problem in3D model processing mebinitap OpenFOAM 2 December 12, 2014 04:40


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