Consistent dust and gas models for protoplanetary disks