1. A method of modeling a reservoir, comprising: receiving a 3D wettability map of the reservoir that is generated from wettability logs of a wettability logging tool disposed in a wellbore; defining, by a computer processor using the wettability map, a local value of wettability for each grid block of a gridded simulation model, wherein the local value of wettability is the percentage of total pores surface in contact with hydrocarbons of the reservoir; and defining, by the computer processor using the local value of wettability, a permeability model and a capillary pressure model for each grid block of the gridded simulation model that is provided to a simulator executing on the computer processor when modeling the reservoir.