Open hhgs opened 1 year ago
KX = riGetActiveCellProperty("PERMX"); KZ = riGetActiveCellProperty("PERMZ");
KvKh=KZ./KX;
riSetActiveCellProperty(KvKh,"KvKh");
On one test case, the result PERMZ was not present, but PERMR was available.
PERMZ
PERMR
Tested on two cases, seems to work as expected.
Error message
13:26:35 Process starting error: Could not find the requested data in ResInsight error: called from KvKh at line 15 column 4 13:26:37 Process finished
octave script:
KX = riGetActiveCellProperty("PERMX"); KZ = riGetActiveCellProperty("PERMZ");
Calculate Kv/Kh ratio
KvKh=KZ./KX;
riSetActiveCellProperty(KvKh,"KvKh");