|
[Sponsors] |
Melting and Solidification enthalpyporosity technique |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 11, 2007, 12:38 |
Hi all,
I am trying to crea
|
#1 |
New Member
Zaki Saldi
Join Date: Mar 2009
Posts: 18
Rep Power: 17 |
Hi all,
I am trying to create an openfoam module to simulate phase changes (i.e. melting & solidification) using enthalpy-porosity technique (following Brent et al, 1988), that allows the use of fixed mesh. Basically, the module originates from icoFoam, added with energy equation (in terms of temperature), buoyancy term in momentum equation, and extra source terms in both momentum & energy equation to account for the phase change. My temperature equation looks like the following: volScalarField dDHdt = fvc::ddt(DH); { fvScalarMatrix TEqn ( fvm::ddt(T) + fvm::div(phi, T) - fvm::laplacian(DT, T) == dDHdt/Cp ); TEqn.solve(); } where DH is the latent heat content of the cell, evaluated based on cell temperature. Assuming isothermal phase change, DH is zero if cell temperature is lower than melting point, or equals to latent heat of fusion if cell temperature is higher than melting point. After running the melting simulation, I found out that the energy source term dDHdt/Cp is always zero throughout the computation. This makes me think that this term is still incorrectly handled in T equation above. I suppose, instead of explicitly specifying dDHdt, I should've put the time derivative of DH on the l.h.s implicitly along with T (referring to relevant thread here). But in this way, I still couldn't get any effect from the source term. Has anyone ever tried to work on this problem? Any share of ideas & comments is welcome. Thanks zaki |
|
July 11, 2007, 16:19 |
Hi Zaki,
i assume you updat
|
#2 |
Senior Member
Markus Hartinger
Join Date: Mar 2009
Posts: 102
Rep Power: 17 |
Hi Zaki,
i assume you update DH before using fvc::ddt(DH), right? That happend to me once. regards markus |
|
July 11, 2007, 18:29 |
Hi Markus,
Thanks for your
|
#3 |
New Member
Zaki Saldi
Join Date: Mar 2009
Posts: 18
Rep Power: 17 |
Hi Markus,
Thanks for your response. Yes, I updated DH before using fvc::ddt(DH). This is carried out along with update of A for source term A*U in momentum equation that will force velocity to zero in solid cells. Any suggestion for remedy? regards, zaki |
|
July 12, 2007, 11:18 |
not really. just the usual, tr
|
#4 |
Senior Member
Markus Hartinger
Join Date: Mar 2009
Posts: 102
Rep Power: 17 |
not really. just the usual, trace back the calculation of DH and check what makes that zero or constant...
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
melting and solidification | mehdi | Main CFD Forum | 10 | October 24, 2024 02:45 |
How can I make the solid PCM to sink to the bottom as it melts? | Lim | FLUENT | 6 | December 22, 2014 03:29 |
Solidification and melting with CFX | Don | CFX | 0 | December 1, 2008 12:30 |
Melting/solidification | Andrea | FLUENT | 0 | February 27, 2007 12:23 |
vof + solidification melting | James | FLUENT | 0 | November 29, 2002 11:56 |