Jump to content
GMS, SMS, and WMS User Forum

Variable grid size: how to export cells size (width and lenght)?


GMS User
 Share

Recommended Posts

I export drawdown and head values from Modflow simulation.

I can get the drawdowns and head values from i,j,k triplets.

As I use a variable grid size (grid refinement) is there a way to export the grid size for each i,j,k?

I need to plot a cross section for drawdown and head values vs distance from a well.

Thjank you

Daniele

Link to comment
Share on other sites

To get the coordinates of the cell centers you could take the 3D Grid, right click on it, and select the Convert to | UGrid menu item. Then with the created UGrid you could right click on a dataset and select the View Values... menu item. From there you could export the dataset including the coordinates of the cell centers. The export will be a CSV file that can be imported into Excel to do the calculations. It could be pasted into a spreadsheet with a dataset from the 3D Grid to match up with the IJK values.

It may be that you want grid relative coordinates. If so, you could right click on the 3D grid, select the Properties menu item and change the x, y, and z origin to zero and grid rotation to 90 before converting to a UGrid.

If the version of GMS you're using is older than 10.0 you could do the same thing converting to a 3D mesh.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...