sunfluidh:2d_channel_flow_with_heated_bar_incomp_flow
Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
sunfluidh:2d_channel_flow_with_heated_bar_incomp_flow [2016/11/30 11:02] – yann | sunfluidh:2d_channel_flow_with_heated_bar_incomp_flow [2019/11/13 16:32] (Version actuelle) – yann | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
[[sunfluidh: | [[sunfluidh: | ||
- | <file> | + | <file txt input3d.dat> |
- | Last login: Tue Nov 29 21:21:04 on console | + | |
- | Myrrdin:~ yann$ cd $SUNFLUIDH_EDU_ACCES | + | |
- | Myrrdin: | + | |
- | Myrrdin: | + | |
- | U MATLAB/ | + | |
- | U MATLAB/ | + | |
- | Updated to revision 75. | + | |
- | Myrrdin: | + | |
- | Myrrdin: | + | |
- | data_meshgen_example_2D_heat_driven_cav.dat | + | |
- | input3d_axi-rotor-stator.dat | + | |
- | input3d_downstep_flow.dat | + | |
- | input3d_eddy2d.dat | + | |
- | input3d_heat_driven_cavity2d.dat | + | |
- | input3d_reference_namelist_file.txt | + | |
- | makefile | + | |
- | Myrrdin: | + | |
- | Myrrdin: | + | |
- | Myrrdin: | + | |
- | Myrrdin: | + | |
- | usage: cp [-R [-H | -L | -P]] [-fi | -n] [-apvX] source_file target_file | + | |
- | cp [-R [-H | -L | -P]] [-fi | -n] [-apvX] source_file ... target_directory | + | |
- | Myrrdin: | + | |
- | Myrrdin: | + | |
- | Myrrdin: | + | |
- | Myrrdin: | + | |
- | Myrrdin: | + | |
- | Myrrdin: | + | |
- | Myrrdin: | + | |
- | Myrrdin: | + | |
- | Myrrdin: | + | |
- | Myrrdin: | + | |
- | Myrrdin: | + | |
- | Myrrdin: | + | |
- | Myrrdin: | + | |
- | Myrrdin: | + | |
- | data_meshgen_example_2D_heat_driven_cav.dat input3d_eddy2d.dat | + | |
- | input3d_axi-rotor-stator.dat input3d_heat_driven_cavity2d.dat | + | |
- | input3d_channel_flow.dat input3d_reference_namelist_file.txt | + | |
- | input3d_downstep_flow.dat makefile | + | |
- | Myrrdin: | + | |
- | Myrrdin: | + | |
- | Myrrdin: | + | |
- | Myrrdin: | + | |
- | vi input3d_axi-rotor-stator.dat | + | |
- | Myrrdin: | + | |
- | Myrrdin: | + | |
- | Myrrdin: | + | |
- | Myrrdin: | + | |
- | Myrrdin: | + | |
- | Myrrdin: | + | |
- | Myrrdin: | + | |
- | Myrrdin: | + | |
- | cp input3d_channel_flow.dat input3d_channel_flow_square_bar.dat | + | |
- | Myrrdin: | + | |
- | Myrrdin: | + | |
- | Myrrdin: | + | |
- | Myrrdin: | + | |
- | Myrrdin: | + | |
- | vi input3d_downstep_flow.dat | + | |
- | Myrrdin: | + | |
- | Myrrdin: | + | |
- | usage: cp [-R [-H | -L | -P]] [-fi | -n] [-apvX] source_file target_file | + | |
- | cp [-R [-H | -L | -P]] [-fi | -n] [-apvX] source_file ... target_directory | + | |
- | Myrrdin: | + | |
- | usage: cp [-R [-H | -L | -P]] [-fi | -n] [-apvX] source_file target_file | + | |
- | cp [-R [-H | -L | -P]] [-fi | -n] [-apvX] source_file ... target_directory | + | |
- | Myrrdin: | + | |
- | usage: cp [-R [-H | -L | -P]] [-fi | -n] [-apvX] source_file target_file | + | |
- | cp [-R [-H | -L | -P]] [-fi | -n] [-apvX] source_file ... target_directory | + | |
- | Myrrdin: | + | |
- | Myrrdin: | + | |
- | Myrrdin: | + | |
- | Myrrdin: | + | |
- | Myrrdin: | + | |
- | Myrrdin: | + | |
- | Myrrdin: | + | |
- | Myrrdin: | + | |
- | Myrrdin: | + | |
- | Myrrdin: | + | |
- | Myrrdin: | + | |
- | A | + | |
- | A | + | |
- | A | + | |
- | Myrrdin: | + | |
- | Sending | + | |
- | Adding | + | |
- | Adding | + | |
- | Adding | + | |
- | Sending | + | |
- | Sending | + | |
- | Sending | + | |
- | Transmitting file data ....... | + | |
- | Committed revision 76. | + | |
- | Myrrdin: | + | |
- | Last login: Wed Nov 30 09:11:58 on console | + | |
- | myrrdin: | + | |
- | myrrdin: | + | |
- | myrrdin: | + | |
- | myrrdin: | + | |
- | myrrdin: | + | |
- | gfortran -O3 -ffixed-line-length-none | + | |
- | init_dataset.f90: | + | |
- | + | ||
- | Var_String=" | + | |
- | 1 | + | |
- | Error: Symbol ' | + | |
- | make: *** [init_dataset.o] Error 1 | + | |
- | myrrdin: | + | |
- | vi init_dataset.f90 | + | |
- | myrrdin: | + | |
- | gfortran -O3 -ffixed-line-length-none | + | |
- | gfortran | + | |
- | myrrdin: | + | |
- | vi init_dataset.f90 | + | |
- | myrrdin: | + | |
- | gfortran -O3 -ffixed-line-length-none | + | |
- | gfortran | + | |
- | myrrdin: | + | |
- | mv check* r* input3d.dat | + | |
- | usage: mv [-f | -i | -n] [-v] source target | + | |
- | mv [-f | -i | -n] [-v] source ... directory | + | |
- | myrrdin: | + | |
- | bc_update_tridiagonal_system.mod module_bc_update_variable.o module_toolkit_o2.f90 | + | |
- | bc_update_variable.mod module_bulk_forces.f90 module_toolkit_o2.o | + | |
- | bulk_forces.mod module_bulk_forces.o module_toolkit_read_data.f90 | + | |
- | check_calc.f90 module_convection_fluxes_o2.f90 module_toolkit_read_data.o | + | |
- | check_calc.o module_convection_fluxes_o2.o module_toolkit_set_array_values.f90 | + | |
- | check_simulation_data.f90 module_cylindric_ns_source_terms_o2.f90 module_toolkit_set_array_values.o | + | |
- | check_simulation_data.o module_cylindric_ns_source_terms_o2.o module_toolkit_tridiagonal_system.f90 | + | |
- | check_sol.f90 module_declaration.f90 module_toolkit_tridiagonal_system.o | + | |
- | check_sol.o module_declaration.o module_type_declaration.f90 | + | |
- | convection_fluxes_o2.mod module_diffusion_fluxes_o2.f90 module_type_declaration.o | + | |
- | cylindric_source_terms.mod module_diffusion_fluxes_o2.o module_user_define_init_fields.f90 | + | |
- | declaration.mod module_get_mass_heat_fluxes.f90 module_user_define_init_fields.o | + | |
- | define_type.mod module_get_mass_heat_fluxes.o module_user_define_inlet_profiles.f90 | + | |
- | diffusion_fluxes_o2.mod module_interface_value.f90 module_user_define_inlet_profiles.o | + | |
- | get_heat_mass_fluxes.mod module_interface_value.o module_user_define_temporal_functions.f90 | + | |
- | get_statistics.mod module_iterative_poisson_solvers.f90 module_user_define_temporal_functions.o | + | |
- | grid_parameters.mod module_iterative_poisson_solvers.o module_user_define_wall_bc.f90 | + | |
- | init_alloc_fields.f90 module_logunit.f90 module_user_define_wall_bc.o | + | |
- | init_alloc_fields.o module_logunit.o namelist_data.mod | + | |
- | init_assoc_pointers.f90 module_meshgrid.f90 norms.mod | + | |
- | init_assoc_pointers.o module_meshgrid.o operators_on_fields_o2.mod | + | |
- | init_dataset.f90 module_method_adi_mpi.f90 package_mpi.mod | + | |
- | init_dataset.o module_method_adi_mpi.o package_openmp.mod | + | |
- | init_domain_config.f90 module_method_sormg.f90 perturbations.mod | + | |
- | init_domain_config.o module_method_sormg.o phys_properties.mod | + | |
- | init_domain_layout.f90 module_namelist_data.f90 recording_results.mod | + | |
- | init_domain_layout.o module_namelist_data.o save_restart_procedures.mod | + | |
- | init_fields.f90 module_norms.f90 schemes_nonsplit_operators_o2.f90 | + | |
- | init_fields.o module_norms.o schemes_nonsplit_operators_o2.o | + | |
- | init_ns_fields.f90 module_openmp.f90 solv_ns_o2.f90 | + | |
- | init_ns_fields.o module_openmp.o solv_ns_o2.o | + | |
- | init_operators.f90 module_operator_on_fields_o2.f90 solv_poisson_o2.f90 | + | |
- | init_operators.o module_operator_on_fields_o2.o solv_poisson_o2.o | + | |
- | init_resuming.f90 module_package_mpi.f90 source_terms_helmholtz_system_o2.f90 | + | |
- | init_resuming.o module_package_mpi.o source_terms_helmholtz_system_o2.o | + | |
- | init_setup.f90 module_pertubations.f90 source_terms_poisson_equation.f90 | + | |
- | init_setup.o module_pertubations.o source_terms_poisson_equation.o | + | |
- | interface_check_files.h module_phys_properties.f90 sunfluidh.deps | + | |
- | interface_init_files.h module_phys_properties.o sunfluidh.deps.old | + | |
- | interface_init_main.h module_recording_results.f90 sunfluidh.x | + | |
- | interface_schemes_files.h module_recording_results.o sutherland_law.mod | + | |
- | interface_solv_files.h module_save_restart.f90 temporal_functions.mod | + | |
- | interface_source_term_files.h module_save_restart.o thomas_algorithms.mod | + | |
- | interface_update_file.h module_statistics.f90 time_management.mod | + | |
- | interface_value.mod module_statistics.o time_progress_o2.mod | + | |
- | iterative_poisson_solvers.mod module_sutherland_law.f90 time_report_recording.mod | + | |
- | log_unit.mod module_sutherland_law.o toolkit_o2.mod | + | |
- | main.f90 module_thomas_algorithms.f90 toolkit_read_data.mod | + | |
- | main.o module_thomas_algorithms.o toolkit_set_array_values.mod | + | |
- | makefile module_time_management.f90 toolkit_tridiagonal_system.mod | + | |
- | method_adi_mpi.mod module_time_management.o update_pressure_velocity.f90 | + | |
- | method_sormg.mod module_time_progress_o2.f90 update_pressure_velocity.o | + | |
- | module_bc_update_tridiag_syst.f90 module_time_progress_o2.o user_define_init_fields.mod | + | |
- | module_bc_update_tridiag_syst.o module_time_report.f90 user_define_inlet_profiles.mod | + | |
- | module_bc_update_variable.f90 module_time_report.o user_define_wall_bc.mod | + | |
- | myrrdin: | + | |
- | myrrdin: | + | |
- | myrrdin: | + | |
- | myrrdin: | + | |
- | myrrdin: | + | |
- | myrrdin: | + | |
- | vi input3d_heat_driven_cavity2d_incomp.dat | + | |
- | myrrdin: | + | |
- | / | + | |
- | myrrdin: | + | |
- | myrrdin: | + | |
- | myrrdin: | + | |
- | myrrdin: | + | |
- | myrrdin: | + | |
- | myrrdin: | + | |
=========================================================================== | =========================================================================== | ||
Ligne 218: | Ligne 25: | ||
| | ||
inlet flowrate = uniform profil | inlet flowrate = uniform profil | ||
- | + | ||
- | INCOMPRESSIBLE DOWNSTEP FLOW | + | |
Tc | Tc | ||
------------------------------------------ | ------------------------------------------ | ||
Ligne 243: | Ligne 48: | ||
| | ||
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ | ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ | ||
- | & | + | & |
+ | | ||
& | & | ||
Ligne 255: | Ligne 61: | ||
| | ||
| | ||
+ | |||
+ | ------------------------------------------------------- | ||
+ | | ||
+ | ------------------------------------------------------- | ||
+ | |||
+ | First (and unic) immersed body (temperature Th= 2.Tc) | ||
+ | |||
+ | & | ||
+ | Xi_3= 5.5 , Xj_3= 1.0 ,Xk_3= 0.0 , Xi_4= 4.5 , Xj_4= 1.0 ,Xk_4= 0.0 , | ||
+ | | ||
+ | |||
+ | ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ | ||
+ | DEFINITION OF BOUNDARY CONDITIONS | ||
+ | ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ | ||
+ | ============================================================================= | ||
+ | WALL BOUNDARY CONDITION SETUP | ||
+ | | ||
+ | ============================================================================= | ||
+ | --------------------------------------------------- | ||
+ | DATA SET FOR THE WALL BOUNDARY CONDITIONS | ||
+ | --------------------------------------------------- | ||
+ | First set of wall boundary conditions (applied to the walls of the channel) : | ||
+ | imposed temperature : Tc | ||
+ | -------- | ||
+ | |||
+ | & | ||
+ | | ||
+ | West_Heat_BC_Option = 0 , | ||
+ | West_Wall_BC_Value= 1.0 , | ||
+ | |||
+ | The usual wall boundary conditions for the velocity are used (no-slip and impermeability conditions). | ||
+ | As they are the conditions by default, they are not explicitly written | ||
+ | |||
+ | -------- | ||
+ | Second set of wall boundary conditions (applied to the walls of the square bar) : | ||
+ | imposed temperature : Th | ||
+ | -------- | ||
+ | |||
+ | & | ||
+ | Wall_BC_DataSetName =" | ||
+ | West_Heat_BC_Option = 0 , | ||
+ | West_Wall_BC_Value= 2.0 , | ||
+ | |||
+ | The usual wall boundary conditions for the velocity are used (no-slip and impermeability conditions). | ||
+ | As they are the conditions by default, they are not explicitly written | ||
+ | |||
+ | ============================================================================= | ||
+ | INLET AND OUTLET | ||
+ | | ||
+ | ============================================================================= | ||
+ | Keep in mind that the domain is enclosed by default. | ||
+ | Here the inlet and outlet conditions are located at the ends of the domain. They replace the walls by default over the insterested areas. | ||
+ | |||
+ | Inlet : Uniform flowrate profil | ||
+ | |||
+ | & | ||
+ | Plan_Location_Coordinate= | ||
+ | Start_Coordinate_of_First_Span = 0.00 , End_Coordinate_of_First_Span = 1.00 , | ||
+ | Start_Coordinate_of_Second_Span= 0.0 , End_Coordinate_of_Second_Span= 0.0 , | ||
+ | Normal_Velocity_Reference_Value= 1.0 , | ||
+ | Temperature_Reference_Value= 1.0 / | ||
+ | |||
+ | & | ||
+ | | ||
+ | | ||
+ | | ||
+ | ============================================================================= | ||
+ | | ||
+ | ============================================================================= | ||
+ | !--- No new boundary conditions are defined at the ends of the domain : walls by default are preserved, the inlet and outlet previously are defined above) | ||
+ | !--- As " | ||
+ | |||
+ | & | ||
+ | ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ | ||
+ | | ||
+ | ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ | ||
+ | | ||
+ | & | ||
+ | MomentumConvection_Scheme=" | ||
+ | Poisson_NumericalMethod=" | ||
+ | |||
+ | & | ||
+ | Relaxation_Coefficient= 1.7 , !--- Relaxation coefficient of the SOR method ( 1 <= Relaxation_Coefficient < 2) | ||
+ | Number_max_Grid= 4, !--- Number of grid levels | ||
+ | Number_max_Cycle= 10, !--- Number of multigrid cycles | ||
+ | Number_Iteration= 0, !--- Maximum number of SOR iterations method applied for any grid level, if 0 (or removed) the 3 next data are considered | ||
+ | Number_Iteration_FineToCoarseGrid= 15, !--- number of SOR iterations applied on any grid level during the restriction step (before the coarsest grid computation) | ||
+ | Number_Iteration_CoarseToFineGrid= 15, !--- number of SOR iterations applied on any grid level during the prolongation step (after the Coarsest grid computation) | ||
+ | Number_Iteration_CoarsestGrid= 15 , !--- number of SOR iterations applied on the coarsest grid | ||
+ | Convergence_Criterion= 1.D-08 / !--- convergence tolerance on the residu of the Poisson' | ||
+ | ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ | ||
+ | | ||
+ | ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ | ||
+ | The numerical time step is imposed | ||
+ | |||
+ | & | ||
+ | Steady_Flow_Stopping_Criterion_Enabled = .true. , Steady_Flow_Stopping_Criterion = 1.D-16, | ||
+ | Temporal_Iterations_Number = 100000 | ||
+ | TimeStep_Type = 0 , | ||
+ | Timestep_Max = 1.D-03 , | ||
+ | Simulation_Backup_Rate | ||
+ | ============================================================================= | ||
+ | | ||
+ | ============================================================================= | ||
+ | |||
+ | | ||
+ | & | ||
+ | |||
+ | & | ||
+ | & | ||
+ | & | ||
+ | Probe_StartTimeIterationRecording= 0 , | ||
+ | Probe_RecordingReset=.false. / | ||
+ | |||
+ | ============================================================================= | ||
+ | | ||
+ | ============================================================================= | ||
+ | & | ||
+ | |||
+ | !--- Snapshots | ||
+ | |||
+ | & | ||
+ | InstantaneousFields_RecordingReset=.false. | ||
+ | InstantaneousFields_TimeRecordingRate= 5.0E-01 , | ||
+ | InstantaneousFields_RecordingStartTime= 0.D-00 | ||
+ | | ||
+ | & | ||
+ | & | ||
+ | & | ||
+ | |||
+ | !--- Statistics | ||
+ | |||
+ | & | ||
+ | |||
+ | & | ||
+ | & | ||
+ | |||
+ | END OF FILE | ||
</ | </ | ||
[[sunfluidh: | [[sunfluidh: |
sunfluidh/2d_channel_flow_with_heated_bar_incomp_flow.1480500176.txt.gz · Dernière modification : 2016/11/30 11:02 de yann