[2pnc][test] Fix fuelcell test
What was broken: The test used philtophob law which used the wrong residual saturations. It went into efftoabslaw with the non-wetting saturation so swr and snr where the wrong way around. It also overwrote the krw/krn function of the material law in use with a quadratic/cubic law. It also defined the capillary pressure negative but then it would be pc = pw-pn. What was fixed: Use the wettingPhase function instead to make the gas phase the wetting phase This changed: - the pw solution as swr and snr were corrected (the wrong way around pw was equal) - the pc solution because it is now positite - the mobilities as they didn't use the real van genuchten curves
parent
bdbd77fd
No related branches found
No related tags found
Showing
- test/porousmediumflow/2pnc/implicit/2pncdiffusionspatialparams.hh 1 addition, 1 deletion...ousmediumflow/2pnc/implicit/2pncdiffusionspatialparams.hh
- test/porousmediumflow/2pnc/implicit/fuelcellspatialparams.hh 11 additions, 13 deletionstest/porousmediumflow/2pnc/implicit/fuelcellspatialparams.hh
- test/references/fuelcell2pncbox-reference.vtu 220 additions, 220 deletionstest/references/fuelcell2pncbox-reference.vtu
- test/references/fuelcell2pnccc-reference.vtu 201 additions, 201 deletionstest/references/fuelcell2pnccc-reference.vtu
Loading
Please register or sign in to comment