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

Coupled domains with two different fluids

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 7, 2010, 06:10
Default Coupled domains with two different fluids
  #1
New Member
 
Brian
Join Date: Aug 2010
Location: Southampton
Posts: 12
Rep Power: 15
General_Gee is on a distinguished road
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
General_Gee is offline   Reply With Quote

Old   October 7, 2010, 07:10
Default
  #2
Senior Member
 
akidess's Avatar
 
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 29
akidess will become famous soon enough
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.
akidess is offline   Reply With Quote

Old   October 7, 2010, 07:37
Default
  #3
New Member
 
Brian
Join Date: Aug 2010
Location: Southampton
Posts: 12
Rep Power: 15
General_Gee is on a distinguished road
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
General_Gee is offline   Reply With Quote

Old   October 11, 2010, 12:51
Default
  #4
New Member
 
Brian
Join Date: Aug 2010
Location: Southampton
Posts: 12
Rep Power: 15
General_Gee is on a distinguished road
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
General_Gee is offline   Reply With Quote

Reply

Tags
domain, fluid, groovybc, icofoam, interface


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
Fluids from two Inlets opposing each other Arvind CFX 18 February 10, 2017 17:11
Modelling a problem with to different Fluids mak86 CFX 2 January 23, 2013 10:41
Examples of implicitly coupled domains nadine OpenFOAM Running, Solving & CFD 3 August 15, 2008 18:53
can i put 2 different fluids into to 2 domains? prayskyer CFX 1 May 18, 2006 08:47
Coupled 1D/3D STAR-CD Training CD adapco Group Marketing Siemens 1 November 13, 2002 15:48


All times are GMT -4. The time now is 18:26.