Determination of Physical Properties of Porous Materials by a Lattice Boltzmann Approach