Giter Club home page Giter Club logo

assignment14's Introduction

Homework Assignment 14

Instructions

If you didn't realize it, the CMG Tutorial on 1D single-phase flow was also the exact problem we wrote our own Python code for in Assignment 11. With some easy modifications, we can also solve Assignment 13 in CMG. Recall the problem schematic

image

The easiest way to work this problem in CMG is to work through the tutorial saving your input file as assignment14.dat. Then edit the input file in a text editor and manually change the lines related to grid spacing and permeability. The permeability line should look something like

PERMI  20000 10 100 50 20

In this case, 20000 is the largest permeability value allowed in the "fake" grid block without causing an error in CMG. Edit the line related to grid spacing (keyword: DI IVAR) in an appropriate way as well. Save the input file and run. Remember to run the simulation for 3 days in 1 day increment time steps. Once the program has finished running without error, there should be a file assignment14.out in the run directory. Copy this file into this repository, add, commit, and push to Github for submission.

Testing

If you would like to check to see if your solution is correct, run the following commands at the Terminal command line in sequence:

>python test.py

assignment14's People

Contributors

johntfoster avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.