Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • dumux dumux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 100
    • Issues 100
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 87
    • Merge requests 87
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • dumux-repositoriesdumux-repositories
  • dumuxdumux
  • Merge requests
  • !2226

Feature/modify loadsolution

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Ned Coltman requested to merge feature/modify_loadsolution into master Aug 05, 2020
  • Overview 28
  • Commits 7
  • Pipelines 0
  • Changes 8

At the moment, the loadSolution method takes a solution from a simulation with modelconceptA to read in as initial conditions for another simulation with modelConceptA.

The method isn't necessarily limited to this. If a modelConceptAB existed, where an additional, or multiple additional primary variables (B) were added on top of the primary variables included in modelconceptA , the loadSolution method could load the solution covering the primary variables in modelConceptA, and the usual initial conditions function could be used for the remaining primary variables from the B scope of the modelConceptAB.

I've added a test that performs an example of this. modelConceptA is a ransmodel with 2 components (rans2C), and the target modelConceptAB is a nonisothermal ransmodel with 2 components (rans2cni). The rans2c solution is read in, and the initial conditions function in problem is used for the nonisothermal model.

This would allow to set up more complicated initial conditions for complicated models with solutions from base model runs.

It could also allow us to reduce testing time, in that initial conditions from a base solution can be used for each test in a specific suite. This would reduce the time required to create physical output.

todos:

  • Make this backwards compatible
  • Check for mismatched primary variables. Only load mathing PV names. (This should already exist/work, need to test)
Edited Sep 03, 2020 by Ned Coltman
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: feature/modify_loadsolution