Skip to content

Commit 0946461

Browse files
author
Nicolas Pignet
committed
[13_Fluid_Structure_Interaction] Reformat XML files
1 parent ef0c5d9 commit 0946461

File tree

2 files changed

+226
-219
lines changed

2 files changed

+226
-219
lines changed
Lines changed: 113 additions & 110 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
1-
<?xml version="1.0" encoding="utf-8"?><Code_Saturne_GUI case="180km_h" solver_version="3.3;4.0;7.0-patch" study="FSI" version="2.0">
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Code_Saturne_GUI case="180km_h" solver_version="3.3;4.0;7.0-patch" study="FSI" version="2.0">
23
<additional_scalars>
34
<variable label="scalar" name="scalar" type="user">
45
<blending_factor>1</blending_factor>
56
<formula zone_id="1">if (z&gt;=0) {
6-
scalar = 1;
7-
} else {
8-
scalar = -1;
9-
}</formula>
7+
scalar = 1;
8+
} else {
9+
scalar = -1;
10+
}</formula>
1011
<max_value>1</max_value>
1112
<min_value>-1</min_value>
1213
<property choice="constant" label="Dscal1" name="scalar_diffusivity">
@@ -21,14 +22,14 @@
2122
<output>
2223
<listing_printing_frequency>1</listing_printing_frequency>
2324
<mesh id="-1" label="Fluid domain" type="cells">
24-
<all_variables status="on"/>
25+
<all_variables status="on" />
2526
<location>all[]</location>
26-
<writer id="-1"/>
27+
<writer id="-1" />
2728
</mesh>
2829
<mesh id="-2" label="Boundary" type="boundary_faces">
29-
<all_variables status="on"/>
30+
<all_variables status="on" />
3031
<location>all[]</location>
31-
<writer id="-1"/>
32+
<writer id="-1" />
3233
</mesh>
3334
<probe id="1" name="1" status="on">
3435
<probe_x>3</probe_x>
@@ -45,22 +46,22 @@
4546
<probe_y>0</probe_y>
4647
<probe_z>0</probe_z>
4748
</probe>
48-
<probe_format choice="CSV"/>
49+
<probe_format choice="CSV" />
4950
<probe_recording_frequency>1</probe_recording_frequency>
5051
<writer id="-1" label="results">
51-
<directory name="postprocessing"/>
52-
<format name="ensight" options="binary, separate_meshes"/>
52+
<directory name="postprocessing" />
53+
<format name="ensight" options="binary, separate_meshes" />
5354
<frequency period="time_step">5</frequency>
54-
<output_at_end status="on"/>
55-
<time_dependency choice="fixed_mesh"/>
55+
<output_at_end status="on" />
56+
<time_dependency choice="fixed_mesh" />
5657
</writer>
5758
</output>
58-
<profiles/>
59-
<time_averages/>
59+
<profiles />
60+
<time_averages />
6061
<time_parameters>
6162
<iterations>3000</iterations>
62-
<property label="CourantNb" name="courant_number"/>
63-
<property label="FourierNb" name="fourier_number"/>
63+
<property label="CourantNb" name="courant_number" />
64+
<property label="FourierNb" name="fourier_number" />
6465
<time_passing>0</time_passing>
6566
<time_step_ref>0.01</time_step_ref>
6667
</time_parameters>
@@ -82,7 +83,7 @@
8283
<velocity_pressure choice="norm" direction="normal">
8384
<norm>50</norm>
8485
</velocity_pressure>
85-
<ale choice="sliding_boundary"/>
86+
<ale choice="sliding_boundary" />
8687
</inlet>
8788
<inlet field_id="none" label="inlet_dow">
8889
<scalar choice="dirichlet" label="scalar" name="scalar" type="user">
@@ -94,33 +95,33 @@
9495
<velocity_pressure choice="norm" direction="normal">
9596
<norm>50</norm>
9697
</velocity_pressure>
97-
<ale choice="sliding_boundary"/>
98+
<ale choice="sliding_boundary" />
9899
</inlet>
99100
<outlet field_id="none" label="outlet">
100101
<scalar choice="neumann" label="scalar" name="scalar" type="user">
101102
<neumann>0</neumann>
102103
</scalar>
103-
<ale choice="sliding_boundary"/>
104+
<ale choice="sliding_boundary" />
104105
</outlet>
105106
<symmetry field_id="none" label="updown">
106-
<ale choice="fixed_boundary"/>
107+
<ale choice="fixed_boundary" />
107108
</symmetry>
108109
<symmetry field_id="none" label="symmetry">
109-
<ale choice="sliding_boundary"/>
110+
<ale choice="sliding_boundary" />
110111
</symmetry>
111-
<variable/>
112+
<variable />
112113
<wall field_id="none" label="cylindre">
113114
<ale choice="internal_coupling">
114115
<damping_matrix>
115116
<formula>c11=0;
116-
c22=0;
117-
c33=0;
118-
c12=0;
119-
c13=0;
120-
c23=0;
121-
c21=0;
122-
c31=0;
123-
c32=0;</formula>
117+
c22=0;
118+
c33=0;
119+
c12=0;
120+
c13=0;
121+
c23=0;
122+
c21=0;
123+
c31=0;
124+
c32=0;</formula>
124125
</damping_matrix>
125126
<equilibrium_displacement>
126127
<X>0</X>
@@ -129,8 +130,8 @@ c32=0;</formula>
129130
</equilibrium_displacement>
130131
<fluid_force>
131132
<formula>fx = 0;
132-
fy = 0;
133-
fz = fluid_fz;</formula>
133+
fy = 0;
134+
fz = fluid_fz;</formula>
134135
</fluid_force>
135136
<initial_displacement>
136137
<X>0</X>
@@ -144,86 +145,86 @@ fz = fluid_fz;</formula>
144145
</initial_velocity>
145146
<mass_matrix>
146147
<formula># mass
147-
m = 0.5*200;
148-
m11=m;
149-
m22=m;
150-
m33=m;
151-
m12=0;
152-
m13=0;
153-
m23=0;
154-
m21=0;
155-
m31=0;
156-
m32=0;</formula>
148+
m = 0.5*200;
149+
m11=m;
150+
m22=m;
151+
m33=m;
152+
m12=0;
153+
m13=0;
154+
m23=0;
155+
m21=0;
156+
m31=0;
157+
m32=0;</formula>
157158
</mass_matrix>
158159
<stiffness_matrix>
159160
<formula># mass
160-
m = 0.5*200;
161-
n0 = 5.;
162-
k11=m*n0*n0;
163-
k22=m*n0*n0;
164-
k33=m*n0*n0;
165-
k12=0;
166-
k13=0;
167-
k23=0;
168-
k21=0;
169-
k31=0;
170-
k32=0;</formula>
161+
m = 0.5*200;
162+
n0 = 5.;
163+
k11=m*n0*n0;
164+
k22=m*n0*n0;
165+
k33=m*n0*n0;
166+
k12=0;
167+
k13=0;
168+
k23=0;
169+
k21=0;
170+
k31=0;
171+
k32=0;</formula>
171172
</stiffness_matrix>
172173
</ale>
173174
<scalar choice="neumann" label="scalar" name="scalar" type="user">
174175
<neumann>0</neumann>
175176
</scalar>
176-
<velocity_pressure choice="off"/>
177+
<velocity_pressure choice="off" />
177178
</wall>
178179
<wall field_id="none" label="inlet">
179-
<ale choice="sliding_boundary"/>
180+
<ale choice="sliding_boundary" />
180181
</wall>
181182
</boundary_conditions>
182183
<calculation_management>
183-
<block_io/>
184-
<partitioning/>
184+
<block_io />
185+
<partitioning />
185186
<start_restart>
186-
<frozen_field status="off"/>
187+
<frozen_field status="off" />
187188
</start_restart>
188189
</calculation_management>
189190
<lagrangian model="off">
190-
<output/>
191+
<output />
191192
</lagrangian>
192193
<numerical_parameters>
193-
<gradient_reconstruction choice="green_iter"/>
194-
<gradient_transposed status="on"/>
195-
<hydrostatic_pressure status="off"/>
194+
<gradient_reconstruction choice="green_iter" />
195+
<gradient_transposed status="on" />
196+
<hydrostatic_pressure status="off" />
196197
<pressure_relaxation>1</pressure_relaxation>
197198
<velocity_pressure_algo choice="simplec">
198199
<piso_sweep_number>1</piso_sweep_number>
199200
</velocity_pressure_algo>
200-
<velocity_pressure_coupling status="off"/>
201+
<velocity_pressure_coupling status="off" />
201202
</numerical_parameters>
202203
<physical_properties>
203204
<fluid_properties>
204-
<material choice="user_material"/>
205-
<method choice="user_properties"/>
205+
<material choice="user_material" />
206+
<method choice="user_properties" />
206207
<property choice="constant" label="Density" name="density">
207208
<initial_value>1.17862</initial_value>
208-
<listing_printing status="off"/>
209-
<postprocessing_recording status="off"/>
209+
<listing_printing status="off" />
210+
<postprocessing_recording status="off" />
210211
</property>
211212
<property choice="constant" label="LamVisc" name="molecular_viscosity">
212213
<initial_value>1.83e-05</initial_value>
213-
<listing_printing status="off"/>
214-
<postprocessing_recording status="off"/>
214+
<listing_printing status="off" />
215+
<postprocessing_recording status="off" />
215216
</property>
216217
<property choice="constant" label="SpecHeat" name="specific_heat">
217218
<initial_value>1017.24</initial_value>
218-
<listing_printing status="off"/>
219-
<postprocessing_recording status="off"/>
219+
<listing_printing status="off" />
220+
<postprocessing_recording status="off" />
220221
</property>
221222
<property choice="constant" label="ThermalCond" name="thermal_conductivity">
222223
<initial_value>0.02495</initial_value>
223-
<listing_printing status="off"/>
224-
<postprocessing_recording status="off"/>
224+
<listing_printing status="off" />
225+
<postprocessing_recording status="off" />
225226
</property>
226-
<reference choice="user_material"/>
227+
<reference choice="user_material" />
227228
<reference_pressure>101325</reference_pressure>
228229
<reference_temperature>1273.15</reference_temperature>
229230
</fluid_properties>
@@ -232,61 +233,63 @@ k32=0;</formula>
232233
<gravity_y>0</gravity_y>
233234
<gravity_z>0</gravity_z>
234235
</gravity>
235-
<notebook/>
236+
<notebook />
236237
<omega>
237238
<omega_x>0</omega_x>
238239
<omega_y>0</omega_y>
239240
<omega_z>0</omega_z>
240241
</omega>
241242
</physical_properties>
242243
<solution_domain>
243-
<faces_cutting status="off"/>
244-
<joining/>
245-
<mesh_smoothing status="off"/>
244+
<faces_cutting status="off" />
245+
<joining />
246+
<mesh_smoothing status="off" />
246247
<meshes_list>
247-
<mesh name="cylinder_2D_raf2.msh"/>
248+
<mesh name="cylinder_2D_raf2.msh" />
248249
</meshes_list>
249-
<periodicity/>
250+
<periodicity />
250251
<volumic_conditions>
251-
<zone darcy_law="off" groundwater_law="off" head_losses="off" id="1" initialization="on" label="all_cells" mass_source_term="off" momentum_source_term="off" physical_properties="on" porosity="off" scalar_source_term="off" thermal_source_term="off">all[]</zone>
252+
<zone darcy_law="off" groundwater_law="off" head_losses="off" id="1" initialization="on"
253+
label="all_cells" mass_source_term="off" momentum_source_term="off" physical_properties="on"
254+
porosity="off" scalar_source_term="off" thermal_source_term="off">all[]</zone>
252255
</volumic_conditions>
253256
</solution_domain>
254257
<thermophysical_models>
255258
<ale_method status="on">
256259
<displacement_prediction_alpha>0.5</displacement_prediction_alpha>
257260
<displacement_prediction_beta>0</displacement_prediction_beta>
258-
<external_coupling_post_synchronization status="off"/>
261+
<external_coupling_post_synchronization status="off" />
259262
<fluid_initialization_sub_iterations>0</fluid_initialization_sub_iterations>
260263
<formula>mesh_viscosity = 1;</formula>
261264
<implicitation_precision>1e-05</implicitation_precision>
262265
<max_iterations_implicitation>10</max_iterations_implicitation>
263-
<mesh_viscosity type="isotrop"/>
264-
<monitor_point_synchronisation status="off"/>
265-
<property label="mesh_vi1" name="mesh_viscosity_1"/>
266+
<mesh_viscosity type="isotrop" />
267+
<monitor_point_synchronisation status="off" />
268+
<property label="mesh_vi1" name="mesh_viscosity_1" />
266269
<stress_prediction_alpha>2</stress_prediction_alpha>
267-
<variable dimension="3" label="Mesh Velocity" name="mesh_velocity"/>
270+
<variable dimension="3" label="Mesh Velocity" name="mesh_velocity" />
268271
</ale_method>
269-
<atmospheric_flows model="off"/>
270-
<compressible_model model="off"/>
272+
<atmospheric_flows model="off" />
273+
<compressible_model model="off" />
271274
<conjugate_heat_transfer>
272-
<external_coupling/>
275+
<external_coupling />
273276
</conjugate_heat_transfer>
274-
<gas_combustion model="off" option="off"/>
275-
<groundwater_model model="off"/>
276-
<joule_effect model="off"/>
277-
<radiative_transfer model="off"/>
277+
<gas_combustion model="off" option="off" />
278+
<groundwater_model model="off" />
279+
<joule_effect model="off" />
280+
<radiative_transfer model="off" />
278281
<reference_values>
279-
<length/>
282+
<length />
280283
</reference_values>
281-
<solid_fuels model="off"/>
282-
<thermal_scalar model="off"/>
284+
<solid_fuels model="off" />
285+
<thermal_scalar model="off" />
283286
<turbomachinery model="off">
284-
<joining/>
287+
<joining />
285288
</turbomachinery>
286289
<turbulence model="k-omega-SST">
287-
<gravity_terms status="on"/>
288-
<initialization choice="reference_value" zone_id="1"/>
289-
<property label="TurbVisc" name="turbulent_viscosity"/>
290+
<gravity_terms status="on" />
291+
<initialization choice="reference_value" zone_id="1" />
292+
<property label="TurbVisc" name="turbulent_viscosity" />
290293
<reference_velocity>50</reference_velocity>
291294
<variable label="k" name="k">
292295
<rhs_reconstruction>1</rhs_reconstruction>
@@ -301,18 +304,18 @@ k32=0;</formula>
301304
<velocity_pressure>
302305
<initialization>
303306
<formula zone_id="1">velocity[0] = 50.;
304-
velocity[1] = 0.;
305-
velocity[2] = 0.;</formula>
307+
velocity[1] = 0.;
308+
velocity[2] = 0.;</formula>
306309
</initialization>
307-
<property label="Stress" name="stress" support="boundary"/>
310+
<property label="Stress" name="stress" support="boundary" />
308311
<property label="Stress, normal" name="stress_normal" support="boundary">
309-
<postprocessing_recording status="off"/>
312+
<postprocessing_recording status="off" />
310313
</property>
311314
<property label="Stress, tangential" name="stress_tangential" support="boundary">
312-
<postprocessing_recording status="off"/>
315+
<postprocessing_recording status="off" />
313316
</property>
314-
<property label="total_pressure" name="total_pressure"/>
315-
<property label="Yplus" name="yplus" support="boundary"/>
317+
<property label="total_pressure" name="total_pressure" />
318+
<property label="Yplus" name="yplus" support="boundary" />
316319
<variable label="Pressure" name="pressure">
317320
<rhs_reconstruction>2</rhs_reconstruction>
318321
</variable>
@@ -323,4 +326,4 @@ velocity[2] = 0.;</formula>
323326
</variable>
324327
</velocity_pressure>
325328
</thermophysical_models>
326-
</Code_Saturne_GUI>
329+
</Code_Saturne_GUI>

0 commit comments

Comments
 (0)