Skip to content

Assignment or adjustment of DEPTH in EDIT section not working #6911

@EdmundStephens

Description

@EdmundStephens

[v2025.10] Assignment or adjustment of DEPTH in the EDIT section is not working. This is a useful way of introducing dip or gravity potential differences (especially since ADDZCORN is still not available). Formally speaking the DEPTH array represents the potential of a grid cell, by default this is the centroid of the corner points, but may differ: i) in upscaling considering weighting on net sands, ii) in order to represent a dipping structure within a simple 'simbox' grid, iii) models of centrifuge experiments etc. where there is a different (and variable) gravity potential.

Test model.

TEST_DEPTH-F.zip

At the moment methods for altering the DEPTH array result in errors or do not have any effect.

EQUALS results in an error

EQUALS
	DEPTH		8900		3  4	1  8	1  8	/
/

Error: Problem with keyword EQUALS
In TEST_DEPTH-F.data line 205
Target array DEPTH is not supported in the EQUALS operation

Error: Unrecoverable errors while loading input:
Problem with keyword EQUALS
In TEST_DEPTH-F.data line 205
Target array DEPTH is not supported in the EQUALS operation

ADD results in an error

ADD
	DEPTH		-100			3  4	1  8	1  8	/
/

Error: Problem with keyword ADD
In TEST_DEPTH-F.data line 205
Target array DEPTH is not supported in the ADD operation

Error: Unrecoverable errors while loading input:
Problem with keyword ADD
In TEST_DEPTH-F.data line 205
Target array DEPTH is not supported in the ADD operation

OPERATE results in a different type of error

OPERATE
	DEPTH		3  4	1  8	1  8		ADDX		DEPTH		-100		/
/

Error:
An error occurred while creating the reservoir properties
Internal error: INFO: 'DEPTH' is not a double precision property.

Error: Unrecoverable errors while loading input:
INFO: 'DEPTH' is not a double precision property.

OPERATER is allowed but does not actually update the DEPTH array

OPERATER
	DEPTH		2	ADDX		DEPTH		-100		/
/

This is the resulting DEPTH array from Flow:

Image

This is what the DEPTH array should look like (same colour scale):

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions