|
30 | 30 | }, |
31 | 31 | "material_import_settings" : { |
32 | 32 | "materials_filename" : "FluidMaterials.json" |
33 | | - }, |
34 | | - "formulation": { |
35 | | - "element_type" : "compressible" |
36 | | - }, |
37 | | - "maximum_iterations" : 50, |
38 | | - "echo_level" : 1, |
39 | | - "volume_model_part_name" : "FluidParts_Fluid", |
40 | | - "skin_parts" : ["AutomaticInlet2D_Left","Outlet2D_Right","NoSlip2D_Top","NoSlip2D_Bottom","NoSlip2D_Aerofoil"], |
41 | | - "no_skin_parts" : [], |
42 | | - "reform_dofs_at_each_step" : false |
| 33 | + }, |
| 34 | + "formulation": { |
| 35 | + "element_type": "perturbation_transonic" |
| 36 | + }, |
| 37 | + "scheme_settings": { |
| 38 | + "is_transonic": true, |
| 39 | + "initial_critical_mach" : 0.80, |
| 40 | + "initial_upwind_factor_constant" : 2.0, |
| 41 | + "target_critical_mach" : 0.90, |
| 42 | + "target_upwind_factor_constant" : 1.5, |
| 43 | + "update_relative_residual_norm" : 1e-2, |
| 44 | + "mach_number_squared_limit" : 3.0 |
| 45 | + }, |
| 46 | + "maximum_iterations" : 25, |
| 47 | + "echo_level" : 1, |
| 48 | + "linear_solver_settings" : { |
| 49 | + "solver_type" : "LinearSolversApplication.amgcl" |
| 50 | + }, |
| 51 | + "solving_strategy_settings": { |
| 52 | + "type": "line_search", |
| 53 | + "advanced_settings" : { |
| 54 | + "max_line_search_iterations" : 5, |
| 55 | + "first_alpha_value" : 0.5, |
| 56 | + "second_alpha_value" : 1.0, |
| 57 | + "min_alpha" : 0.5, |
| 58 | + "max_alpha" : 1.0, |
| 59 | + "line_search_tolerance" : 0.5 |
| 60 | + } |
| 61 | + }, |
| 62 | + "convergence_criterion": "residual_criterion", |
| 63 | + "relative_tolerance" : 1e-8, |
| 64 | + "absolute_tolerance" : 1e-8, |
| 65 | + "volume_model_part_name" : "FluidParts_Fluid", |
| 66 | + "skin_parts" : ["FluidModelPart.Farfield","FluidModelPart.NoSlip2D_Aerofoil"], |
| 67 | + "no_skin_parts" : [], |
| 68 | + "reform_dofs_at_each_step" : false, |
| 69 | + "assign_neighbour_elements_to_conditions": true |
43 | 70 | }, |
44 | 71 | "processes" : { |
45 | 72 | "boundary_conditions_process_list" : [ |
46 | 73 | { |
47 | | - "python_module" : "apply_far_field_process", |
48 | | - "kratos_module" : "KratosMultiphysics.CompressiblePotentialFlowApplication", |
49 | | - "process_name" : "FarFieldProcess", |
50 | | - "Parameters" : { |
51 | | - "model_part_name" : "FluidModelPart.AutomaticInlet2D_Left", |
52 | | - "angle_of_attack" : 0.0, |
53 | | - "mach_infinity" : 0.8, |
54 | | - "speed_of_sound" : 332.0 |
55 | | - } |
56 | | - },{ |
57 | | - "python_module" : "apply_far_field_process", |
| 74 | + "python_module" : "apply_far_field_and_wake_process", |
58 | 75 | "kratos_module" : "KratosMultiphysics.CompressiblePotentialFlowApplication", |
59 | | - "process_name" : "FarFieldProcess", |
| 76 | + "process_name" : "ApplyFarFieldAndWakeProcess", |
60 | 77 | "Parameters" : { |
61 | | - "model_part_name" : "FluidModelPart.Outlet2D_Right", |
| 78 | + "model_part_name" : "FluidModelPart.Farfield", |
62 | 79 | "angle_of_attack" : 0.0, |
63 | 80 | "mach_infinity" : 0.8, |
64 | | - "speed_of_sound" : 332.0 |
65 | | - } |
66 | | - }, |
67 | | - { |
68 | | - "python_module" : "define_wake_process_2d", |
69 | | - "kratos_module" : "KratosMultiphysics.CompressiblePotentialFlowApplication", |
70 | | - "process_name" : "DefineWakeProcess2D", |
71 | | - "Parameters" : { |
72 | | - "model_part_name" : "FluidModelPart.NoSlip2D_Aerofoil", |
73 | | - "epsilon" : 1e-9, |
74 | | - "echo_level" : 0 |
| 81 | + "speed_of_sound" : 332.0, |
| 82 | + "perturbation_field": true, |
| 83 | + "define_wake": true, |
| 84 | + "wake_type": "Operations.KratosMultiphysics.CompressiblePotentialFlowApplication.Define2DWakeOperation", |
| 85 | + "wake_parameters" : { |
| 86 | + "body_model_part_name" : "FluidModelPart.NoSlip2D_Aerofoil", |
| 87 | + "wake_distance_tolerance" : 1e-9, |
| 88 | + "echo_level" : 0 |
| 89 | + } |
75 | 90 | } |
76 | 91 | }] |
77 | 92 | } |
|
186 | 201 | "WriteConditionsFlag" : "WriteConditions", |
187 | 202 | "MultiFileFlag" : "SingleFile" |
188 | 203 | }, |
189 | | - "file_label" : "time", |
190 | | - "output_control_type" : "time", |
191 | | - "output_interval" : 0.00001, |
| 204 | + "file_label" : "step", |
| 205 | + "output_control_type" : "step", |
| 206 | + "output_interval" : 1, |
192 | 207 | "body_output" : true, |
193 | 208 | "node_output" : false, |
194 | 209 | "skin_output" : false, |
|
0 commit comments