Advertisement
mabruzzo

aligned-sound-ppm.in

Mar 2nd, 2023
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.35 KB | None | 0 0
  1. Adapt {
  2. density {
  3. include_ghosts = false;
  4. max_coarsen = 1.000000900000000;
  5. min_refine = 1.000000900000000;
  6. type = "density";
  7. };
  8. list = [ "density" ];
  9. max_level = 1;
  10. min_level = 0;
  11. }
  12.  
  13. Boundary {
  14. type = "periodic";
  15. }
  16.  
  17. Domain {
  18. lower = [ 0.000000000000000, 0.000000000000000, 0.000000000000000 ];
  19. upper = [ 1.000000000000000, 0.2500000000000000, 0.2500000000000000 ];
  20. }
  21.  
  22. Field {
  23. alignment = 8;
  24. ghost_depth = 4;
  25. list = [ "density", "velocity_x", "velocity_y", "velocity_z", "total_energy", "internal_energy", "pressure" ];
  26. padding = 0;
  27. prolong = "linear";
  28. }
  29.  
  30. Group {
  31. conserved {
  32. field_list = [ "density", "total_energy", "velocity_x", "velocity_y", "velocity_z" ];
  33. };
  34. derived {
  35. field_list = [ "pressure" ];
  36. };
  37. list = [ "conserved", "make_field_conservative" ];
  38. make_field_conservative {
  39. field_list = [ "velocity_x", "velocity_y", "velocity_z", "total_energy" ];
  40. };
  41. }
  42.  
  43. Initial {
  44. inclined_wave {
  45. alpha = 0.000000000000000;
  46. amplitude = 1.000000000000000e-06;
  47. beta = 0.000000000000000;
  48. lambda = 1.000000000000000;
  49. positive_vel = true;
  50. wave_type = "sound";
  51. };
  52. list = [ "inclined_wave" ];
  53. }
  54.  
  55. Mesh {
  56. root_blocks = [ 4, 1, 1 ];
  57. root_rank = 3;
  58. root_size = [ 32, 8, 8 ];
  59. }
  60.  
  61. Method {
  62. list = [ "ppm", "flux_correct" ];
  63. ppm {
  64. courant = 0.8000000000000000;
  65. diffusion = false;
  66. flattening = 0;
  67. steepening = false;
  68. };
  69. }
  70.  
  71. Output {
  72. data {
  73. dir = [ "method_ppm-xaxis-AMR-soundN32_%.4f", "time" ];
  74. field_list = [ "density", "velocity_x", "velocity_y", "velocity_z", "pressure", "total_energy" ];
  75. name = [ "data-%03d.h5", "proc" ];
  76. schedule {
  77. start = 0.000000000000000;
  78. step = 0.06250000000000000;
  79. var = "time";
  80. };
  81. type = "data";
  82. };
  83. list = [ "data" ];
  84. }
  85.  
  86. Physics {
  87. fluid_props {
  88. dual_energy {
  89. type = "disabled";
  90. };
  91. eos {
  92. gamma = 1.666666666666667;
  93. };
  94. };
  95. list = [ "fluid_props" ];
  96. }
  97.  
  98. Stopping {
  99. time = 1.000000000000000;
  100. }
  101.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement