|
[Sponsors] |
compressible and incompressible twophaseeulerfoam's UEqn is the same? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
December 29, 2014, 07:05 |
compressible and incompressible twophaseeulerfoam's UEqn is the same?
|
#1 |
Senior Member
Dongyue Li
Join Date: Jun 2012
Location: Beijing, China
Posts: 838
Rep Power: 17 |
Hi guys,
right now I was comparing the codes of openfoam 22x and 23x. cuz it provides different result. see more details here: http://www.cfd-online.com/Forums/ope...ty-result.html For now lets discuss the codes for openfoam 22x. I found that the UEqn in twophaseeulerfoam and compressibleTwoPhaseEulerFoam is the same... this formula is for compressibletwophaseeulerfoam: this is for incompressible: So the difference is that incompressible's UEqn are multiplied with alpha_1 and the density is reduced. what confuse me is that both solvers use this incompreesible velocity equation. if we neglect the R.H.S of the equation. this is twophaseEulerFoam: Code:
U1Eqn = ( fvm::ddt(U1) + fvm::div(phi1, U1, "div(phi1,U1)") - fvm::Sp(fvc::div(phi1), U1) - fvm::laplacian(nuEff1, U1) + fvc::div(Rc1) + fvm::div(phiR1, U1, "div(phi1,U1)") - fvm::Sp(fvc::div(phiR1), U1) + (fvc::grad(alpha1)/(fvc::average(alpha1) + scalar(0.001)) & Rc1) == Code:
U1Eqn = ( fvm::ddt(alpha1, U1) + fvm::div(alphaPhi1, U1) - fvm::Sp(fvc::ddt(alpha1) + fvc::div(alphaPhi1), U1) - fvm::laplacian(alpha1*nuEff1, U1) + fvc::div(alpha1*Rc1) == ); so does that mean in compressible two fluid model this density can also be reduced? or? Thanks! |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
difference between incompressible k-epsilon model and compressible k-epsilon model | yhy20081016 | OpenFOAM Running, Solving & CFD | 3 | January 19, 2016 08:49 |
Difference between Compressible CFD solver and Incompressible CFD solver | arijith | Main CFD Forum | 6 | September 23, 2012 20:23 |
compressible and incompressible flow | chinababu | FLUENT | 4 | November 13, 2008 06:56 |
Compressible -> incompressible. | Jinwon | Main CFD Forum | 6 | November 23, 2007 22:07 |
Compressible vs. Incompressible formulations | Fernando Velasco Hurtado | Main CFD Forum | 3 | January 7, 2000 17:51 |