|
[Sponsors] |
March 5, 2013, 10:18 |
definition of totalPressure
|
#1 |
Senior Member
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 26 |
in the totalPressure BC at this part:
Code:
if (psiName_ == "none" && rhoName_ == "none") { operator==(p0p - 0.5*(1.0 - pos(phip))*magSqr(Up)); } else if (rhoName_ == "none") { const fvPatchField<scalar>& psip = patch().lookupPatchField<volScalarField, scalar>(psiName_); if (gamma_ > 1.0) { scalar gM1ByG = (gamma_ - 1.0)/gamma_; operator== ( p0p /pow ( (1.0 + 0.5*psip*gM1ByG*(1.0 - pos(phip))*magSqr(Up)), 1.0/gM1ByG ) ); } else { operator==(p0p/(1.0 + 0.5*psip*(1.0 - pos(phip))*magSqr(Up))); } 1) why "(1.0 - pos(phip))" term is put in this formula?what it means? 2)does Up and psip stand for internalField(p) and 1/(R*internalField(T))? Code:
p0p /pow ( (1.0 + 0.5*psip*gM1ByG*(1.0 - pos(phip))*magSqr(Up)), 1.0/gM1ByG Code:
p0_2/pow(1+(gamma-1)/2*magSqr(internalField(U))/(gamma*R*internalField(T)),3.5) |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Totalpressure Ansys | Leuchte | CFX | 2 | April 9, 2013 18:56 |
(AutoGRID 5) Problem in Geometry definition of propeller | venkat_aero2007 | Fidelity CFD | 14 | July 31, 2012 14:05 |
BC settings to expand pressure on atmosphere - simpleFoam / totalPressure | sErik | OpenFOAM Running, Solving & CFD | 1 | June 15, 2011 02:49 |
OpenFOAM static build on Cray XT5 | asaijo | OpenFOAM Installation | 9 | April 6, 2011 12:21 |
OpenFOAM14 for Mac OSX Darwin 104 | gschaider | OpenFOAM Installation | 118 | July 20, 2008 05:19 |