SWI package output file

279 views
Skip to first unread message

Sontaya Phakdiwatsakun

unread,
Mar 3, 2015, 3:42:23 AM3/3/15
to mod...@googlegroups.com
Dear members

I would like to simulate for example on the example swi2ex4sww (on of the attached examples provided on the website of MODFLOW) 
This example is about the sea water intrusion.
Its results are in the .HDS file and ZTA file, both are the binary file.
I have not used the binary file so I don't know anything about the binary file. 

There are choices for simulation the output out in the ascii or other files that I can read it directly. 
if it can could you please tell me the method of it. 

Thanks, 
Regard, 

JAN PH. 
Message has been deleted

rbwi...@mindspring.com

unread,
Mar 3, 2015, 9:54:35 AM3/3/15
to mod...@googlegroups.com, Sontaya Phakdiwatsakun
To read a binary file, you will need to either obtain or write a program that can read the binary file. You can find information about free programs that can read the MODFLOW binary files at http://water.usgs.gov/nrp/gwsoftware/modflow2000/MFDOC/index.html?frequently_asked_questions.htm under question L. There is also a description of the file format used in binary files which could help you write a program to read binary files.

One of the programs that can read zeta files and convert them to them to ascii files in GW_Chart (http://water.usgs.gov/nrp/gwsoftware/GW_Chart/GW_Chart.html). To use it to convert a zeta file to an ascii file, select "Chart type/Convert|Convert water budgets". Then click the "open file" icon next to "Flow File" and change the "Files of type" from "Flow files (*.cbc, *.bud, *.out) to "Zeta files (*.zta). Then select the zeta file you want to convert. Finally select the other options you wish to use and click the "Convert" button.

If you wish to convert the zeta file from the command line, the help file for GW_Chart describes how to do that.

ModelMuse (http://water.usgs.gov/nrp/gwsoftware/ModelMuse/ModelMuse.html) can also read the zeta file and plot the results graphically. There is a video showing how to do that at http://water.usgs.gov/nrp/gwsoftware/ModelMuse/SWI_Example/SWI_Example.html.
>--
>You received this message because you are subscribed to the Google Groups "MODFLOW Users Group" group.
>To unsubscribe from this group and stop receiving emails from it, send an email to modflow+u...@googlegroups.com.
>To post to this group, send email to mod...@googlegroups.com.
>Visit this group at http://groups.google.com/group/modflow.
>For more options, visit https://groups.google.com/d/optout.

rbwi...@mindspring.com

unread,
Mar 3, 2015, 9:09:13 PM3/3/15
to Joseph Krienert, mod...@googlegroups.com, sontaya...@gmail.com, rbwi...@mindspring.com
Joseph, I think there was just a delay between when you posted your reply and when it was delivered. I did get your email from the list.


-----Original Message-----
>From: Joseph Krienert <krie...@gmail.com>
>Sent: Mar 3, 2015 6:05 PM
>To: mod...@googlegroups.com
>Cc: sontaya...@gmail.com, rbwi...@mindspring.com
>Subject: Re: [MODFLOW] SWI package output file
>
>It seems my previous contribution to the question might have been removed
>because it was not helpful to this particular question.
>
>@RichardBWinston
>However, the advice on making use of GW_Chart helped solve a particular
>budget binary read problem by comparative analysis of the conversion.
>Thank your Mr. Winston.
>> email to modflow+u...@googlegroups.com <javascript:>.
>> >To post to this group, send email to mod...@googlegroups.com
>> <javascript:>.

Joseph Krienert

unread,
Mar 3, 2015, 9:09:27 PM3/3/15
to mod...@googlegroups.com, sontaya...@gmail.com, rbwi...@mindspring.com
It seems my previous contribution to the question might have been removed because it was not helpful to this particular question.

@RichardBWinston
However, the advice on making use of GW_Chart helped solve a particular budget binary read problem by comparative analysis of the conversion.
Thank your Mr. Winston.

On Tuesday, March 3, 2015 at 8:54:35 AM UTC-6, RichardBWinston wrote:

Sontaya Phakdiwatsakun

unread,
Jun 17, 2015, 6:21:11 AM6/17/15
to mod...@googlegroups.com, rbwi...@mindspring.com, sontaya...@gmail.com
Dear sir,

how can I create format for converted file (Ascii) ?
as SWI manual, Zeta values will be printed following the format of head in .oc file. but after I convert it it is not printed as format of that i assigned in .oc file.
may be Zeta is printed follwing the format in .ocfile but it is in binary file, so then after converted it's probably changed to other default format.

please help
Thanks
regard, 
JAN
   
เมื่อ วันอังคารที่ 3 มีนาคม ค.ศ. 2015 23 นาฬิกา 54 นาที 35 วินาที UTC+9, RichardBWinston เขียนว่า:

Richard B. Winston

unread,
Jun 17, 2015, 7:04:41 AM6/17/15
to Sontaya Phakdiwatsakun, mod...@googlegroups.com
The SWI2 manual says the zeta values will be saved at the same time as
the head but there is no option to print the zeta values. If you have
written you own program to convert the binary data to a text file, you
can control the format in which the data are printed. Otherwise, you may
not be able to control the precise format of the text data.
> <http://water.usgs.gov/nrp/gwsoftware/GW_Chart/GW_Chart.html>). To
> use it to convert a zeta file to an ascii file, select "Chart
> type/Convert|Convert water budgets". Then click the "open file"
> icon next to "Flow File" and change the "Files of type" from "Flow
> files (*.cbc, *.bud, *.out) to "Zeta files (*.zta). Then select
> the zeta file you want to convert. Finally select the other
> options you wish to use and click the "Convert" button.
>
> If you wish to convert the zeta file from the command line, the
> help file for GW_Chart describes how to do that.
>
> ModelMuse
> (http://water.usgs.gov/nrp/gwsoftware/ModelMuse/ModelMuse.html
> <http://water.usgs.gov/nrp/gwsoftware/ModelMuse/ModelMuse.html>)
> can also read the zeta file and plot the results graphically.
> There is a video showing how to do that at
> http://water.usgs.gov/nrp/gwsoftware/ModelMuse/SWI_Example/SWI_Example.html
> <http://water.usgs.gov/nrp/gwsoftware/ModelMuse/SWI_Example/SWI_Example.html>.
> send an email to modflow+u...@googlegroups.com <javascript:>.
> >To post to this group, send email to mod...@googlegroups.com
> <javascript:>.
> <http://groups.google.com/group/modflow>.
> >For more options, visit https://groups.google.com/d/optout
> <https://groups.google.com/d/optout>.
>

Raymond Albert Ng

unread,
May 17, 2016, 12:38:53 AM5/17/16
to MODFLOW Users Group, sontaya...@gmail.com, rbwi...@mindspring.com
Good day! Is there also a ModelMuse tutorial video for Example 3 of the SWI2 package? I am trying to look for help, and I hope this would shed some light.

Specifically I am interested in creating a simple model of the movement of the freshwater-saltwater interface of a local municipality, with the following data available: pumping/extraction data (cu.m./day), salinity content (ppm), soil strata (for hydraulic conductivity values), and pumping water levels.

Thanks a lot!

Richard B. Winston

unread,
May 18, 2016, 10:19:49 PM5/18/16
to Raymond Albert Ng, MODFLOW Users Group, sontaya...@gmail.com
I have attached instructions for creating an SWI model with ModelMuse.
There is a video at
http://water.usgs.gov/nrp/gwsoftware/ModelMuse/SWI_Example/SWI_Example.html.

Raymond Albert Ng wrote:
> Good day! Is there also a ModelMuse tutorial video for Example 3 of
> the SWI2 package? I am trying to look for help, and I hope this would
> shed some light.
>
> Specifically I am interested in creating a simple model of the
> movement of the freshwater-saltwater interface of a local
> municipality, with the following data available: pumping/extraction
> data (cu.m./day), salinity content (ppm), soil strata (for hydraulic
> conductivity values), and pumping water levels.
>
> Thanks a lot!
>
> On Tuesday, March 3, 2015 at 10:54:35 PM UTC+8, RichardBWinston wrote:
>
> To read a binary file, you will need to either obtain or write a
> program that can read the binary file. You can find information
> about free programs that can read the MODFLOW binary files at
> http://water.usgs.gov/nrp/gwsoftware/modflow2000/MFDOC/index.html?frequently_asked_questions.htm
> <http://water.usgs.gov/nrp/gwsoftware/modflow2000/MFDOC/index.html?frequently_asked_questions.htm>
> under question L. There is also a description of the file format
> used in binary files which could help you write a program to read
> binary files.
>
> One of the programs that can read zeta files and convert them to
> them to ascii files in GW_Chart
> (http://water.usgs.gov/nrp/gwsoftware/GW_Chart/GW_Chart.html
> <http://water.usgs.gov/nrp/gwsoftware/GW_Chart/GW_Chart.html>). To
> use it to convert a zeta file to an ascii file, select "Chart
> type/Convert|Convert water budgets". Then click the "open file"
> icon next to "Flow File" and change the "Files of type" from "Flow
> files (*.cbc, *.bud, *.out) to "Zeta files (*.zta). Then select
> the zeta file you want to convert. Finally select the other
> options you wish to use and click the "Convert" button.
>
> If you wish to convert the zeta file from the command line, the
> help file for GW_Chart describes how to do that.
>
> ModelMuse
> (http://water.usgs.gov/nrp/gwsoftware/ModelMuse/ModelMuse.html
> <http://water.usgs.gov/nrp/gwsoftware/ModelMuse/ModelMuse.html>)
> can also read the zeta file and plot the results graphically.
> There is a video showing how to do that at
> http://water.usgs.gov/nrp/gwsoftware/ModelMuse/SWI_Example/SWI_Example.html
> <http://water.usgs.gov/nrp/gwsoftware/ModelMuse/SWI_Example/SWI_Example.html>.
> send an email to modflow+u...@googlegroups.com <javascript:>.
> >To post to this group, send email to mod...@googlegroups.com
> <javascript:>.
> <http://groups.google.com/group/modflow>.
> >For more options, visit https://groups.google.com/d/optout
> <https://groups.google.com/d/optout>.
>

SWI.docx
Reply all
Reply to author
Forward
0 new messages