mirror of
https://github.com/ParticulateFlow/CFDEMcoupling-PFM.git
synced 2025-12-08 06:37:44 +00:00
fix issue with voidfraction slightly > 1 in SyamlalThermCond
This commit is contained in:
@ -104,9 +104,9 @@ tmp<volScalarField> SyamlalThermCond::thermCond() const
|
||||
)
|
||||
);
|
||||
volScalarField& svf = tvf.ref();
|
||||
|
||||
svf = (1-sqrt(1-voidfraction_)) / (voidfraction_) * kf0_;
|
||||
|
||||
|
||||
svf = (1-sqrt(1-voidfraction_+SMALL)) / (voidfraction_) * kf0_;
|
||||
|
||||
// if a wallQFactor field is present, use it to scale heat transport through a patch
|
||||
if (hasWallQFactor_)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user