|
| 1 | +<?xml version='1.0' encoding='utf-8'?> |
| 2 | +<fluidity_options> |
| 3 | + <simulation_name> |
| 4 | + <string_value lines="1">empty_partitions</string_value> |
| 5 | + </simulation_name> |
| 6 | + <problem_type> |
| 7 | + <string_value lines="1">fluids</string_value> |
| 8 | + </problem_type> |
| 9 | + <geometry> |
| 10 | + <dimension> |
| 11 | + <integer_value rank="0">2</integer_value> |
| 12 | + </dimension> |
| 13 | + <mesh name="CoordinateMesh"> |
| 14 | + <from_file file_name="square"> |
| 15 | + <format name="gmsh"/> |
| 16 | + <stat> |
| 17 | + <include_in_stat/> |
| 18 | + </stat> |
| 19 | + </from_file> |
| 20 | + </mesh> |
| 21 | + <mesh name="P0"> |
| 22 | + <from_mesh> |
| 23 | + <mesh name="CoordinateMesh"/> |
| 24 | + <mesh_shape> |
| 25 | + <polynomial_degree> |
| 26 | + <integer_value rank="0">0</integer_value> |
| 27 | + </polynomial_degree> |
| 28 | + </mesh_shape> |
| 29 | + <mesh_continuity> |
| 30 | + <string_value>discontinuous</string_value> |
| 31 | + </mesh_continuity> |
| 32 | + <stat> |
| 33 | + <exclude_from_stat/> |
| 34 | + </stat> |
| 35 | + </from_mesh> |
| 36 | + </mesh> |
| 37 | + <quadrature> |
| 38 | + <degree> |
| 39 | + <integer_value rank="0">5</integer_value> |
| 40 | + </degree> |
| 41 | + </quadrature> |
| 42 | + </geometry> |
| 43 | + <io> |
| 44 | + <dump_format> |
| 45 | + <string_value>vtk</string_value> |
| 46 | + </dump_format> |
| 47 | + <dump_period> |
| 48 | + <constant> |
| 49 | + <real_value rank="0">0</real_value> |
| 50 | + </constant> |
| 51 | + </dump_period> |
| 52 | + <output_mesh name="CoordinateMesh"/> |
| 53 | + <checkpointing> |
| 54 | + <checkpoint_period_in_dumps> |
| 55 | + <integer_value rank="0">2</integer_value> |
| 56 | + </checkpoint_period_in_dumps> |
| 57 | + </checkpointing> |
| 58 | + <stat/> |
| 59 | + </io> |
| 60 | + <timestepping> |
| 61 | + <current_time> |
| 62 | + <real_value rank="0">0.0</real_value> |
| 63 | + </current_time> |
| 64 | + <timestep> |
| 65 | + <real_value rank="0">1.0</real_value> |
| 66 | + </timestep> |
| 67 | + <finish_time> |
| 68 | + <real_value rank="0">4.0</real_value> |
| 69 | + </finish_time> |
| 70 | + </timestepping> |
| 71 | + <material_phase name="Fluid"> |
| 72 | + <equation_of_state> |
| 73 | + <fluids> |
| 74 | + <linear> |
| 75 | + <reference_density> |
| 76 | + <real_value rank="0">1.0</real_value> |
| 77 | + </reference_density> |
| 78 | + </linear> |
| 79 | + </fluids> |
| 80 | + </equation_of_state> |
| 81 | + <scalar_field name="Pressure" rank="0"> |
| 82 | + <prognostic> |
| 83 | + <mesh name="CoordinateMesh"/> |
| 84 | + <spatial_discretisation> |
| 85 | + <continuous_galerkin/> |
| 86 | + </spatial_discretisation> |
| 87 | + <scheme> |
| 88 | + <poisson_pressure_solution> |
| 89 | + <string_value lines="1">only first timestep</string_value> |
| 90 | + </poisson_pressure_solution> |
| 91 | + <use_projection_method/> |
| 92 | + </scheme> |
| 93 | + <solver> |
| 94 | + <iterative_method name="cg"/> |
| 95 | + <preconditioner name="sor"/> |
| 96 | + <relative_error> |
| 97 | + <real_value rank="0">1.0e-7</real_value> |
| 98 | + </relative_error> |
| 99 | + <max_iterations> |
| 100 | + <integer_value rank="0">1000</integer_value> |
| 101 | + </max_iterations> |
| 102 | + <never_ignore_solver_failures/> |
| 103 | + <diagnostics> |
| 104 | + <monitors/> |
| 105 | + </diagnostics> |
| 106 | + </solver> |
| 107 | + <output/> |
| 108 | + <stat/> |
| 109 | + <convergence> |
| 110 | + <include_in_convergence/> |
| 111 | + </convergence> |
| 112 | + <detectors> |
| 113 | + <exclude_from_detectors/> |
| 114 | + </detectors> |
| 115 | + <steady_state> |
| 116 | + <include_in_steady_state/> |
| 117 | + </steady_state> |
| 118 | + <no_interpolation/> |
| 119 | + </prognostic> |
| 120 | + </scalar_field> |
| 121 | + <scalar_field name="Density" rank="0"> |
| 122 | + <diagnostic> |
| 123 | + <algorithm name="Internal" material_phase_support="multiple"/> |
| 124 | + <mesh name="CoordinateMesh"/> |
| 125 | + <output/> |
| 126 | + <stat/> |
| 127 | + <convergence> |
| 128 | + <include_in_convergence/> |
| 129 | + </convergence> |
| 130 | + <detectors> |
| 131 | + <include_in_detectors/> |
| 132 | + </detectors> |
| 133 | + <steady_state> |
| 134 | + <include_in_steady_state/> |
| 135 | + </steady_state> |
| 136 | + </diagnostic> |
| 137 | + </scalar_field> |
| 138 | + <vector_field name="Velocity" rank="1"> |
| 139 | + <prognostic> |
| 140 | + <mesh name="CoordinateMesh"/> |
| 141 | + <equation name="Boussinesq"/> |
| 142 | + <spatial_discretisation> |
| 143 | + <continuous_galerkin> |
| 144 | + <stabilisation> |
| 145 | + <no_stabilisation/> |
| 146 | + </stabilisation> |
| 147 | + <mass_terms> |
| 148 | + <lump_mass_matrix/> |
| 149 | + </mass_terms> |
| 150 | + <advection_terms/> |
| 151 | + <stress_terms> |
| 152 | + <tensor_form/> |
| 153 | + </stress_terms> |
| 154 | + <buoyancy/> |
| 155 | + </continuous_galerkin> |
| 156 | + <conservative_advection> |
| 157 | + <real_value rank="0">1.0</real_value> |
| 158 | + </conservative_advection> |
| 159 | + </spatial_discretisation> |
| 160 | + <temporal_discretisation> |
| 161 | + <theta> |
| 162 | + <real_value rank="0">0.0</real_value> |
| 163 | + </theta> |
| 164 | + <relaxation> |
| 165 | + <real_value rank="0">1.0</real_value> |
| 166 | + </relaxation> |
| 167 | + </temporal_discretisation> |
| 168 | + <solver> |
| 169 | + <iterative_method name="gmres"/> |
| 170 | + <preconditioner name="sor"/> |
| 171 | + <relative_error> |
| 172 | + <real_value rank="0">1.0e-7</real_value> |
| 173 | + </relative_error> |
| 174 | + <max_iterations> |
| 175 | + <integer_value rank="0">1000</integer_value> |
| 176 | + </max_iterations> |
| 177 | + <never_ignore_solver_failures/> |
| 178 | + <diagnostics> |
| 179 | + <monitors/> |
| 180 | + </diagnostics> |
| 181 | + </solver> |
| 182 | + <initial_condition name="WholeMesh"> |
| 183 | + <constant> |
| 184 | + <real_value shape="2" dim1="dim" rank="1">0 0</real_value> |
| 185 | + </constant> |
| 186 | + </initial_condition> |
| 187 | + <output/> |
| 188 | + <stat> |
| 189 | + <include_in_stat/> |
| 190 | + <previous_time_step> |
| 191 | + <exclude_from_stat/> |
| 192 | + </previous_time_step> |
| 193 | + <nonlinear_field> |
| 194 | + <exclude_from_stat/> |
| 195 | + </nonlinear_field> |
| 196 | + </stat> |
| 197 | + <convergence> |
| 198 | + <include_in_convergence/> |
| 199 | + </convergence> |
| 200 | + <detectors> |
| 201 | + <include_in_detectors/> |
| 202 | + </detectors> |
| 203 | + <steady_state> |
| 204 | + <include_in_steady_state/> |
| 205 | + </steady_state> |
| 206 | + <consistent_interpolation/> |
| 207 | + </prognostic> |
| 208 | + </vector_field> |
| 209 | + <scalar_field name="NodeOwner" rank="0"> |
| 210 | + <diagnostic> |
| 211 | + <algorithm legacy="true" name="Internal" material_phase_support="multiple"/> |
| 212 | + <mesh name="CoordinateMesh"/> |
| 213 | + <output/> |
| 214 | + <stat/> |
| 215 | + <convergence> |
| 216 | + <include_in_convergence/> |
| 217 | + </convergence> |
| 218 | + <detectors> |
| 219 | + <include_in_detectors/> |
| 220 | + </detectors> |
| 221 | + <steady_state> |
| 222 | + <include_in_steady_state/> |
| 223 | + </steady_state> |
| 224 | + </diagnostic> |
| 225 | + </scalar_field> |
| 226 | + </material_phase> |
| 227 | + <mesh_adaptivity> |
| 228 | + <hr_adaptivity> |
| 229 | + <period_in_timesteps> |
| 230 | + <integer_value rank="0">1</integer_value> |
| 231 | + </period_in_timesteps> |
| 232 | + <maximum_number_of_nodes> |
| 233 | + <integer_value rank="0">1000000</integer_value> |
| 234 | + </maximum_number_of_nodes> |
| 235 | + <enable_gradation/> |
| 236 | + <tensor_field name="MinimumEdgeLengths"> |
| 237 | + <anisotropic_symmetric> |
| 238 | + <python> |
| 239 | + <string_value lines="20" type="code" language="python">def val(X,t): |
| 240 | + a = 1.0/max(1.0,0.5*t*t) |
| 241 | + return [[a,0],[0,a]]</string_value> |
| 242 | + </python> |
| 243 | + </anisotropic_symmetric> |
| 244 | + </tensor_field> |
| 245 | + <tensor_field name="MaximumEdgeLengths"> |
| 246 | + <anisotropic_symmetric> |
| 247 | + <python> |
| 248 | + <string_value lines="20" type="code" language="python">def val(X,t): |
| 249 | + a = 1.0/max(1.0,0.5*t*t) |
| 250 | + return [[a,0],[0,a]]</string_value> |
| 251 | + </python> |
| 252 | + </anisotropic_symmetric> |
| 253 | + </tensor_field> |
| 254 | + </hr_adaptivity> |
| 255 | + </mesh_adaptivity> |
| 256 | +</fluidity_options> |
0 commit comments