Energy Equation
Energy equation in nanoFluidX is implemented so that it accommodates for conduction and convection heat transfer with initial or Dirichlet boundary conditions.
Where, the indices i and j standing for so-called owner and neighboring particles respectively, and the ij index is a difference between the respective variables of particle i and particle j . The m stands for mass of the particle, the ∇W is the gradient of the kernel, r is the position vector and n is the unit coordinate vector.
If you want to use the energy transport option, you need to turn the feature on by setting the energy_transport flag in Simulation parameters to true. Once this step is completed, you can opt for desired output, which can be either temperature or rate of temperature change (flux). The code will not work if an output is required and the energy transport flag is turned off.