Skip to content

Commit c760af0

Browse files
committed
2 parents e4a50b4 + 84670eb commit c760af0

5 files changed

Lines changed: 211200 additions & 0 deletions

File tree

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
{
2+
"analysis_stage": "KratosMultiphysics.MeshMovingApplication.mesh_moving_analysis",
3+
"problem_data" : {
4+
"problem_name" : "naca0012",
5+
"parallel_type" : "OpenMP",
6+
"echo_level" : 0,
7+
"start_time" : 0.0,
8+
"end_time" : 1.0
9+
},
10+
"solver_settings" : {
11+
"solver_type": "structural_similarity",
12+
"model_part_name" : "MainModelPart",
13+
"model_import_settings" : {
14+
"input_type" : "mdpa",
15+
"input_filename" : "naca0012_0aoa_00"
16+
},
17+
"echo_level": 0,
18+
"time_stepping" : {
19+
"time_step" : 1.0
20+
},
21+
"domain_size" : 2,
22+
"linear_solver_settings" : {
23+
"solver_type" : "amgcl",
24+
"max_iteration" : 500,
25+
"tolerance" : 1e-7,
26+
"provide_coordinates" : false,
27+
"smoother_type" : "ilu0",
28+
"krylov_type" : "bicgstab",
29+
"coarsening_type" : "aggregation",
30+
"scaling" : false,
31+
"verbosity" : 0
32+
}
33+
},
34+
"processes" : {
35+
"initial_conditions_process_list" : [],
36+
"boundary_conditions_process_list" : [{
37+
"python_module" : "impose_mesh_motion_process",
38+
"kratos_module" : "KratosMultiphysics.MeshMovingApplication",
39+
"process_name" : "ImposeMeshMotionProcess",
40+
"Parameters" : {
41+
"model_part_name" : "MainModelPart.Body2D_Body",
42+
"rotation_definition" : "rotation_axis",
43+
"rotation_axis" : [0.0, 0.0, 1.0],
44+
"reference_point" : [0.999999, 2e-7, 0.0],
45+
"rotation_angle" : 0.0
46+
}
47+
},{
48+
"python_module" : "fix_vector_variable_process",
49+
"kratos_module" : "KratosMultiphysics",
50+
"process_name" : "FixVectorVariableProcess",
51+
"Parameters" : {
52+
"model_part_name" : "MainModelPart.Body2D_Body",
53+
"variable_name" : "MESH_DISPLACEMENT",
54+
"constrained" : [true,true,true]
55+
}
56+
},{
57+
"python_module" : "assign_vector_variable_process",
58+
"kratos_module" : "KratosMultiphysics",
59+
"process_name" : "AssignVectorVariableProcess",
60+
"Parameters" : {
61+
"model_part_name" : "MainModelPart.PotentialWallCondition2D_Far_field_Auto1",
62+
"variable_name" : "MESH_DISPLACEMENT",
63+
"value" : [0.0,0.0,0.0]
64+
}
65+
}
66+
]
67+
}
68+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,115 @@
1+
{
2+
"analysis_stage": "KratosMultiphysics.CompressiblePotentialFlowApplication.potential_flow_analysis",
3+
"problem_data" : {
4+
"problem_name" : "naca0012",
5+
"parallel_type" : "OpenMP",
6+
"echo_level" : 0,
7+
"start_time" : 0.0,
8+
"end_time" : 1.0
9+
},
10+
"solver_settings" : {
11+
"solver_type" : "potential_flow",
12+
"model_part_name" : "MainModelPart",
13+
"domain_size" : 2,
14+
"model_import_settings" : {
15+
"input_type" : "mdpa",
16+
"input_filename" : "naca0012_0aoa_00"
17+
},
18+
"maximum_iterations" : 300,
19+
"echo_level" : 1,
20+
"material_import_settings": {
21+
"materials_filename": ""
22+
},
23+
"formulation" :
24+
{
25+
"element_type": "perturbation_transonic"
26+
},
27+
"linear_solver_settings" : {
28+
"solver_type": "LinearSolversApplication.pardiso_lu"
29+
},
30+
"solving_strategy_settings":{
31+
"type": "line_search",
32+
"advanced_settings": {
33+
"first_alpha_value" : 0.5,
34+
"second_alpha_value" : 1.0,
35+
"max_alpha" : 2.0
36+
}
37+
},
38+
"convergence_criterion": "Or_criterion",
39+
"relative_tolerance" : 1e-12,
40+
"absolute_tolerance" : 1e-12,
41+
"volume_model_part_name" : "Parts_Parts_Auto1",
42+
"skin_parts" : ["PotentialWallCondition2D_Far_field_Auto1","Body2D_Body"],
43+
"no_skin_parts" : []
44+
},
45+
"processes" : {
46+
"initial_conditions_process_list" : [],
47+
"boundary_conditions_process_list" : [{
48+
"python_module" : "apply_far_field_process",
49+
"kratos_module" : "KratosMultiphysics.CompressiblePotentialFlowApplication",
50+
"process_name" : "FarFieldProcess",
51+
"Parameters" : {
52+
"model_part_name" : "MainModelPart.PotentialWallCondition2D_Far_field_Auto1",
53+
"angle_of_attack" : 0.0,
54+
"mach_infinity" : 0.05,
55+
"free_stream_density" : 1.225,
56+
"critical_mach" : 0.99,
57+
"upwind_factor_constant" : 1.0,
58+
"mach_number_squared_limit" : 3,
59+
"perturbation_field" : true
60+
}
61+
},
62+
{
63+
"python_module" : "define_wake_process_2d",
64+
"kratos_module" : "KratosMultiphysics.CompressiblePotentialFlowApplication",
65+
"process_name" : "DefineWakeProcess",
66+
"Parameters" : {
67+
"model_part_name" : "MainModelPart.Body2D_Body",
68+
"echo_level": 0
69+
}
70+
},
71+
{
72+
"python_module" : "compute_nodal_value_process",
73+
"kratos_module" : "KratosMultiphysics.CompressiblePotentialFlowApplication",
74+
"process_name" : "ComputeNodalValueProcess",
75+
"Parameters" : {
76+
"model_part_name" : "MainModelPart",
77+
"elemental_variables_list_to_project": ["VELOCITY","PRESSURE_COEFFICIENT"]
78+
}
79+
}
80+
]
81+
},
82+
"output_processes" : {
83+
"gid_output" : [{
84+
"python_module" : "gid_output_process",
85+
"kratos_module" : "KratosMultiphysics",
86+
"process_name" : "GiDOutputProcess",
87+
"help" : "This process writes postprocessing files for GiD",
88+
"Parameters" : {
89+
"model_part_name" : "MainModelPart.Parts_Parts_Auto1",
90+
"output_name" : "Results/outputPrimal",
91+
"postprocess_parameters" : {
92+
"result_file_configuration" : {
93+
"gidpost_flags" : {
94+
"GiDPostMode" : "GiD_PostBinary",
95+
"WriteDeformedMeshFlag" : "WriteDeformed",
96+
"WriteConditionsFlag" : "WriteConditions",
97+
"MultiFileFlag" : "SingleFile"
98+
},
99+
"file_label" : "step",
100+
"output_control_type" : "step",
101+
"output_interval" : 1,
102+
"body_output" : true,
103+
"node_output" : false,
104+
"skin_output" : false,
105+
"plane_output" : [],
106+
"nodal_nonhistorical_results": ["VELOCITY","PRESSURE_COEFFICIENT"],
107+
"nodal_results" : ["VELOCITY_POTENTIAL","AUXILIARY_VELOCITY_POTENTIAL"],
108+
"gauss_point_results" : ["WAKE"]
109+
},
110+
"point_data_configuration" : []
111+
}
112+
}
113+
}]
114+
}
115+
}

0 commit comments

Comments
 (0)