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

Timed inlets

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 31, 2022, 17:51
Post Timed inlets
  #1
New Member
 
Diego Rodrigo
Join Date: Sep 2022
Posts: 5
Rep Power: 4
d3co is on a distinguished road
Hello,
So im currently doing a VOF (multiphase) simulation with water and air and my geometry has 3 inlets.

Is there a way to make each inlet "open" and start water flow at different times?

for example, at time 0 start with the inlet on the center, and after 100 sec close it and start with the other 2 inlets on the sides.


Regards
d3co is offline   Reply With Quote

Old   November 3, 2022, 02:58
Default
  #2
Member
 
Al Csc
Join Date: Jul 2018
Posts: 31
Rep Power: 8
al.csc is on a distinguished road
Heave you tried a simple solution like https://www.openfoam.com/documentati...xed-value.html ?

For example, for the volume fraction (and accordingly all the other variables and patches):

inlet_main
{
type uniformFixedValue;
uniformValue table
(
(0 1)
(100 1)
(100.1 0)
);
}
al.csc is offline   Reply With Quote

Old   November 3, 2022, 09:44
Default
  #3
New Member
 
Diego Rodrigo
Join Date: Sep 2022
Posts: 5
Rep Power: 4
d3co is on a distinguished road
Hi,

thanks for your answer, yes i have, but from what i understand (i could be wrong though) when i put something like:


uniformValue table
(
(0 (0 0 0)
(100 (0 1 0)
);
}
to start flow on the second inlet at 100 sec, the flow starts at 0 U but very slow till it gets to 1. It is taking a lot of time to simulate.
d3co is offline   Reply With Quote

Old   November 3, 2022, 10:47
Default
  #4
Member
 
Al Csc
Join Date: Jul 2018
Posts: 31
Rep Power: 8
al.csc is on a distinguished road
I made the example for alpha.
If you talk about velocity:

uniformValue table
(
(0 (0 1 0) // open
(100 (0 1 0) // start closing
(100.1 (0 0 0) //close
);

Of course, also the other variables need to be changed accordingly.

100 s is a very long physical time, I am not surprised it takes time. Depending on what you want to get, you may consider Co = 10 and multiple PIMPLE loop.

Cheers
al.csc is offline   Reply With Quote

Old   November 4, 2022, 12:08
Default
  #5
New Member
 
Diego Rodrigo
Join Date: Sep 2022
Posts: 5
Rep Power: 4
d3co is on a distinguished road
Hi,
Thank you, im going to try that, what do you mean by Co=10 and multiple PIMPLE loop, is that in fvSolution?
d3co is offline   Reply With Quote

Reply

Tags
multiphase, vof. interfoam


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
Dissimilar fluids for two separate inlets in compressible flow modeling Zahid123 SU2 1 September 1, 2022 13:04
UDF Parabolic Inlet Profile for Multiple Inlets luisvolumentres Fluent UDF and Scheme Programming 4 December 21, 2021 12:52
Two pressure inlets problem Medison CFX 1 August 22, 2012 07:50
Multiple Inlets Charlie V FLUENT 0 May 28, 2001 03:29
create Volume with inlets Roman Bohnes FLUENT 10 December 6, 1999 05:43


All times are GMT -4. The time now is 14:20.