-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Labels
Description
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 the Material_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.
"initial_conditions_processes" : [{
"python_module" : "assign_initial_condition_to_particle_process",
"kratos_module" : "KratosMultiphysics.ParticleMechanicsApplication",
"process_name" : "AssignInitialConditionToParticleProcess",
"Parameters" : {
"model_part_name" : "Background_Grid.0",
"variable_name" : "MP_VELOCITY",
"component" : ["1.667*z",0.0,0.0]
}
}]
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
