-
Notifications
You must be signed in to change notification settings - Fork 252
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[GeoMechanicsApplication] Initialize all entities (regardless of acti…
…ve/inactive status) in the geo scheme (#13152)
- Loading branch information
Showing
11 changed files
with
528 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
45 changes: 45 additions & 0 deletions
45
...cations/GeoMechanicsApplication/tests/deactivation_with_structural_element/Materials.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
{ | ||
"properties" : [{ | ||
"model_part_name" : "PorousDomain.Soil", | ||
"properties_id" : 1, | ||
"Material" : { | ||
"constitutive_law" : { | ||
"name" : "GeoLinearElasticPlaneStrain2DLaw" | ||
}, | ||
"Variables" : { | ||
"IGNORE_UNDRAINED" : false, | ||
"DENSITY_SOLID" : 2650, | ||
"DENSITY_WATER" : 1000, | ||
"POROSITY" : 0.3, | ||
"BULK_MODULUS_SOLID" : 1000000000.0, | ||
"BULK_MODULUS_FLUID" : 2000000.0, | ||
"PERMEABILITY_XX" : 1.02e-11, | ||
"PERMEABILITY_YY" : 1.02e-11, | ||
"PERMEABILITY_XY" : 1.02e-11, | ||
"DYNAMIC_VISCOSITY" : 8.9e-7, | ||
"YOUNG_MODULUS" : 100000.0, | ||
"POISSON_RATIO" : 0.0, | ||
"BIOT_COEFFICIENT" : 1.0, | ||
"RETENTION_LAW" : "SaturatedBelowPhreaticLevelLaw", | ||
"SATURATED_SATURATION" : 1.0, | ||
"RESIDUAL_SATURATION" : 1e-10, | ||
"MINIMUM_RELATIVE_PERMEABILITY" : 0.0001 | ||
} | ||
} | ||
},{ | ||
"model_part_name" : "PorousDomain.truss", | ||
"properties_id" : 2, | ||
"Material" : { | ||
"constitutive_law": { | ||
"name" : "KratosMultiphysics.StructuralMechanicsApplication.TrussConstitutiveLaw" | ||
}, | ||
"Variables": { | ||
"YOUNG_MODULUS" : 50000.0, | ||
"POISSON_RATIO" : 0.0, | ||
"DENSITY" : 7850.0, | ||
"CROSS_AREA" : 1.0, | ||
"TRUSS_PRESTRESS_PK2" : 0.0 | ||
} | ||
} | ||
}] | ||
} |
142 changes: 142 additions & 0 deletions
142
...anicsApplication/tests/deactivation_with_structural_element/ProjectParameters_stage1.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,142 @@ | ||
{ | ||
"problem_data" : { | ||
"problem_name" : "excavation_test_with_structural_elements", | ||
"parallel_type" : "OpenMP", | ||
"echo_level" : 1, | ||
"start_time" : 0.0, | ||
"end_time" : 1.0 | ||
}, | ||
"solver_settings" : { | ||
"time_stepping" : { | ||
"time_step" : 1.0, | ||
"max_delta_time_factor" : 1000 | ||
}, | ||
"solver_type" : "U_Pw", | ||
"solution_type" : "Quasi-static", | ||
"strategy_type" : "newton_raphson", | ||
"scheme_type" : "newmark", | ||
"model_part_name" : "PorousDomain", | ||
"domain_size" : 2, | ||
"echo_level" : 0, | ||
"model_import_settings" : { | ||
"input_type" : "mdpa", | ||
"input_filename" : "excavation_test_with_structural_elements" | ||
}, | ||
"material_import_settings" : { | ||
"materials_filename" : "Materials.json" | ||
}, | ||
"buffer_size" : 2, | ||
"clear_storage" : false, | ||
"compute_reactions" : false, | ||
"move_mesh_flag" : false, | ||
"reform_dofs_at_each_step" : false, | ||
"nodal_smoothing" : false, | ||
"block_builder" : true, | ||
"reset_displacements" : false, | ||
"convergence_criterion" : "residual_criterion", | ||
"residual_relative_tolerance" : 0.0001, | ||
"residual_absolute_tolerance" : 1e-9, | ||
"min_iterations" : 6, | ||
"max_iterations" : 15, | ||
"number_cycles" : 1, | ||
"reduction_factor" : 0.5, | ||
"increase_factor" : 2.0, | ||
"desired_iterations" : 4, | ||
"calculate_reactions" : false, | ||
"rotation_dofs" : true, | ||
"newmark_beta" : 0.25, | ||
"newmark_gamma" : 0.5, | ||
"newmark_theta" : 0.5, | ||
"problem_domain_sub_model_part_list" : ["Soil","truss"], | ||
"processes_sub_model_part_list" : ["BottomFixed", "NormalLoad"], | ||
"body_domain_sub_model_part_list" : ["Soil","truss"], | ||
"linear_solver_settings" : { | ||
"solver_type" : "skyline_lu_factorization", | ||
"scaling" : true | ||
} | ||
}, | ||
"processes" : { | ||
"constraints_process_list" : [{ | ||
"python_module" : "apply_vector_constraint_table_process", | ||
"kratos_module" : "KratosMultiphysics.GeoMechanicsApplication", | ||
"process_name" : "ApplyVectorConstraintTableProcess", | ||
"Parameters" : { | ||
"model_part_name" : "PorousDomain.BottomFixed", | ||
"variable_name" : "DISPLACEMENT", | ||
"active" : [true,true,false], | ||
"is_fixed" : [true,true,false], | ||
"value" : [0.0,0.0,0.0], | ||
"table" : [0,0,0] | ||
} | ||
},{ | ||
"python_module" : "apply_vector_constraint_table_process", | ||
"kratos_module" : "KratosMultiphysics.GeoMechanicsApplication", | ||
"process_name" : "ApplyVectorConstraintTableProcess", | ||
"Parameters" : { | ||
"model_part_name" : "PorousDomain.porous_computational_model_part", | ||
"variable_name" : "DISPLACEMENT", | ||
"active" : [true,false,false], | ||
"is_fixed" : [true,false,false], | ||
"value" : [0.0,0.0,0.0], | ||
"table" : [0,0,0] | ||
} | ||
},{ | ||
"python_module" : "apply_scalar_constraint_table_process", | ||
"kratos_module" : "KratosMultiphysics.GeoMechanicsApplication", | ||
"process_name" : "ApplyScalarConstraintTableProcess", | ||
"Parameters" : { | ||
"model_part_name" : "PorousDomain", | ||
"variable_name" : "WATER_PRESSURE", | ||
"is_fixed" : true, | ||
"table" : [0,0], | ||
"fluid_pressure_type" : "Phreatic_Multi_Line", | ||
"gravity_direction" : 1, | ||
"out_of_plane_direction" : 2, | ||
"x_coordinates" : [0.0,1.0], | ||
"y_coordinates" : [1.0,1.0], | ||
"z_coordinates" : [0.0,0.0], | ||
"specific_weight" : 10000.0 | ||
} | ||
},{ | ||
"python_module": "apply_excavation_process", | ||
"kratos_module": "KratosMultiphysics.GeoMechanicsApplication", | ||
"process_name": "ApplyExcavationProcess", | ||
"Parameters": { | ||
"model_part_name": "PorousDomain.truss", | ||
"deactivate_soil_part": true | ||
} | ||
}] | ||
}, | ||
"output_processes" : { | ||
"gid_output" : [{ | ||
"python_module" : "gid_output_process", | ||
"kratos_module" : "KratosMultiphysics", | ||
"process_name" : "GiDOutputProcess", | ||
"Parameters" : { | ||
"model_part_name" : "PorousDomain.porous_computational_model_part", | ||
"postprocess_parameters" : { | ||
"result_file_configuration" : { | ||
"gidpost_flags" : { | ||
"GiDPostMode" : "GiD_PostAscii", | ||
"WriteDeformedMeshFlag" : "WriteDeformed", | ||
"WriteConditionsFlag" : "WriteConditions", | ||
"MultiFileFlag" : "SingleFile" | ||
}, | ||
"file_label" : "step", | ||
"output_control_type" : "step", | ||
"output_interval" : 1, | ||
"body_output" : true, | ||
"node_output" : false, | ||
"skin_output" : false, | ||
"plane_output" : [], | ||
"nodal_results" : ["DISPLACEMENT"], | ||
"nodal_nonhistorical_results" : [], | ||
"gauss_point_results" : [] | ||
}, | ||
"point_data_configuration" : [] | ||
}, | ||
"output_name" : "excavation_test_with_structural_elements_Stage_1" | ||
} | ||
}] | ||
} | ||
} |
Oops, something went wrong.