Giter Club home page Giter Club logo

mpp's Issues

Improve code related to setting up of coupling variables

  • Remove MPPGovEqnSetInternalCouplingVars() and MPPGovEqnSetCouplingVars() as procedures

  • Rename MPPGovEqnAddCouplingCondition() to MPPGovEqnAddBoundaryCouplingCondition

  • Rename MPPGovEqnSetCouplingVars() to MPPGovEqnSetBoundaryCouplingVars

  • Rename MPPGovEqnSetBothCouplingVars() to MPPGovEqnSetCouplingVars()

Update FETCH-2 SPAC problem

Add following command line options:

  • Ability to prescribe ET, soil BC, and output filename
  • Ability to simulate following mesh configurations:
    • Mesh for an oak tree with top-soil soil layer as BC,
    • Mesh for a pine tree with top-soil soil layer as BC,
    • Mesh for an oak and pine tree with top-soil soil layer as BC,

Errors on Ubuntu

Encountered following error when testing on Ubuntu:

  • Compiler error during installation. MPI library was installed via PETSc.
  • Segmentation fault in thermal_mms test due to uninitialized variable.

Add support for setting up mesh for common configurations

Add subroutine to set up a mesh for few default configurations so as to avoid code repetition
(e.g. vsfm_sy1991_problem.F90#L267, vsfm_celia1990_problem.F90#L171)

  • Mesh configuration 1:
    • domain extent in x, y, and z direction
    • nx, ny, nz
    • internal connection type: x-only, y-only, z-only, or in all three directions.
  • Mesh configuration 2:
    • min and max in x, y, and z
    • nx, ny, nz
    • internal connection type: x-only, y-only, z-only, or in all three directions.

Account of derivative of thermal conductivity w.r.t. Pressure

Derivative of thermal conductivity at the interface w.r.t. to up/down pressure needs
to be accounted for in the jacobian computation

dtherm_dP_up   = (dist_up*therm_cond_dn/therm_cond_up) * therm_cond_ave_over_dist/(dist_up*therm_cond_dn + dist_dn*therm_cond_up) * dsat_dP_up
dtherm_dP_dn   = (dist_up*therm_cond_up/therm_cond_dn) * therm_cond_ave_over_dist/(dist_up*therm_cond_dn + dist_dn*therm_cond_up) * dsat_dP_dn

Add new subroutines in MultiPhysicsProbThermal that can set properties individually

Presently MPPThermalSetSoils() is defined as:

  subroutine MPPThermalSetSoils(thermal_mpp, begc, &
                           endc,               &
                           thermal_filter,                 &
                           thermal_lun_type,               &
                           thermal_watsat,                 &
                           thermal_csol,                   &
                           thermal_tkmg,                   &
                           thermal_tkdry                   &
                           )

sets all properties of soils is set at once.

Add new subroutine(s) that:

  • Set properties one at a time.
  • Set properties for internal, boundary, and source-sink auxiliary variables.

Consolidate subroutines in ThermalEnthalpySoilAux

The following subroutines should be consolidated:

ThermalEnthalpySoilAuxSetHeatCap
ThermalEnthalpySoilAuxSetThermalCondWet
ThermalEnthalpySoilAuxSetThermalCondDry
ThermalEnthalpySoilAuxSetThermalAlpha
ThermalEnthalpySoilAuxSetSoilDensity

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.