Reordering of internal temperature calculation to avoid FPEs. iDof was

defaulting to VSMALL (1e-300) for monoatomics but being multiplied by kb:
O(1e-23) for field calculation.
This commit is contained in:
graham
2009-07-21 17:17:01 +01:00
parent c097265645
commit 85aa1c8890

View File

@ -184,7 +184,7 @@ void Foam::dsmcFields::write()
obr_,
IOobject::NO_READ
),
2.0/(dsmcCloud::kb*iDofMean)*internalEMean
(2.0/dsmcCloud::kb)*(internalEMean/iDofMean)
);
Info<< " Calculating overallT field." << endl;