Simulation Core
Não pode escolher mais do que 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

Deallocate_Normal_Circulation.f90 10 KiB

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