|
[Sponsors] |
Solving transport equations with known velocity field |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 6, 2012, 06:20 |
Solving transport equations with known velocity field
|
#1 |
Senior Member
|
Hi.
1) I want to solve 2 transport equations with known velocity field. First i want to solve coupled equations of momentum, energy and mass conservation to compute velocity field and pressure and also temperature. after solving these equations and by known velocity field i want to solve 2 other transport equations. How can i do that in openFoam? 2) my second question is that is there anyway to include heat transfer coefficient in openfoam? or it will be computed automatically? if yes, then how can I find it? 3) I am modeling a room with heat sources which both natural convection and forced convection are significant. my case is incompressible. which solver do u suggest to use and how can i see the effects of forced convection? Regards Mojtaba ~ |
|
August 6, 2012, 06:49 |
|
#2 | |
Senior Member
Daniel P. Combest
Join Date: Mar 2009
Location: St. Louis, USA
Posts: 621
Rep Power: 0 |
Quote:
2. Not sure 3. buoyantBoussinesqSimplFoam? Give the forum a good search for passive scalar transport, natural convection, buoyancy,.... This will answer all of your questions. Hopefully this will get you started. |
||
August 6, 2012, 07:08 |
|
#3 | |
Senior Member
|
Quote:
1) well i have already seen that tutorials. i want to know how can i solve transport equation after finishing solving for U,p and T. is it possible? regards Last edited by Mojtaba.a; August 6, 2012 at 07:38. |
||
August 6, 2012, 07:27 |
|
#4 |
Senior Member
Daniel P. Combest
Join Date: Mar 2009
Location: St. Louis, USA
Posts: 621
Rep Power: 0 |
Yes, its possible. You will need to add your volScalarField for your scalar, formulate the implicit equation and then solve it as usual. If it is strongly coupled with the momentum equation (active) you can solve it inside the PISO/SIMPLE loop and if its a passive scalar (one-way coupled) you can solve it at the end of the time-step.
|
|
August 6, 2012, 07:42 |
|
#5 | ||
Senior Member
|
Quote:
Quote:
|
|||
August 6, 2012, 08:24 |
|
#6 |
Senior Member
Daniel P. Combest
Join Date: Mar 2009
Location: St. Louis, USA
Posts: 621
Rep Power: 0 |
Code:
while (simple.loop()) { Info<< "Time = " << runTime.timeName() << nl << endl; p_rgh.storePrevIter(); // Pressure-velocity SIMPLE corrector { #include "UEqn.H" #include "TEqn.H" //<--here for active scalar #include "pEqn.H" } turbulence->correct(); //<-- here for passive scalar that depends on turbulence runTime.write(); Info<< "ExecutionTime = " << runTime.elapsedCpuTime() << " s" << " ClockTime = " << runTime.elapsedClockTime() << " s" << nl << endl; } |
|
August 6, 2012, 08:43 |
|
#7 | |
Senior Member
|
Quote:
Thanks chegdan ~ |
||
Tags |
heat transsfer, hvac, room, transport equation |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
transsonic nozzle with rhoSimpleFoam | Unseen | OpenFOAM Running, Solving & CFD | 8 | July 1, 2022 07:54 |
Multiple floating objects | CKH | OpenFOAM Running, Solving & CFD | 14 | February 20, 2019 10:08 |
High Courant Number @ icoFoam | Artex85 | OpenFOAM Running, Solving & CFD | 11 | February 16, 2017 14:40 |
MRFSimpleFOAM goes divergenced! | renyun0511 | OpenFOAM Running, Solving & CFD | 0 | November 19, 2009 03:11 |
Problems with simulating TurbFOAM | barath.ezhilan | OpenFOAM | 13 | July 16, 2009 06:55 |