Defining conduction from area, a

This commit is contained in:
jtclemm
2022-06-29 15:34:39 -06:00
parent 222c40ebcf
commit ba1c4e8e81
2 changed files with 10 additions and 6 deletions

View File

@ -635,7 +635,15 @@ attractive force. This keyword cannot be used with the JKR or DMT models.
----------
The optional *heat* keyword enables heat conduction and it must be followed by
a non-negative numeric value for the conductivity. Note that the *heat* keyword
a non-negative numeric value for the conductivity :math:`k_{s}.`` The heat :math:`Q`
conducted across an interface is given by
.. math::
Q = k_{s} a \Delta T
where :math:`\Delta T` is the difference in the two particles' temperature and :math:`a`
is the area of the contact and depends on the normal force model. Note that the *heat* keyword
must be included in either all or none of of the *pair_coeff* calls. See
:doc:`fix temp/integrate <fix_temp_integrate>` for more information on this option.

View File

@ -249,11 +249,7 @@ double ContactModel::calculate_heat()
{
double dT = Ti - Tj;
double Hc;
//Dan is Emod the youngs modulus for all models? or do I need to scale?
Hc = 2 * conductivity * pow(FOURTHIRDS * Fntot * Reff / Emod, ONETHIRD);
return Hc * dT;
return conductivity * a * dT;
}
/* ---------------------------------------------------------------------- */