|
[Sponsors] |
January 8, 2009, 18:16 |
Hi guys
I am trying to simu
|
#1 |
New Member
Ali Mansouri
Join Date: Mar 2009
Posts: 15
Rep Power: 17 |
Hi guys
I am trying to simulate a simple mixing problem, 2D, single phase, turbulent and mixing in cross flow jets... how can I add two species equations? should I use turboFoam ? is there any tutorial etc ? thank you! Ali. |
|
January 9, 2009, 06:37 |
Hi Ali,
here's a simple exa
|
#2 |
Member
Ville Tossavainen
Join Date: Mar 2009
Posts: 60
Rep Power: 17 |
Hi Ali,
here's a simple example how to add a (passive) scalar to an existing solver: http://openfoamwiki.net/index.php/Ho...ure_to_icoFoam The example is for laminar solver, but in the similar way you can start from turbulent flow solver. "simpleFoam" is for steady-state problems and "turbFoam" for transient problems. Hope this helps! Ville |
|
January 9, 2009, 18:05 |
thanks Ville!
have you see
|
#3 |
New Member
Ali Mansouri
Join Date: Mar 2009
Posts: 15
Rep Power: 17 |
thanks Ville!
have you seen any tutorial in this area ? Ali. |
|
January 11, 2009, 08:33 |
At the end of the wiki webpage
|
#4 |
Member
Ville Tossavainen
Join Date: Mar 2009
Posts: 60
Rep Power: 17 |
At the end of the wiki webpage there is a case file for the cavity flow case. But once you have created the solver, most of the work is done. Then you can just apply it to your case.
Or if you insist to have a simpler case, you can first modify icoFoam elbow mixing tutorial for one passive scalar. |
|
January 12, 2009, 16:00 |
Hi Ville
If I would like to
|
#5 |
New Member
Ali Mansouri
Join Date: Mar 2009
Posts: 15
Rep Power: 17 |
Hi Ville
If I would like to have two passive scalars, then should I add two equations ? since in Fluent you add only one and the second one its just decuction from the whole field (e.g. concentration). do you also have any idea about this error Foam Fatal error" attempt to read beyond EOF" thanks alot! |
|
January 12, 2009, 16:46 |
Yes, that's correct. Two equat
|
#6 |
Member
Ville Tossavainen
Join Date: Mar 2009
Posts: 60
Rep Power: 17 |
Yes, that's correct. Two equations for two passive scalars. Twice as much to write
I'm not sure what you mean about Fluent? Practically you can do the same thing with Fluent and OpenFOAM. The last error... check your code if you're missing any closing parenthesis or ";". Good luck with foaming! |
|
January 12, 2009, 17:20 |
Hi Ali!
What you're talking
|
#7 |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Hi Ali!
What you're talking about ("in Fluent") is the case that for the two scalars the relation s1+s2==1 is always true (because there are no other species)? In that case you can always solve for s1 and then calculate s2=1-s1 Bernhard
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to solver coupled transport equations | chris1980 | OpenFOAM Running, Solving & CFD | 8 | October 29, 2019 08:15 |
Convergence of turbulence transport equations | KK | CFX | 0 | January 31, 2008 21:46 |
Under-Relaxation of Transport Equations | Florian Fruth | CFX | 6 | July 16, 2007 09:59 |
Scalar Transport Equations | David harvey | FLUENT | 1 | January 31, 2004 07:15 |
Scalar Transport Equations | 123 | Main CFD Forum | 6 | August 10, 1998 10:05 |