This section describes the organization of a demonstation program which uses the ESMF Framework, including use of both the Superstructure and Infrastructure.
The ESMF_COUPLED_FLOW application is comprised of two ESMF Gridded Components and a Coupler Component. The first Gridded Component, FlowSolver, solves the compressible time-dependent fluid flow equations. The algorithm applies an explicit solution technique to a staggered, Arakawa C grid that is cartesian and uniform. State variables, including density, pressure, viscosity and temperature, are located at cell-centers, while velocities are located at cell faces. This component is initialized with a steady-state, one-dimensional flow. The second Gridded Component, Injector, injects fluid into the first normal to the flow along one of the boundaries. The injected fluid can have arbitrary velocity, temperature, density and duration, effectively setting some of the boundary conditions for the first component. The FlowSolver and Injector Components sit on different cartesian grids. The Coupler Component redistributes boundary condition data from the Injector to the FlowSolver.