05.06.2013 Views

PNNL-13501 - Pacific Northwest National Laboratory

PNNL-13501 - Pacific Northwest National Laboratory

PNNL-13501 - Pacific Northwest National Laboratory

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

to 1) incorporate three-dimensional models, 2) mix<br />

and match one- and three-dimensional models, and 3)<br />

mix and match UNIX and PC models.<br />

Results and Accomplishments<br />

Expansion of the FRAMES Specifications<br />

We successfully developed a new FRAMES file<br />

specification that will allow us to incorporate two- and<br />

three-dimensional models into the system. The file<br />

specification standardizes the format for passing results<br />

from one model to the next; in this case, from the vadose<br />

zone model (STOMP) to the saturated zone model<br />

(CFEST). The temporal and spatial integrity of the data<br />

were two of the main issues that had to be resolved. We<br />

worked with the CFEST and STOMP developers and<br />

model users to determine what data needed to be passed<br />

between the models and to determine the best format of<br />

that data. The file specification we developed maintains<br />

spatial integrity by use of polygons and fractions to<br />

transfer data between disparate grid systems (Figure 1),<br />

maintains mass balance and temporal integrity (time<br />

stepping issues) by use of cumulative curves (Figure 2),<br />

and is a generic format such that any media can be passed<br />

between models using the same specification (water,<br />

contaminants, energy, salinity). It was necessary to<br />

develop a processor to address the temporal and spatial<br />

integrity issues. The processor reads in the two disparate<br />

grid systems, creates polygons based on the grid points if<br />

necessary, determines the fractions for data transfer, and<br />

develops the cumulative curves needed to meet the file<br />

specification.<br />

Figure 1. Description of polygon fractions used to address<br />

spatial integrity issue<br />

Network Data Exchange<br />

We successfully developed a system that allows<br />

FRAMES to access computer models on different<br />

computers via the Internet. The system consists primarily<br />

of a model client, a model server (both coded in Java),<br />

and a TCP/IP network connection. The obvious<br />

advantage to using Java is that our protocol is platform<br />

independent (i.e., can be used on both PCs and UNIX<br />

platforms). The system contains protocols for dealing<br />

with long model run times and error handling. Also the<br />

model client provides the user with the status of model<br />

runs via a text window. Figure 3 provides the schematic<br />

for our network data exchange protocol.<br />

Figure 2. Description of cumulative curve development<br />

based on polygons described in Figure 1<br />

Figure 3. Schematic of FRAMES system developed to<br />

access models on different platforms (PCs and UNIX) over<br />

networked machines<br />

Integration of STOMP and CFEST<br />

Both STOMP and CFEST were integrated into the system<br />

successfully. The complete functionality of all of the<br />

STOMP and CFEST options was not an objective of this<br />

project. Our objective for the project was to incorporate<br />

the options with enough functionality to run a specific<br />

base case. The integration of both models required us to<br />

develop pre- and post-processors in C++.<br />

Computational Science and Engineering 125

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!