Skip to content

Commit efda7f5

Browse files
authored
Example creation
Creation of the example case for a cantilever, which is used to train a ROM based on the PROM-ANN architecture using FEM residuals.
1 parent d5a4b1b commit efda7f5

File tree

5 files changed

+4744
-0
lines changed

5 files changed

+4744
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,108 @@
1+
{
2+
"problem_data" : {
3+
"problem_name" : "rubber_hyperelastic_cantilever",
4+
"parallel_type" : "OpenMP",
5+
"echo_level" : 1,
6+
"start_time" : 0.0,
7+
"end_time" : 1.0
8+
},
9+
"solver_settings" : {
10+
"time_stepping" : {
11+
"time_step" : 1
12+
},
13+
"solver_type" : "Static",
14+
"model_part_name" : "Structure",
15+
"domain_size" : 2,
16+
"echo_level" : 0,
17+
"analysis_type" : "non_linear",
18+
"model_import_settings" : {
19+
"input_type" : "mdpa",
20+
"input_filename" : "datasets_rubber_hyperelastic_cantilever_big_range/rubber_hyperelastic_cantilever"
21+
},
22+
"material_import_settings" : {
23+
"materials_filename" : "datasets_rubber_hyperelastic_cantilever_big_range/StructuralMaterials.json"
24+
},
25+
"line_search" : false,
26+
"convergence_criterion" : "displacement_criterion",
27+
"displacement_relative_tolerance" : 1e-6,
28+
"displacement_absolute_tolerance" : 1e-8,
29+
"residual_relative_tolerance" : 0.0001,
30+
"residual_absolute_tolerance" : 1e-9,
31+
"max_iteration" : 100,
32+
"rotation_dofs" : false,
33+
"volumetric_strain_dofs" : false
34+
},
35+
"processes" : {
36+
"constraints_process_list" : [{
37+
"python_module" : "assign_vector_variable_process",
38+
"kratos_module" : "KratosMultiphysics",
39+
"process_name" : "AssignVectorVariableProcess",
40+
"Parameters" : {
41+
"model_part_name" : "Structure.DISPLACEMENT_Fixed",
42+
"variable_name" : "DISPLACEMENT",
43+
"interval" : [0.0,"End"],
44+
"constrained" : [true,true,true],
45+
"value" : [0.0,0.0,0.0]
46+
}
47+
}],
48+
"loads_process_list" : [{
49+
"python_module" : "assign_vector_by_direction_to_condition_process",
50+
"kratos_module" : "KratosMultiphysics",
51+
"check" : "DirectorVectorNonZero direction",
52+
"process_name" : "AssignVectorByDirectionToConditionProcess",
53+
"Parameters" : {
54+
"model_part_name" : "Structure.LineLoad2D_ForceH",
55+
"variable_name" : "LINE_LOAD",
56+
"interval" : [0.0,"End"],
57+
"modulus" : "1",
58+
"direction" : [1.0,0.0,0.0]
59+
}
60+
},{
61+
"python_module" : "assign_vector_by_direction_to_condition_process",
62+
"kratos_module" : "KratosMultiphysics",
63+
"check" : "DirectorVectorNonZero direction",
64+
"process_name" : "AssignVectorByDirectionToConditionProcess",
65+
"Parameters" : {
66+
"model_part_name" : "Structure.LineLoad2D_ForceV",
67+
"variable_name" : "LINE_LOAD",
68+
"interval" : [0.0,"End"],
69+
"modulus" : "1",
70+
"direction" : [0.0,1.0,0.0]
71+
}
72+
}],
73+
"list_other_processes" : []
74+
},
75+
"output_processes" : {
76+
"gid_output" : [{
77+
"python_module" : "gid_output_process",
78+
"kratos_module" : "KratosMultiphysics",
79+
"process_name" : "GiDOutputProcess",
80+
"Parameters" : {
81+
"model_part_name" : "Structure",
82+
"postprocess_parameters" : {
83+
"result_file_configuration" : {
84+
"gidpost_flags" : {
85+
"GiDPostMode" : "GiD_PostBinary",
86+
"WriteDeformedMeshFlag" : "WriteDeformed",
87+
"WriteConditionsFlag" : "WriteConditions",
88+
"MultiFileFlag" : "SingleFile"
89+
},
90+
"file_label" : "step",
91+
"output_control_type" : "step",
92+
"output_interval" : 1,
93+
"body_output" : true,
94+
"node_output" : false,
95+
"skin_output" : false,
96+
"plane_output" : [],
97+
"nodal_results" : ["DISPLACEMENT","REACTION"],
98+
"gauss_point_results" : ["VON_MISES_STRESS"],
99+
"nodal_nonhistorical_results" : []
100+
},
101+
"point_data_configuration" : []
102+
},
103+
"output_name" : "datasets_rubber_hyperelastic_cantilever_big_range/FOM/FOM_simulation"
104+
}
105+
}]
106+
},
107+
"analysis_stage" : "KratosMultiphysics.StructuralMechanicsApplication.structural_mechanics_analysis"
108+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"properties" : [{
3+
"model_part_name" : "Structure.Parts_Solid_Structure",
4+
"properties_id" : 1,
5+
"Material" : {
6+
"constitutive_law" : {
7+
"name" : "HyperElasticPlaneStrain2DLaw"
8+
},
9+
"Variables" : {
10+
"DENSITY" : 1200.0,
11+
"YOUNG_MODULUS" : 3000000.0,
12+
"POISSON_RATIO" : 0.48,
13+
"THICKNESS" : 0.1
14+
},
15+
"Tables" : {}
16+
}
17+
}]
18+
}

0 commit comments

Comments
 (0)