|
[Sponsors] |
A question about UEqn.H (interPhaseChangeFoam) |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 26, 2012, 01:24 |
A question about UEqn.H (interPhaseChangeFoam)
|
#1 |
New Member
Zheng.Zhi
Join Date: Jul 2009
Location: LanZhou China
Posts: 10
Rep Power: 17 |
the UEqn.H at interPhaseChangeFoam
fvVectorMatrix UEqn ( fvm::ddt(rho, U) + fvm::div(rhoPhi, U) - fvm::Sp(fvc::ddt(rho) + fvc::div(rhoPhi), U) - fvm::laplacian(muEff, U) - (fvc::grad(U) & fvc::grad(muEff)) //- fvc::div(muEff*(fvc::interpolate(dev2(fvc::grad(U) )) & mesh.Sf())) ); but the UEqn.H at interFoam fvVectorMatrix UEqn ( fvm::ddt(rho, U) + fvm::div(rhoPhi, U) - fvm::laplacian(muEff, U) - (fvc::grad(U) & fvc::grad(muEff)) //- fvc::div(muEff*(fvc::interpolate(dev(fvc::grad(U)) ) & mesh.Sf())) ); I don't understand why need - fvm::Sp(fvc::ddt(rho) + fvc::div(rhoPhi), U) at interPhaseChangeFoam , Could anybody please answer me ? thanks very much. |
|
August 26, 2012, 13:17 |
|
#2 |
Senior Member
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,267
Blog Entries: 1
Rep Power: 25 |
fvm::Sp(fvc::ddt(rho) + fvc::div(rhoPhi), U)
this term would be zero mathematically because fvc::ddt(rho) + fvc::div(rhoPhi) is global continuity equation, and i guess it is added to consider any numerical error in global continuity equation |
|
April 8, 2013, 08:32 |
|
#3 |
Member
ABE
Join Date: Jul 2012
Posts: 46
Rep Power: 14 |
I am agree with Nimasam. It returns the continuity equation value. I have checked the results in two conditions with and without this term. Results are fairly the same. However, I should say that by using this term it seems that the convergence speed is much better.
PS: in the OF22, this term has been removed! |
|
April 8, 2013, 08:34 |
|
#4 | |
Member
ABE
Join Date: Jul 2012
Posts: 46
Rep Power: 14 |
Quote:
Hi, have you been able to use interPhaseChange in OF21 or 22? I can get results by previous versions (i.e. OF1.5). But by these new versions results are not good at all. ABE |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Bug about MULES::implicitSolve for interPhaseChangeFoam in OF-1.6 | chiven | OpenFOAM Bugs | 18 | April 18, 2013 23:56 |
Question Re Engineering Data Source | imnull | ANSYS | 0 | March 5, 2012 14:51 |
internal field question - PitzDaily Case | atareen64 | OpenFOAM Running, Solving & CFD | 2 | January 26, 2011 16:26 |
question on bounday layer modeling | Wen Long | Main CFD Forum | 2 | November 12, 2005 18:29 |
Poisson Solver question | Suresh | Main CFD Forum | 3 | August 12, 2005 05:37 |