def gen_condensation(grid_cond,grid_rel_hum):
	"""Generate condensation.
	The relative humidity at a given voxel must be at or near saturation for condensation to 
    occur. If concentration of hygroscopic nuclei is high, condensation can occur at lower relative 
    humidity levels. 
    Water_condensation = (RH / 100) * HN * K_c
    """

	#grid_source refers to relative humidity source
	K_c = 1
	Hydro_Nuc = 1
	row, col, lay = grid_cond.shape
	grid_cond[0:row, 0:col, 0:lay] =  K_c*Hydro_Nuc*(1/100)*grid_rel_hum[0:row, 0:col, 0:lay] 
	
	return grid_cond