You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The right hand side of diffusion_dt_ algorithm in all of diffusion types (Inner, Robin, etc. ) only calculate the rate of heat flow per unit volume (W/m3), we need to multiply a particle volume term to get heat flow (W), then we can use it for heat flux calculation.
Trace to the source
Steps to trace the source:
Go to 'diffusion_dynamics.hpp'.
Scroll down to 'DiffusionRelaxation<Robin<...>>' for example.
Find two functions inside of the class ”getDiffusionChangeRateRobin“ and "interaction".
Check the algorithm of diffusion_dt_.
Modified algorithm
The modified diffusion_dt_m should be:
diffusion_dt_m = diffusion_dt_ * particle_volume
Additional context
However, this bug does not effect the final temperature field calculation, it is only useful if we want to calculate overall heat flow instead of volumetric heat flow.
The text was updated successfully, but these errors were encountered:
Harmon9802
changed the title
Modified algorithm for heat flux calculation
Modified algorithm for heat flow calculation
Dec 21, 2023
Describe the bug
The right hand side of diffusion_dt_ algorithm in all of diffusion types (Inner, Robin, etc. ) only calculate the rate of heat flow per unit volume (W/m3), we need to multiply a particle volume term to get heat flow (W), then we can use it for heat flux calculation.
Trace to the source
Steps to trace the source:
Modified algorithm
The modified diffusion_dt_m should be:
diffusion_dt_m = diffusion_dt_ * particle_volume
Additional context
However, this bug does not effect the final temperature field calculation, it is only useful if we want to calculate overall heat flow instead of volumetric heat flow.
The text was updated successfully, but these errors were encountered: