Added support for two optional input parameters, caseId and porosity model
p4#: 21631