pEqn and mixture density in cavitatingFoam and cavitatingDyMFoam
Dear All
I use the cavitating flow solver in the OpenFOAM. The cavitatingFoam solver employes a Homogeneous Equilibrium Model (HEM), in which the pressure equation depends on the compressibility of each phase and the density of the mixture is calculated according to an equilibrium barotropic equation. In the OpenFOAM v-6, there are minor differences in the pressure and density equation between cavitatingFoam and cavitatingDyMFoam (mesh motion). For example, in pEqn: cavitatingFoam: Code:
fvScalarMatrix pEqn Code:
fvScalarMatrix pEqn cavitatingFoam: Code:
rho == max Code:
volScalarField rho0(rho - psi*p); For clarification, Code:
psi*correction(fvm::ddt(p)) Code:
fvm::ddt(psi, p) Do you know what is the main reason behind this difference in the implementation of cavitatingFoam and cavitatingDyMFoam? Thanks. Whit Kind Regards, Peyman |
a question about the phiGradp
Hi, peyman
I am studying the cavitatingFoam solver. But I have a question with this pEqn. It would be very much appreciated if you can tell me the meaning of term phiGradp in the pEqn and why this term is in the pEqn? Thank you very much. |
All times are GMT -4. The time now is 13:40. |