|
[Sponsors] |
The simplest way to shut off the flow in a pipe |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
February 9, 2020, 12:19 |
The simplest way to shut off the flow in a pipe
|
#1 |
Member
Gui Miotto
Join Date: Feb 2020
Posts: 30
Rep Power: 6 |
In my model I would like to block the flow in a pipe at a specific time. What is the simplest way to do this?
I don't need the realistic behavior of a valve here. An instantaneous shut off would be enough. |
|
February 9, 2020, 13:00 |
|
#2 |
Senior Member
Herpes Free Engineer
Join Date: Sep 2019
Location: The Home Under The Ground with the Lost Boys
Posts: 931
Rep Power: 13 |
bro, your question is very broad, I think, for anyone would help you.
__________________
The OpenFOAM community is the biggest contributor to OpenFOAM: User guide/Wiki-1/Wiki-2/Code guide/Code Wiki/Journal Nilsson/Guerrero/Holzinger/Holzmann/Nagy/Santos/Nozaki/Jasak/Primer Governance Bugs/Features: OpenFOAM (ESI-OpenCFD-Trademark) Bugs/Features: FOAM-Extend (Wikki-FSB) Bugs: OpenFOAM.org How to create a MWE New: Forkable OpenFOAM mirror |
|
February 9, 2020, 13:31 |
|
#3 |
Member
Gui Miotto
Join Date: Feb 2020
Posts: 30
Rep Power: 6 |
Hey, bro, sorry about that. I'm totally new to CFD and OpenFOAM.
Let me try again Lets suppose I have a "2D" model made of just one block. This block being divided into x cells in the i direction and y cells in the j direction. Now lets suppose that the left face of left most cells is the inlet with (with p=p_in) and the right face of right most cell is the outlet (with p=p_out). All the other boundary conditions are walls. Assume p_in > p_out and we have flow. So far so good, this I can do. But what if at a specific time t_shut, I need to block this flux in certain point of the model. Say, right in the middle (i=x/2), how can I do that? Can I use some kind of baffle? If yes, how can I make it appear just at t=t_shut? |
|
February 10, 2020, 14:18 |
|
#4 |
Senior Member
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,754
Rep Power: 66 |
I would change a boundary condition and not try to force a stop in the interior domain. You can just change the boundary condition type at the right outlet into a wall.
1)Run your case up to the shutoff time. You should now have a case with a time dir at the shutoff time, say 3.14159. If not, then change the appropriate settings in controlDict so that you do. 2) Now change the BC type in the 3.14159 time dir. You can use the changeDictionary utility or you can do it manually with a text editor by editing the p, U, etc. file. 3) Run the case starting now from the shutoff time to whatever time. |
|
February 11, 2020, 09:39 |
|
#5 | |
Member
Gui Miotto
Join Date: Feb 2020
Posts: 30
Rep Power: 6 |
Quote:
Thank you for the instructive reply, LuckyTran. Nevertheless, shutting off the right outlet wont work for me, because the phenomena I want to observe is indeed downstream to the valve. Any ideas? |
||
Tags |
interfoam |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Pipe flow with obstacle - HELP | Min | FLUENT | 6 | January 31, 2017 15:28 |
Setting boundary conditions for simple pipe flow with flow direction changing in time | Sipher | FLUENT | 1 | May 4, 2015 21:05 |
[GAMBIT] meshing in GAMBIT, a flow through a pipe having complex inflow geometry | mazhar1613 | ANSYS Meshing & Geometry | 1 | January 12, 2012 00:18 |
[ASK] Flow in Corrugated Pipe with FLUENT | Primadhani | FLUENT | 1 | May 11, 2011 21:41 |
Pipe Flow | Saima | CFX | 1 | January 10, 2011 17:41 |