|
[Sponsors] |
About the code “alphaPhi1 = alpha1Eqn.flux() ” in the solver compressibleTwoPhaseEule |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 18, 2013, 10:37 |
About the code “alphaPhi1 = alpha1Eqn.flux() ” in the solver compressibleTwoPhaseEule
|
#1 |
New Member
Xiaohuan
Join Date: Jul 2011
Posts: 3
Rep Power: 15 |
In “alphaEqn.H” file, after solving alpha equation, it defines:
alphaPhi1 = alpha1Eqn.flux(); alphaPhi2 = phi - alphaPhi1; Do someone know how to calculate alpha1Eqn.flux()? Is it different with “fvc::interpolate(alpha1)*phi1”? In the UEqns.H, fvm::ddt(alpha1, U1) + fvm::div(alphaPhi1, U1) - fvm::Sp(fvc::ddt(alpha1) + fvc::div(alphaPhi1), U1) Do the codes mean “d(alpha1*U1)/dt + div(alpha1*U1* U1)” ? Why does it add the third term? Thanks for your time. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Accessing LES Delta Values From Solver Code | mchurchf | OpenFOAM | 4 | June 12, 2023 13:55 |
Solver exit return code 1 | acvq | CFX | 5 | September 11, 2011 10:06 |
Disabling and Enabling Solver Summary Outputs within code | adona058 | OpenFOAM Running, Solving & CFD | 3 | November 1, 2007 12:00 |
compressible two phase flow in CFX4.4 | youngan | CFX | 0 | July 2, 2003 00:32 |
Open source CFD code development, possible? | Dr. Yazid Bindar | Main CFD Forum | 27 | July 18, 2000 01:18 |