Git Product home page Git Product logo

Comments (4)

emorway-usgs avatar emorway-usgs commented on September 28, 2024

@DarkForceOne If you have a small example problem demonstrating the problem, that would be helpful as we recall why this code was added? I can see that the block of code you are referring to (shown below) undoes a constant concentration condition specified in BTN when NTMP is specified as something great than 1 in SSM (otherwise, this code won't be triggered).

C-------RESET ICBUND TO ABS(ICBUND) FOR CONSTANT CONCENTRATION CELLS
        DO INDEX=1,NCOMP
          DO KK=1,NLAY
            DO II=1,NROW
              DO JJ=1,NCOL
                IF(ICBUND(JJ,II,KK,INDEX).LT.0) THEN
                  ICBUND(JJ,II,KK,INDEX)=ABS(ICBUND(JJ,II,KK,INDEX))
                ENDIF
              ENDDO
            ENDDO
          ENDDO
        ENDDO  

@vivekbedekar Do you recall why this code was added? It looks like if first showed up with a commit you made in 2015:
constantc

from mt3d-usgs.

DarkForceOne avatar DarkForceOne commented on September 28, 2024

from mt3d-usgs.

vivekbedekar avatar vivekbedekar commented on September 28, 2024

from mt3d-usgs.

emorway-usgs avatar emorway-usgs commented on September 28, 2024

@DarkForceOne Hi Eric, I think a work around for your case could be to set ICBUND=1 for the constant concentration cells and then in SSM input, you could set the ITYPE for your constant concentration cells equal to -1. Using this approach, the constant concentration condition will persist in multiple stress period simulations. If this solution works for you, would you mind closing this issue?

from mt3d-usgs.

Related Issues (20)

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.