mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
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:
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user