|
[Sponsors] |
October 7, 2010, 07:10 |
Coupled domains with two different fluids
|
#1 |
New Member
Brian
Join Date: Aug 2010
Location: Southampton
Posts: 12
Rep Power: 16 |
Morning all,
I am currently trying to bring an idea over from FLUENT into OF. I am essentially simulating water flow over air, where I know the interface can be idealised as fixed and flat. So my approach is to define two separate domains, one for water and one for air, and then couple the domains using groovyBC at the interface. I am just using icoFoam at the moment. I have physically separated the domains so that there is space between them as there appears to be no double sided wall option in OF. I thought I had done the hard part and managed to sort out the BCs to couple the domain but have now got well and truly stuck. In FLUENT you can easily define the properties of fluid1 in domain1 and fluid2 in domain2, but I cannot see how to do this in openfoam. So my question is essentially, can I have two different domains with icofoam and have a different fluid in each? Hope that someone can help Thanks |
|
October 7, 2010, 08:10 |
|
#2 |
Senior Member
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 30 |
Wouldn't chtMultiRegionFoam be exactly what you are looking for?
Edit: Sorry, disregard that. You might be able to build something on top of chtMultiRegionFoam to couple the velocity vector fields though. |
|
October 7, 2010, 08:37 |
|
#3 |
New Member
Brian
Join Date: Aug 2010
Location: Southampton
Posts: 12
Rep Power: 16 |
Thanks very much for the quick response. That looks like the way I should be heading... I hadn't thought that I would need a separate solver for multiple regions.
I will post back when I have something |
|
October 11, 2010, 13:51 |
|
#4 |
New Member
Brian
Join Date: Aug 2010
Location: Southampton
Posts: 12
Rep Power: 16 |
Hi all,
For future reference, I solved my problem by adding in a passive scalar transport equation to icoFoam. This equation was for the viscosity, but I set d_nu/dt() = 0 and used setFields to define different values of viscosity for each domain. The value for nu in the Ueqn is then taken as the local value of this scalar field. This nullifies the reading of nu in transportProperties, and two values of nu are set in setFields. ttfn |
|
Tags |
domain, fluid, groovybc, icofoam, interface |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Fluids from two Inlets opposing each other | Arvind | CFX | 18 | February 10, 2017 18:11 |
Modelling a problem with to different Fluids | mak86 | CFX | 2 | January 23, 2013 11:41 |
Examples of implicitly coupled domains | nadine | OpenFOAM Running, Solving & CFD | 3 | August 15, 2008 19:53 |
can i put 2 different fluids into to 2 domains? | prayskyer | CFX | 1 | May 18, 2006 09:47 |
Coupled 1D/3D STAR-CD Training | CD adapco Group Marketing | Siemens | 1 | November 13, 2002 16:48 |