
[Sponsors] 
August 22, 2006, 23:45 
Hi all,
I have been working

#1 
Member
Shaun Cooper
Join Date: Mar 2009
Posts: 54
Rep Power: 8 
Hi all,
I have been working with openFOAM for a little while now but I am still having trouble creating the model I would like. I am able to create the mesh and the initial fields but I am not able to get the model to solve. Essentially I have two fluids; one that occupies the entire domain (a 3D rectangular Prism) whilst the other flows through the domain, with the shape of a tube. There are 3 equations that I would like to include: the continuity equation, a momentum equation and a temperature equation. I would like to solve for density (or pressure), Velocity and Temperature. The momentum equation has the following terms: Lagragian Derivative of U  gravity  viscosity (laplacian of U) + iondrag (difference of the two fluid velocities) = pressure gradient. The temperature equation has the following: Lagrangian Derivative of T + conductive heating term (Laplacian of T) + work term (T times divergence of U) = time rate of change of kinetic energy (time derivative of kinetic energy equation (.5mv^2)). Is it possible to model such a problem with openFOAM. If so, which tutorial solver is the closest maatch for this model, ie which solver should I begin with and 'hack' into the solver I require. If someone is able to help but needs more information on the problem let me know and I can email the details. Thanks in advance, Shaun 

August 23, 2006, 05:56 
That depends on how the 2 flui

#2 
Senior Member
Eugene de Villiers
Join Date: Mar 2009
Posts: 725
Rep Power: 12 
That depends on how the 2 fluids are coupled.


August 23, 2006, 18:48 
Thanks for the response Eugene

#3 
Member
Shaun Cooper
Join Date: Mar 2009
Posts: 54
Rep Power: 8 
Thanks for the response Eugene,
There is simply a oneway coupling. The fluid that occupies the entire domain is affected by the fluid that flow in a 'tube'. The fluid that flows in the 'tube' is not effected by anything. Do you think this sort of problem could be model in openFOAM? I started working with sonicTurbFoam but the turbulence part of the model is not important to us. Also, with this solver, adjusted a little to suit the equations I need, give solution singularities for pressure, which of course leads to all other fields having either solution singularities or NANs. Thanks Shaun 

August 24, 2006, 04:37 
Unless your flow is hypersonic

#4 
Senior Member
Eugene de Villiers
Join Date: Mar 2009
Posts: 725
Rep Power: 12 
Unless your flow is hypersonic, I would use rhoTurbFoam as a starting point, not a sonic code.
How do you accomplish the coupling at present? 

August 24, 2006, 04:42 
Sorry, I meant to say "transon

#5 
Senior Member
Eugene de Villiers
Join Date: Mar 2009
Posts: 725
Rep Power: 12 
Sorry, I meant to say "transonic"


August 24, 2006, 22:57 
Hi Eugene
The flows will al

#6 
Member
Shaun Cooper
Join Date: Mar 2009
Posts: 54
Rep Power: 8 
Hi Eugene
The flows will all be subsonic. Also, we are not interested in the turbulence associated with the flows. Does it make the model more stable to include the kepsilon turbulence model? At the moment the coupling between the two fluids in the momentum equation is achieved from a term that consists of the difference between the to velocity fields (multiplied by a collisional frequency coefficient). In the energy equation the coupling is of the same form expect the velocity difference is squared here. Thanks for your interest and assistance, Shaun 

August 27, 2006, 21:11 
I meant to say that the energy

#7 
Member
Shaun Cooper
Join Date: Mar 2009
Posts: 54
Rep Power: 8 
I meant to say that the energy equation is coupled in the same way as the momentum equation EXCEPT the velocity difference is squared.
Shaun 

Thread Tools  
Display Modes  


Similar Threads  
Thread  Thread Starter  Forum  Replies  Last Post 
Heat transfer in liquid water suggestions for chioce of solver  hkb  OpenFOAM Running, Solving & CFD  25  July 23, 2009 08:16 
Suggestions for a fan  fra76  OpenFOAM Running, Solving & CFD  21  January 29, 2008 11:41 
Going to buy RAM, suggestions?  HSeldon  FLUENT  3  May 21, 2007 08:01 
Need some suggestions  Dazhu  Main CFD Forum  0  October 3, 2006 10:11 
Any suggestions?  Montresor  FLUENT  3  June 29, 2001 07:21 