Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
266 changes: 266 additions & 0 deletions 00_foundations/Inc_Urban_City/CASE/DATA/setup.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,266 @@
<?xml version="1.0" encoding="utf-8"?><Code_Saturne_GUI case="CASE" solver_version="9.1" study="code_saturne" version="2.0">
<additional_scalars>
<users/>
<variable name="smoke" type="user" label="smoke">
<formula zone_id="1">smoke = 0;</formula>
<max_value>1e+12</max_value>
<min_value>-1e+12</min_value>
<property label="Dscal1" choice="constant" name="smoke_diffusivity">
<initial_value>2e-05</initial_value>
</property>
<rhs_reconstruction>1</rhs_reconstruction>
<turbulent_flux_model>SGDH</turbulent_flux_model>
</variable>
</additional_scalars>
<analysis_control>
<output>
<mesh id="-1" label="Fluid domain" type="cells">
<all_variables status="on"/>
<location>all[]</location>
<writer id="-1"/>
</mesh>
<mesh id="-2" label="Boundary" type="boundary_faces">
<all_variables status="on"/>
<location>all[]</location>
<writer id="-1"/>
</mesh>
<probe id="1" name="1" status="on">
<probe_x>-278.82</probe_x>
<probe_y>-249.18</probe_y>
<probe_z>0.5</probe_z>
</probe>
<probe id="2" name="2" status="on">
<probe_x>-88.87</probe_x>
<probe_y>-256.38</probe_y>
<probe_z>0.5</probe_z>
</probe>
<probe id="3" name="3" status="on">
<probe_x>13.292</probe_x>
<probe_y>17.44</probe_y>
<probe_z>0.5</probe_z>
</probe>
<probe_format choice="CSV"/>
<probe_recording_frequency>1</probe_recording_frequency>
<probes_interpolation choice=""/>
<probes_snap choice=""/>
<writer id="-1" label="results">
<directory name="postprocessing"/>
<format name="ensight" options="separate_meshes"/>
<frequency period="time_step">100</frequency>
<output_at_end status="on"/>
<time_dependency choice="fixed_mesh"/>
</writer>
</output>
<profiles/>
<scalar_balances/>
<time_averages>
<time_average name="mean_velocity" label="mean_velocity" id="1">
<time_start>-1</time_start>
<time_step_start>25</time_step_start>
<var_prop name="velocity" component="-1"/>
</time_average>
</time_averages>
<time_parameters>
<iterations>5000</iterations>
<property name="courant_number" label="CourantNb"/>
<property name="fourier_number" label="FourierNb"/>
<time_passing>0</time_passing>
<time_step_ref>0.01</time_step_ref>
</time_parameters>
</analysis_control>
<boundary_conditions>
<boundary label="inlet" name="1" nature="inlet">100</boundary>
<boundary label="wall" name="2" nature="wall">1000</boundary>
<boundary label="outlet" name="3" nature="outlet">200</boundary>
<boundary label="sym1" name="4" nature="symmetry">600</boundary>
<boundary label="sym2" name="5" nature="symmetry">601</boundary>
<inlet label="inlet" field_id="none">
<scalar name="smoke" type="user" choice="dirichlet">
<dirichlet>0</dirichlet>
</scalar>
<turbulence choice="formula">
<formula>k = 0.1737;
omega = 1214.95;</formula>
<hydraulic_diameter>1</hydraulic_diameter>
<turbulent_intensity>2</turbulent_intensity>
</turbulence>
<velocity_pressure choice="norm" direction="normal">
<direction_x>1</direction_x>
<direction_y>0</direction_y>
<direction_z>0</direction_z>
<norm>6.81</norm>
</velocity_pressure>
</inlet>
<inlet label="None" field_id="none">
<scalar name="smoke" type="user" choice="dirichlet" label="smoke">
<dirichlet>0</dirichlet>
</scalar>
<turbulence choice="hydraulic_diameter">
<hydraulic_diameter>1</hydraulic_diameter>
</turbulence>
<velocity_pressure choice="norm" direction="normal">
<norm>1</norm>
</velocity_pressure>
</inlet>
<outlet label="outlet" field_id="none">
<scalar name="smoke" type="user" choice="neumann">
<neumann>0</neumann>
</scalar>
</outlet>
<outlet label="None" field_id="none">
<scalar name="smoke" type="user" choice="neumann" label="smoke">
<neumann>0</neumann>
</scalar>
</outlet>
<symmetry label="sym1" field_id="none"/>
<symmetry label="sym2" field_id="none"/>
<wall label="wall" field_id="none">
<scalar name="smoke" type="user" choice="neumann">
<neumann>0</neumann>
</scalar>
<velocity_pressure choice="off">
<dirichlet name="velocity" component="0">0</dirichlet>
<dirichlet name="velocity" component="1">0</dirichlet>
<dirichlet name="velocity" component="2">0</dirichlet>
</velocity_pressure>
</wall>
</boundary_conditions>
<calculation_management>
<block_io/>
<partitioning/>
<start_restart>
<frozen_field status="off"/>
</start_restart>
</calculation_management>
<lagrangian model="off"/>
<numerical_parameters>
<extended_neighborhood choice="complete"/>
<gradient_reconstruction choice="lsq"/>
<velocity_pressure_algo choice="simplec"/>
</numerical_parameters>
<physical_properties>
<fluid_properties>
<material choice="user_material"/>
<method choice="user_properties"/>
<property name="density" choice="constant" label="Density">
<initial_value>1.2</initial_value>
<listing_printing status="off"/>
<postprocessing_recording status="off"/>
</property>
<property name="dynamic_diffusion" choice="constant" label="DiffDyn">
<initial_value>0.01</initial_value>
<listing_printing status="off"/>
<postprocessing_recording status="off"/>
</property>
<property name="molecular_viscosity" choice="constant" label="LamVisc">
<initial_value>1.716e-05</initial_value>
<listing_printing status="off"/>
<postprocessing_recording status="off"/>
</property>
<reference_pressure>101325</reference_pressure>
<reference_temperature>293.15</reference_temperature>
</fluid_properties>
<gravity>
<gravity_x>0</gravity_x>
<gravity_y>0</gravity_y>
<gravity_z>0</gravity_z>
</gravity>
<notebook/>
<omega>
<omega_x>0</omega_x>
<omega_y>0</omega_y>
<omega_z>0</omega_z>
</omega>
<time_tables/>
</physical_properties>
<solution_domain>
<extrusion/>
<faces_cutting status="off"/>
<joining/>
<mesh_smoothing status="off"/>
<meshes_list>
<mesh name="amsterdam_coarse_io.msh"/>
</meshes_list>
<periodicity/>
<thin_walls/>
<volumic_conditions>
<zone label="all_cells" id="1" initialization="on" physical_properties="on">all[]</zone>
<zone label="fire_source" id="2" scalar_source_term="on">cylinder[15.56, -87.93, 0, 15.56, -87.93, 1, 5]</zone>
</volumic_conditions>
</solution_domain>
<thermophysical_models>
<ale_method/>
<atmospheric_flows model="off">
<large_scale_meteo status="off"/>
<read_meteo_data status="off"/>
</atmospheric_flows>
<compressible_model model="off"/>
<conjugate_heat_transfer>
<external_coupling>
<syrthes_instances/>
</external_coupling>
</conjugate_heat_transfer>
<gas_combustion model="off">
<thermodynamical_pressure status="off"/>
</gas_combustion>
<immersed_boundaries/>
<internal_coupling>
<coupled_scalars/>
<solid_zones/>
</internal_coupling>
<porosities/>
<radiative_transfer model="off"/>
<reference_values>
<length/>
</reference_values>
<source_terms>
<scalar_formula name="smoke" label="smoke" zone_id="2">S = 0.1;
dS = 0;</scalar_formula>
</source_terms>
<thermal_scalar model="off"/>
<turbomachinery model="off">
<joining/>
</turbomachinery>
<turbulence model="k-omega-SST">
<gravity_terms status="on"/>
<initialization zone_id="1" choice="formula">
<formula>k = 0.1737;
omega = 1214.95;</formula>
</initialization>
<initialization zone_id="2" choice="reference_value"/>
<property name="turbulent_viscosity" label="TurbVisc"/>
<reference_velocity>1</reference_velocity>
<variable name="k" label="k">
<rhs_reconstruction>1</rhs_reconstruction>
</variable>
<variable name="omega" label="omega">
<rhs_reconstruction>1</rhs_reconstruction>
</variable>
</turbulence>
<velocity_pressure>
<initialization>
<formula zone_id="1">velocity[0] = 6.81;
velocity[1] = 0.;
velocity[2] = 0.;</formula>
</initialization>
<property name="stress" label="Stress" support="boundary"/>
<property name="stress_normal" label="Stress, normal" support="boundary">
<postprocessing_recording status="off"/>
</property>
<property name="stress_tangential" label="Stress, tangential" support="boundary">
<postprocessing_recording status="off"/>
</property>
<property name="total_pressure" label="total_pressure"/>
<property name="yplus" label="Yplus" support="boundary"/>
<variable name="pressure" label="Pressure">
<rhs_reconstruction>2</rhs_reconstruction>
</variable>
<variable name="velocity" dimension="3" label="Velocity">
<rhs_reconstruction>1</rhs_reconstruction>
</variable>
</velocity_pressure>
</thermophysical_models>
<user_functions>
<calculator/>
</user_functions>
</Code_Saturne_GUI>
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions 00_foundations/Inc_Urban_City/MESH/amsterdam_coarse_io.msh
Git LFS file not shown
Loading