|
[Sponsors] |
October 5, 2009, 12:28 |
Heat source in porous zone
|
#1 |
Member
Thomas Wolfanger
Join Date: Mar 2009
Location: South West Germany
Posts: 62
Rep Power: 17 |
Hello Foamers,
I want to model a flow with a porous zone which works well using rhoPorousSimpleFoam in OF 1.6.x. In a next step, I want to add a heat sink to the porous medium. Is it a good idea to use (and probably extend) the porousZone machinery to this end or is it a better idea to do something on the solver level? A possible approach is to modify the hEqn with an appropriate source term and multiply it with a field value which corresponds to 1 in the porous region and 0 elsewhere, but this seems not to be very elegant. What do you think? Best regards, -Thomas |
|
June 8, 2011, 09:04 |
|
#2 |
New Member
Dima Risch
Join Date: Jun 2011
Location: Cologne
Posts: 22
Rep Power: 15 |
hallo Thomas,
i want as well to add a heat source to the porous zone like you, and want to ask how you handle this? kind regards, Dima |
|
June 17, 2011, 04:47 |
|
#3 |
New Member
Dima Risch
Join Date: Jun 2011
Location: Cologne
Posts: 22
Rep Power: 15 |
great job guys
looks like what i am looking for is implemented in OF 2.0.0 best regards, Dima |
|
June 17, 2011, 10:43 |
|
#4 |
New Member
Gian Maria Di Stefano
Join Date: Jan 2011
Location: University of Applied Science Manno (CH)
Posts: 10
Rep Power: 15 |
What theory model are you using?
I have the same problem, but I have resolved it applying a modify to hentalpy equation, changing the laplacian therm |
|
June 17, 2011, 11:15 |
|
#5 |
New Member
Dima Risch
Join Date: Jun 2011
Location: Cologne
Posts: 22
Rep Power: 15 |
at the moment i am using just test models, like pitzDaily or a simple inlet outlet channel (tube) with a pZone in it
i was going to resolve it by applying a modify to hEqn as well, changing the source term -> not finished at the moment, just at the beginning in the new version of OpenFoam there is a thermalPorousZone model (fixedTemperature) in my further work i will try to add a new model something like fixedEnthaly but my knowledge of the OF source structure is low at the moment, so i hope there is not a lot of change to do |
|
June 22, 2011, 05:56 |
|
#6 |
New Member
Join Date: Mar 2009
Posts: 29
Rep Power: 17 |
Hi Dima,
Did you succeed in using the fixedTemperature model for thermalPorousZone ? When I try it on the rhoPorousMRFSimpleFoam tutorial, it gives me strange behaviour with T (near 0 after the thermal porousZone) and with rho (limited at 1.5 by fvSolution also after the porousZone). I get this behaviour with different values for the temperature coefficient (even 0). Could you tell me if you experienced this model ? Best regards, Fabien |
|
June 22, 2011, 08:01 |
|
#7 |
New Member
Dima Risch
Join Date: Jun 2011
Location: Cologne
Posts: 22
Rep Power: 15 |
Hi Fabien,
i didn't succeed in using the angledDuct case too, the same problems occur so something might be wrong to the calculation (hDiag and hSource) in fixedTemperature.C or the (rho) settings in the fvSolution ... but i am not familiar with that at the moment regards, Dima |
|
June 30, 2011, 09:35 |
|
#8 |
New Member
Dima Risch
Join Date: Jun 2011
Location: Cologne
Posts: 22
Rep Power: 15 |
hello,
i changed the fixedTemperature.C ... forAll(zones, zoneI) { const labelList& cells = mesh.cellZones()[zones[zoneI]]; forAll(cells, i) { hDiag[cells[i]] += 1/rate*V[cells[i]]*rho[cells[i]]; hSource[cells[i]] += V[cells[i]]*rho[cells[i]]*T_; } } it looks much better now, but not correct at all would be nice if someone who knows how to handle this could reply regards, Dima |
|
January 26, 2012, 08:26 |
|
#9 | |
Senior Member
Andrea Pasquali
Join Date: Sep 2009
Location: Germany
Posts: 142
Rep Power: 17 |
Hi Dima,
I'm workin on thermal porous media too. I checked the OF 2.1 and the fixedTemperature eqn. source is fixed with Cp: Quote:
I'm trying also to implement non-fixedT, maybe a powerLaw, but I don't know which kind of law I can use. Do you know something about it?
__________________
Andrea Pasquali |
||
May 4, 2012, 06:38 |
|
#10 |
New Member
Join Date: Mar 2009
Posts: 29
Rep Power: 17 |
Hi Andrea,
Did you manage to implement a non-fixedT law in the thermalPorousZone ? If yes, would you mind sharing it with me ? I tried by myself but I'm stuck with hDiag and hSource, I don't unserstand how it works with hEqn. No matter what I try, I got weird results in the temperature field (mostly very low or very high T field). Thanks, Fabien |
|
May 4, 2012, 16:59 |
|
#11 |
Senior Member
Andrea Pasquali
Join Date: Sep 2009
Location: Germany
Posts: 142
Rep Power: 17 |
Hi Fabien,
no I did not implement it... what law did you use for it? I'm also interesting to add different thermal conductivity (kappa field) just inside the porous medium. I'm thinking at: kappa_eff = porosity*kappa_porous_medium + (1-porosity)*kappa_fluid. Do you know something about this? Thanks Andrea
__________________
Andrea Pasquali |
|
December 16, 2013, 10:49 |
|
#12 |
Member
nadine moussa
Join Date: Mar 2012
Posts: 30
Rep Power: 14 |
Hello Andrea,
did you managed to calculate an effective conductivity as function of the porosity? I am so intrested in this subject! thanks a lot, Nadine |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
species mass source in porous media ? | PK | FLUENT | 0 | February 16, 2007 12:12 |
porous medium as heat source | Ralf Schmidt | FLUENT | 1 | November 4, 2005 14:12 |
UDF Scalar Code: HT 1 | Greg Perkins | FLUENT | 8 | October 20, 2000 13:40 |
UDFs for Scalar Eqn - Fluid/Solid HT | Greg Perkins | FLUENT | 0 | October 14, 2000 00:03 |
UDFs for Scalar Eqn - Fluid/Solid HT | Greg Perkins | FLUENT | 0 | October 11, 2000 04:43 |