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

The simplest way to shut off the flow in a pipe

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 9, 2020, 12:19
Default The simplest way to shut off the flow in a pipe
  #1
New Member
 
Gui Miotto
Join Date: Feb 2020
Posts: 4
Rep Power: 2
miotto is on a distinguished road
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.
miotto is offline   Reply With Quote

Old   February 9, 2020, 13:00
Default
  #2
HPE
Senior Member
 
Herpes Free Engineer
Join Date: Sep 2019
Posts: 298
Rep Power: 3
HPE is on a distinguished road
bro, your question is very broad, I think, for anyone would help you.
__________________
Kind regards,
HPE

The OpenFOAM community is the biggest contributor to OpenFOAM; not person A or B. Let's report bugs or issue feature requests in GitLab-OpenFOAM.

Please `design` your questions well. Such effort always pays off well for inquirers and `helpmate`s:
How to create a Minimal, Reproducible Example,
How to give enough info to get help.
HPE is offline   Reply With Quote

Old   February 9, 2020, 13:31
Default
  #3
New Member
 
Gui Miotto
Join Date: Feb 2020
Posts: 4
Rep Power: 2
miotto is on a distinguished road
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?
miotto is offline   Reply With Quote

Old   February 10, 2020, 14:18
Default
  #4
Senior Member
 
Lucky Tran
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 3,744
Rep Power: 45
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
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.
LuckyTran is offline   Reply With Quote

Old   February 11, 2020, 09:39
Default
  #5
New Member
 
Gui Miotto
Join Date: Feb 2020
Posts: 4
Rep Power: 2
miotto is on a distinguished road
Quote:
Originally Posted by LuckyTran View Post
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.

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?
miotto is offline   Reply With Quote

Reply

Tags
interfoam

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
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


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