Repository navigation
Clarification on solution groups and their purpose in organizing models and solutions #2831
|
Hello MF6 community! I am currently working on a MF6 simulation that contains four models. There is a parent flow model, a child flow model, and two child transport models. I would like to run these models in a simultaneous simulation, such that flow and transport share their time discretization and are coupled together as appropriate (so three exchanges: parent and child flow exchange, and two child flow-transport exchanges). I read the following paragraph in the input/output manual, but I am still a little confused about how to best set this up in my simulation nam file. The present version of MODFLOW 6 uses the concept of a solution group. For most simulations, a solution group will contain one solution and one model within that solution. The solution group is designed, however, so that multiple solutions can be solved together in a picard iteration loop. This might be used in the future to iteratively couple models that cannot be tightly coupled at the matrix level within a single numerical solution. The solution group is flexible so that multiple solution groups can be included in a simulation. More information on solution groups will be added to this document as new model types and exchanges are added that can take advantage of the concept. My original intuition was that I should set up my simulation nam file to be something like the following: BEGIN options BEGIN timing BEGIN models BEGIN exchanges BEGIN solutiongroup 1 But I am now wondering if I should instead do the following instead for the solutiongroup section of the file. BEGIN solutiongroup 1 BEGIN solutiongroup 2 What is the difference between these two formulations? My understanding is that the latter won't actually couple the flow and transport solutions during simulation. Is the latter setup a sequential simulation then, in which flow is solved first, followed by a separate solve for transport? (Sort of like providing a separate flow solution binary through the FMI package in the GWT models? But the timesteps will be identical since the tdis is still shared between solution groups?) Finally, I am looking for some clarification on solution group "mxiter" variable. Is this a maximum limit for how many times the Picard loop described in the input/output paragraph above is allowed to attempt to solve the current timestep for the solutions in a given solution group? Is there any relationship to the outer maximum variables set in the individual ims packages? Thank you all for your time! |
Replies: 1 comment 3 replies
|
Hello @mmorphew, at the moment, there isn't much need to use more than one solution group. Your original intuition is correct, and you should use the following configuration: In this case, flow and transport will be solved in separate numerical solutions and everything will work as intended. Maybe I'm misunderstanding what you are trying to do, but I think this is what you are after. I'm thinking your transport models should be parent-transport and child-transport rather than child-transport-1 and child-transport-2?
Your question about mxiter in the solution group is a good one. At the moment, I don't think there is any need to set it to a value other than 1, which is the default. It is intended to support future cases where we may need to iterate between different sets of numerical solutions. I don't think there is anything in the program now that would benefit from solution-group-level Picard iterations. As you note, there is a separate By the way, it's possible that your second configuration may still work (I haven't tried it). That configuration will not result in a sequential simulation, as you wondered. Each solution group would still be solved for each time step before moving to the next. One last thing -- I think you might be missing an exchange in your setup. If you look at the figure above, there should be 4 exchanges. Thanks for the question! |

Hello @mmorphew, at the moment, there isn't much need to use more than one solution group. Your original intuition is correct, and you should use the following configuration:
In this case, flow and transport will be solved in separate numerical solutions and everything will work as intended.
Maybe I'm misunderstanding what you are trying to do, but I think this is what you are after. I'm thinking your transport models should be parent-transport and child-transport rather than child-transport-1 and child-transport-2?
Your question about mxiter in the s…