-
Notifications
You must be signed in to change notification settings - Fork 16
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
[MPM] Create Initial Conditions associated to the Material_domain model part #968
Comments
Hi @lauramoremar Here 9c31e35 we are printing the submodelpart in the mdpa Here 2c0555c?diff=split&w=1 we set the proper model_part_name |
Hi @jginternational , thank you very much!! It is exactly I wanted to do! :) Should I include something additionally in the Thank you again |
@lauramoremar mmm... If we want the nodes AND the contitions, we have to move them to the Conditions section, but they will be NOT initial :( |
Ok, I get it, @jginternational, thank you! I will think about the solution these days :) |
Hi @jginternational , We think that there are two problems, one related to the interface and the other to the write process. In the case of the MPM we need to impose the initial condition to the material points. Therefore we need to select the submodel part created for the material domain. On the other hand, for the .json we need:
where, as you can see, the model part name is the same of the model part domain. Do you think that is possible to do something similar? I attach a working example with the .json and the .mpda files that we would like to obtain when imposing the initial condition to one of the material domains (in the case the Sand domain). Thank you very much!! :) |
Ok, at this moment we have something similar to what you need. It's the "geometry" feature in the MDPA input file. It means that, instead of writing elements, conditions and so, we print the gid groups as they are, and the element or condition are asigned in the json file, using an orquestrator This means that the same group will be writen only once, and used in several points of the tree. We can not prevent the user to select a group or another when creating new initial conditions BUT we can "validate" and print warnings to the user, so if a new group or a wrong group is selected, we can display a message with the information BEFORE writing the MDPA file. This may be strange. Maybe I can create a branch from here to show you |
Hi,
I am trying to incorporate the Initial Condition in the Interface for the MPM app.
Usually, the conditions are created over the
Background_Grid
, but for the Initial Condition I will need to impose it in a submodel part that belongs to theMaterial_domain
and I am not sure how to do it.In my branch
MPM/laura
I have incorporate the new option, that looks like that:and it write the condition properly in the
.json
. Everything works well except the model_part_name.In this case, we need to write a submodel_part from the Material_Domain (for example),
"model_part_name" : "Parts_Material_domain_Column".
I attach here one small case with the proper setting (it works well using my branch).
twist2.gid.zip
Thank you very much in advance
The text was updated successfully, but these errors were encountered: