|
[Sponsors] |
Injecting a different fluid after certain time |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 27, 2015, 01:45 |
Injecting a different fluid after certain time
|
#1 |
Senior Member
|
Hi..
Sorry to revive an old thread. my doubt is somewhat similar.. My requirement is pipe is initially filled with fluid X. Q quantity of Fluid Y enters the pipe. After that Q quantity of Fluid Z has to enter through the same inlet (like flushing the pipe with fluids one after the other) I have succeeded in flushing the pipe with Fluid Y. I dont know how to continue the simulation by changing the incoming fluid (Z). I have defined the alpha.X alpha.Y alpha.Z. Any hint will be greatly appreciated!! thank you very much Regards Ananth [ Moderator note: Moved from http://www.cfd-online.com/Forums/ope...let-fluid.html ] Last edited by wyldckat; August 2, 2015 at 09:16. Reason: see "Moderator note" |
|
July 29, 2015, 06:43 |
Injecting a different fluid after certain time
|
#2 |
Senior Member
|
Hi,
I am performing a multiphase simulation where pipe is initially filled with mud water. Cement enters through the inlet. After Q vol of cement has been pumped, oil has to be pumped through the same inlet. I have simulated the first step of pumping cement through mud filled pipe(using multiPhaseInterFoam) by setting inlet value of alpha.cement as one and rest 0. but cant understand how to inject oil now. I tried changing the alpha.oil to 1 and alpha.cement as 0 in the latest time step but it doesnt work. I have attached all the case files for reference. It would be very grateful If someone can point out the mistake in my case set up and/or give directions about how to proceed with this simulation. Thank you very much Regards Ananth |
|
July 29, 2015, 11:50 |
|
#3 |
Senior Member
anonymous
Join Date: Aug 2014
Posts: 205
Rep Power: 12 |
Well setting alpha.oil to 1 will certainly blow the simulation. Try changing the U.oil and U.cement
|
|
July 30, 2015, 00:09 |
|
#4 |
Senior Member
|
hi..
I tried that..what i found was U.* is not required for multiphaseInterFoam(may be i am wrong..!!)!!! MultiphaseEulerfoam needs those. thanks a lot for the idea.. Ananth Last edited by Ananthakrishnan; July 30, 2015 at 01:44. |
|
August 2, 2015, 11:35 |
|
#5 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
Greetings to all!
@Ananth: There is a boundary condition named "uniformFixedValue" as of OpenFOAM 2.1.0: http://www.openfoam.org/version2.1.0...conditions.php - if you time things correctly, probably with an "inline table", you can get the U field to start/stop when you want and the same of the other alpha fields. If you Google: Code:
site:www.cfd-online.com/Forums uniformFixedValue Best regards, Bruno
__________________
|
|
August 2, 2015, 11:53 |
|
#6 |
Senior Member
|
Hi bruno..
oh okie.. sounds perfect..thanks a lot for the info. will check it out.. thanks Ananth |
|
August 6, 2015, 02:27 |
|
#7 |
Senior Member
|
Hi bruno,
works perfectly with alpha.* as well.. !! thanks a lot Regard, Ananth |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Extrusion with OpenFoam problem No. Iterations 0 | Lord Kelvin | OpenFOAM Running, Solving & CFD | 8 | March 28, 2016 11:08 |
Star cd es-ice solver error | ernarasimman | STAR-CD | 2 | September 12, 2014 00:01 |
How to write k and epsilon before the abnormal end | xiuying | OpenFOAM Running, Solving & CFD | 8 | August 27, 2013 15:33 |
dynamic Mesh is faster than MRF???? | sharonyue | OpenFOAM Running, Solving & CFD | 14 | August 26, 2013 07:47 |
Could anybody help me see this error and give help | liugx212 | OpenFOAM Running, Solving & CFD | 3 | January 4, 2006 18:07 |