All perfect praise be to Allah the Lord of the Worlds. May His peace and blessings be upon our Prophet Mohammad and upon all his family and companions.
According to Islamic courts, you are entitled to what is called obligatory bequest (The distribution of estate to grandchildren who has either lost a parent before the death of the grandparents). Therefore, if your grandfather left such bequest for you, then take that share or else it is more prudent to take nothing. And Allah The Almighty Knows Best.