A description of anisotropic porous nanocrystals filled by a fluid flow in the framework of extended thermodynamics with internal variables