|
[Sponsors] |
May 24, 2014, 11:56 |
Difference between phi and phiv
|
#1 |
Member
yehanyu
Join Date: Mar 2012
Location: Beijing, China
Posts: 48
Rep Power: 14 |
Hi, everybody.
Usually, for many solvers, in "createFields.H", the face-flux is created by including the header file "createPhi.H". For compressible flows, the header "compressibleCreatePhi.H" is used instead. However, I observed that in the solver "cavitatingFoam", a third header named "createPhiv.H" is used. I cannot understand the difference between "phi" and "phiv". Does anyone has an idea? Thank you very much. |
|
August 21, 2014, 10:20 |
|
#2 | |
New Member
Andrew Kettner
Join Date: May 2012
Posts: 4
Rep Power: 14 |
Quote:
|
||
August 21, 2014, 13:46 |
|
#3 |
Senior Member
Marco A. Turcios
Join Date: Mar 2009
Location: Vancouver, BC, Canada
Posts: 740
Rep Power: 28 |
Not knowing much about cavitatingFoam but quickly reviewing the solver, it appears phiv is the flux for the vapour fractin. This makes sense as you have a two phase flow you are solving for and each phase will have a different flux.
|
|
August 21, 2014, 13:52 |
|
#4 |
New Member
Andrew Kettner
Join Date: May 2012
Posts: 4
Rep Power: 14 |
So the phiv and phi are identical but intended for different phases. I have not done multiphase work and the answer may be obvious if I had, but how does the code distinquish between the phases. Like I said earlier the code is identical. I will take a look at cavitatingFoam to see I can figure it out.
|
|
Tags |
flux, phi, phiv |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
MSHArequest for surfaceScalarField phi from objectRegistry | msha | OpenFOAM Running, Solving & CFD | 11 | March 21, 2014 04:35 |