New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Need a capability to generate coordinated subapp split mesh file #17318
Comments
I've thought about this some. I think the best path forward here is to not let any of the split mesh CLI args ( In the cases where you have only one or two multiapps that really do need split mesh, this is an easy setup. If you have a huge hierarchy for multiapps... I think that it is fair to assume that you probably do not need split mesh for a TON of applications, because they are likely smaller applications. If this is not the case, we can deal with this in the future by adding additional options to apply split mesh to multiple applications. |
In case someone is reading this later...
Passing the number of processors to We definitely want a separate action for splitting - but I agree that we need to take into account that multiapps may need to be split as well. |
Using About Logan's suggestion, possibly we can have a parameter like |
This better enables using split meshes selectively with multiapps refs idaholab#17318
This better enables using split meshes selectively with multiapps refs idaholab#17318
Reason
When we specify
--use-split
on command line, we possibly are expecting the sub-apps to use a split mesh file and a different file as well. This feature is not available currently as showed with the following:It appears that both the main-app and the sub-app are loading the same split mesh file. Another issue here is that we have to use
--split-file
option to specify the name of the split mesh file because the input file does not useFileMesh
(note thatFileMeshGenerator
does not work).Design
I suggest to abandon
--split-file
option first. We can use thefile_base
to output the split mesh always. In this way, we can somehow generate the split mesh file for all subapps because they all have differentfile_base
.Secondly, currently we require a number or numbers separated by commas specified for
--split-mesh
. We should make it accept default empty value, with which we just split the mesh with the number of processors in the current run.Third we merge
moose/framework/src/actions/SplitMeshAction.C
intomoose/framework/src/actions/SetupMeshCompleteAction.C
and when the input contains multiapps and with--split-mesh
, we do not stop after main-app's mesh is setup, and keep going until multiapp is added (sub-apps are constructed). In this way, we will have the split mesh for the main-app and all sub-apps.Impact
A new capability that may require changes of our current design on user interface.
The text was updated successfully, but these errors were encountered: