Simulation Core
Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
 
 
 
 
 
 

189 righe
7.2 KiB

  1. subroutine DEALLOCATE_ARRAYS_NormalCirculation() ! is called in module FluidFlowMain
  2. USE MudSystemVARIABLES
  3. implicit none
  4. if(allocated(Xstart_PipeSection)) deallocate(Xstart_PipeSection)
  5. if(allocated(Xend_PipeSection)) deallocate(Xend_PipeSection)
  6. if(allocated(PipeSection_VolumeCapacity)) deallocate(PipeSection_VolumeCapacity)
  7. if(allocated(Area_PipeSectionFt)) deallocate(Area_PipeSectionFt)
  8. if(allocated(OD_PipeSectionInch)) deallocate(OD_PipeSectionInch)
  9. if(allocated(ID_PipeSectionInch)) deallocate(ID_PipeSectionInch)
  10. if(allocated(Xstart_OpSection)) deallocate(Xstart_OpSection)
  11. if(allocated(Xend_OpSection)) deallocate(Xend_OpSection)
  12. if(allocated(Area_OpSectionFt)) deallocate(Area_OpSectionFt)
  13. if(allocated(OD_OpSectionInch)) deallocate(OD_OpSectionInch)
  14. if(allocated(ID_OpSectionInch)) deallocate(ID_OpSectionInch)
  15. if(allocated(OpSection_VolumeCapacity)) deallocate(OpSection_VolumeCapacity)
  16. if(allocated(GeoTypeOp)) deallocate(GeoTypeOp)
  17. if(allocated(GeoType)) deallocate(GeoType)
  18. call Hz_MudDischarged_Volume%Empty()
  19. call Hz_Mud_Backhead_X%Empty()
  20. call Hz_Mud_Backhead_section%Empty()
  21. call Hz_Mud_Forehead_X%Empty()
  22. call Hz_Mud_Forehead_section%Empty()
  23. call Hz_Density%Empty()
  24. call Hz_RemainedVolume_in_LastSection%Empty()
  25. call Hz_EmptyVolume_inBackheadLocation%Empty()
  26. call Hz_MudOrKick%Empty()
  27. call St_MudDischarged_Volume%Empty()
  28. call St_Mud_Backhead_X%Empty()
  29. call St_Mud_Backhead_section%Empty()
  30. call St_Mud_Forehead_X%Empty()
  31. call St_Mud_Forehead_section%Empty()
  32. call St_Density%Empty()
  33. call St_RemainedVolume_in_LastSection%Empty()
  34. call St_EmptyVolume_inBackheadLocation%Empty()
  35. call St_MudOrKick%Empty()
  36. call Ann_MudDischarged_Volume%Empty()
  37. call Ann_Mud_Backhead_X%Empty()
  38. call Ann_Mud_Backhead_section%Empty()
  39. call Ann_Mud_Forehead_X%Empty()
  40. call Ann_Mud_Forehead_section%Empty()
  41. call Ann_Density%Empty()
  42. call Ann_RemainedVolume_in_LastSection%Empty()
  43. call Ann_EmptyVolume_inBackheadLocation%Empty()
  44. call Ann_MudOrKick%Empty()
  45. call Ann_CuttingMud%Empty()
  46. call Op_MudDischarged_Volume%Empty()
  47. call Op_Mud_Backhead_X%Empty()
  48. call Op_Mud_Backhead_section%Empty()
  49. call Op_Mud_Forehead_X%Empty()
  50. call Op_Mud_Forehead_section%Empty()
  51. call Op_Density%Empty()
  52. call Op_RemainedVolume_in_LastSection%Empty()
  53. call Op_EmptyVolume_inBackheadLocation%Empty()
  54. call Op_MudOrKick%Empty()
  55. call ChokeLine_MudDischarged_Volume%Empty()
  56. call ChokeLine_Mud_Backhead_X%Empty()
  57. call ChokeLine_Mud_Backhead_section%Empty()
  58. call ChokeLine_Mud_Forehead_X%Empty()
  59. call ChokeLine_Mud_Forehead_section%Empty()
  60. call ChokeLine_Density%Empty()
  61. call ChokeLine_RemainedVolume_in_LastSection%Empty()
  62. call ChokeLine_EmptyVolume_inBackheadLocation%Empty()
  63. call ChokeLine_MudOrKick%Empty()
  64. call Xend_MudElement%Empty()
  65. call Xstart_MudElement%Empty()
  66. call TVDend_MudElement%Empty()
  67. call TVDstart_MudElement%Empty()
  68. call Density_MudElement%Empty()
  69. call MudGeoType%Empty()
  70. call PipeID_MudElement%Empty()
  71. call PipeOD_MudElement%Empty()
  72. call MudType_MudElement%Empty()
  73. call Xend_OpMudElement%Empty()
  74. call Xstart_OpMudElement%Empty()
  75. call TVDend_OpMudElement%Empty()
  76. call TVDstart_OPMudElement%Empty()
  77. call Density_OpMudElement%Empty()
  78. call PipeID_OpMudElement%Empty()
  79. call PipeOD_OpMudElement%Empty()
  80. call MudTypeOp_MudElement%Empty()
  81. end subroutine
  82. subroutine RemoveAnnulusMudArrays(ilocal)
  83. USE MudSystemVARIABLES
  84. implicit none
  85. INTEGER :: ilocal
  86. call Ann_MudDischarged_Volume%Remove (ilocal)
  87. call Ann_Mud_Backhead_X%Remove (ilocal)
  88. call Ann_Mud_Backhead_section%Remove (ilocal)
  89. call Ann_Mud_Forehead_X%Remove (ilocal)
  90. call Ann_Mud_Forehead_section%Remove (ilocal)
  91. call Ann_Density%Remove (ilocal)
  92. call Ann_RemainedVolume_in_LastSection%Remove (ilocal)
  93. call Ann_EmptyVolume_inBackheadLocation%Remove (ilocal)
  94. call Ann_MudOrKick%Remove (ilocal)
  95. call Ann_CuttingMud%Remove (ilocal)
  96. end subroutine
  97. subroutine RemoveStringMudArrays(ilocal)
  98. USE MudSystemVARIABLES
  99. implicit none
  100. INTEGER :: ilocal
  101. call St_MudDischarged_Volume%Remove (ilocal)
  102. call St_Mud_Backhead_X%Remove (ilocal)
  103. call St_Mud_Backhead_section%Remove (ilocal)
  104. call St_Mud_Forehead_X%Remove (ilocal)
  105. call St_Mud_Forehead_section%Remove (ilocal)
  106. call St_Density%Remove (ilocal)
  107. call St_RemainedVolume_in_LastSection%Remove (ilocal)
  108. call St_EmptyVolume_inBackheadLocation%Remove (ilocal)
  109. call St_MudOrKick%Remove (ilocal)
  110. end subroutine
  111. subroutine RemoveOpMudArrays(ilocal)
  112. USE MudSystemVARIABLES
  113. implicit none
  114. INTEGER :: ilocal
  115. call Op_MudDischarged_Volume%Remove (ilocal)
  116. call Op_Mud_Backhead_X%Remove (ilocal)
  117. call Op_Mud_Backhead_section%Remove (ilocal)
  118. call Op_Mud_Forehead_X%Remove (ilocal)
  119. call Op_Mud_Forehead_section%Remove (ilocal)
  120. call Op_Density%Remove (ilocal)
  121. call Op_RemainedVolume_in_LastSection%Remove (ilocal)
  122. call Op_EmptyVolume_inBackheadLocation%Remove (ilocal)
  123. call Op_MudOrKick%Remove (ilocal)
  124. end subroutine
  125. subroutine RemoveHzMudArrays(ilocal)
  126. USE MudSystemVARIABLES
  127. implicit none
  128. INTEGER :: ilocal
  129. call Hz_MudDischarged_Volume%Remove (ilocal)
  130. call Hz_Mud_Backhead_X%Remove (ilocal)
  131. call Hz_Mud_Backhead_section%Remove (ilocal)
  132. call Hz_Mud_Forehead_X%Remove (ilocal)
  133. call Hz_Mud_Forehead_section%Remove (ilocal)
  134. call Hz_Density%Remove (ilocal)
  135. call Hz_RemainedVolume_in_LastSection%Remove (ilocal)
  136. call Hz_EmptyVolume_inBackheadLocation%Remove (ilocal)
  137. call Hz_MudOrKick%Remove (ilocal)
  138. end subroutine