Skip to content

Commit 408cac8

Browse files
committed
Potential rom case without mesh moving
1 parent e8a20a0 commit 408cac8

7 files changed

Lines changed: 210346 additions & 0 deletions

File tree

rom_application/RomManager PotentialFlow/branch_CompressiblePotentialFlow/ProjectParametersMeshMoving.json renamed to rom_application/RomManager PotentialFlow/branch_CompressiblePotentialFlow/branch_CompressiblePotentialFlow/ProjectParametersMeshMoving.json

File renamed without changes.

rom_application/RomManager PotentialFlow/branch_CompressiblePotentialFlow/ProjectParametersPrimalROM.json renamed to rom_application/RomManager PotentialFlow/branch_CompressiblePotentialFlow/branch_CompressiblePotentialFlow/ProjectParametersPrimalROM.json

File renamed without changes.

rom_application/RomManager PotentialFlow/branch_CompressiblePotentialFlow/naca0012_0aoa_00.mdpa renamed to rom_application/RomManager PotentialFlow/branch_CompressiblePotentialFlow/branch_CompressiblePotentialFlow/naca0012_0aoa_00.mdpa

File renamed without changes.

rom_application/RomManager PotentialFlow/branch_CompressiblePotentialFlow/rom_manager.py renamed to rom_application/RomManager PotentialFlow/branch_CompressiblePotentialFlow/branch_CompressiblePotentialFlow/rom_manager.py

File renamed without changes.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,121 @@
1+
{
2+
"analysis_stage" : "KratosMultiphysics.CompressiblePotentialFlowApplication.potential_flow_analysis",
3+
"problem_data" : {
4+
"problem_name" : "KratosFpotentialtransonic",
5+
"parallel_type" : "OpenMP",
6+
"echo_level" : 0,
7+
"start_time" : 0.0,
8+
"end_time" : 1.0
9+
},
10+
"solver_settings" : {
11+
"model_part_name" : "MainModelPart",
12+
"domain_size" : 2,
13+
"solver_type" : "potential_flow",
14+
"model_import_settings" : {
15+
"input_type" : "mdpa",
16+
"input_filename" : "naca0012_0aoa_00"
17+
},
18+
"material_import_settings" : {
19+
"materials_filename" : "FluidMaterials.json"
20+
},
21+
"formulation": {
22+
"element_type":"perturbation_transonic"
23+
},
24+
"scheme_settings" : {
25+
"model_part_name" : "Body2D_Body",
26+
"critical_mach" : 0.85,
27+
"upwind_factor_constant" : 2.0,
28+
"update_critical_mach" : -1.0,
29+
"update_upwind_factor_constant" : 0.1,
30+
"update_transonic_tolerance" : 1e-3,
31+
"mach_number_squared_limit" : 3.0
32+
},
33+
"maximum_iterations" : 1000,
34+
"echo_level" : 1,
35+
"solving_strategy_settings": {
36+
"type": "line_search",
37+
"advanced_settings" : {
38+
"max_line_search_iterations" : 5,
39+
"first_alpha_value" : 0.1,
40+
"second_alpha_value" : 1.0,
41+
"min_alpha" : 0.1,
42+
"max_alpha" : 2.0,
43+
"line_search_tolerance" : 0.5
44+
}
45+
},
46+
"convergence_criterion": "solution_criterion",
47+
"relative_tolerance" : 1e-12,
48+
"absolute_tolerance" : 1e-12,
49+
"linear_solver_settings" : {
50+
"solver_type" : "LinearSolversApplication.pardiso_lu"
51+
},
52+
"volume_model_part_name" : "Parts_Parts_Auto1",
53+
"skin_parts" : ["PotentialWallCondition2D_Far_field_Auto1","Body2D_Body"],
54+
"no_skin_parts" : [],
55+
"reform_dofs_at_each_step" : false,
56+
"auxiliary_variables_list" : []
57+
},
58+
"processes" : {
59+
"initial_conditions_process_list" : [],
60+
"boundary_conditions_process_list" : [{
61+
"python_module" : "apply_far_field_process",
62+
"kratos_module" : "KratosMultiphysics.CompressiblePotentialFlowApplication",
63+
"process_name" : "FarFieldProcess",
64+
"Parameters" : {
65+
"model_part_name" : "MainModelPart.PotentialWallCondition2D_Far_field_Auto1",
66+
"free_stream_density" : 1.225,
67+
"mach_infinity" : 0.03,
68+
"angle_of_attack" : 0.0,
69+
"perturbation_field" : true
70+
}
71+
},{
72+
"python_module" : "define_wake_process_2d",
73+
"kratos_module" : "KratosMultiphysics.CompressiblePotentialFlowApplication",
74+
"process_name" : "DefineWakeProcess",
75+
"Parameters" : {
76+
"model_part_name" : "MainModelPart.Body2D_Body"
77+
}
78+
}],
79+
"auxiliar_process_list" : [{
80+
"python_module" : "compute_nodal_value_process",
81+
"kratos_module" : "KratosMultiphysics.CompressiblePotentialFlowApplication",
82+
"Parameters" : {
83+
"model_part_name" : "MainModelPart",
84+
"elemental_variables_list_to_project" : ["VELOCITY","PRESSURE_COEFFICIENT"]
85+
}
86+
}]
87+
},
88+
"output_processes" : {
89+
"gid_output" : [{
90+
"python_module" : "gid_output_process",
91+
"kratos_module" : "KratosMultiphysics",
92+
"process_name" : "GiDOutputProcess",
93+
"help" : "This process writes postprocessing files for GiD",
94+
"Parameters" : {
95+
"model_part_name" : "MainModelPart.Parts_Parts_Auto1",
96+
"output_name" : "Results/output",
97+
"postprocess_parameters" : {
98+
"result_file_configuration" : {
99+
"gidpost_flags" : {
100+
"GiDPostMode" : "GiD_PostBinary",
101+
"WriteDeformedMeshFlag" : "WriteDeformed",
102+
"WriteConditionsFlag" : "WriteConditions",
103+
"MultiFileFlag" : "SingleFile"
104+
},
105+
"file_label" : "step",
106+
"output_control_type" : "step",
107+
"output_interval" : 1,
108+
"body_output" : true,
109+
"node_output" : false,
110+
"skin_output" : false,
111+
"plane_output" : [],
112+
"nodal_nonhistorical_results": ["VELOCITY","PRESSURE_COEFFICIENT"],
113+
"nodal_results" : ["VELOCITY_POTENTIAL","AUXILIARY_VELOCITY_POTENTIAL"],
114+
"gauss_point_results" : ["WAKE"]
115+
},
116+
"point_data_configuration" : []
117+
}
118+
}
119+
}]
120+
}
121+
}

0 commit comments

Comments
 (0)