CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums

Search Results

Register Blogs Community New Posts Updated Threads Search

Showing results 1 to 2 of 2
Search took 0.00 seconds.
Search: Posts Made By: david
Forum: OpenFOAM Bugs November 17, 2010, 03:51
Replies: 2
Views: 3,115
Posted By david
I use return ...

I use

return
(3*rho1()*rho2())*sqrt(2/(3*rho1()))
*rRb(limitedAlpha1)/(rho*sqrt(max(mag(p - pSat()),dimensionedScalar("p",dimensionSet(1,-1,-2,0,0,0,0),VSMALL))));

as...
Forum: OpenFOAM Bugs November 16, 2010, 10:03
Replies: 2
Views: 3,115
Posted By david
interPhaseChangeFoam: sqrt(negativeValue) in SchnerrSauer

Hi everybody

A negative saturation pressure can cause a floating point exception in the following function:

Foam::phaseChangeTwoPhaseMixtures::SchnerrSauer::pCoeff
(
const volScalarField&...
Showing results 1 to 2 of 2

 
Forum Jump

All times are GMT -4. The time now is 11:55.