Simulation Core
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

69 lines
2.9 KiB

  1. module CDrillStemProblems
  2. use CDrillStemProblemsVariables
  3. implicit none
  4. public
  5. contains
  6. ! Input routines
  7. subroutine SetStringDragIncrease(v)
  8. !DEC$ ATTRIBUTES DLLEXPORT :: SetStringDragIncrease
  9. !DEC$ ATTRIBUTES ALIAS: 'SetStringDragIncrease' :: SetStringDragIncrease
  10. implicit none
  11. type(CProblem), intent(in) :: v
  12. DrillStemProblems%StringDragIncrease = SetDue(v, ChangeStringDragIncrease)
  13. #ifdef deb
  14. print*, 'StringDragIncrease%ProblemType=', DrillStemProblems%StringDragIncrease%ProblemType
  15. print*, 'StringDragIncrease%StatusType=', DrillStemProblems%StringDragIncrease%StatusType
  16. print*, 'StringDragIncrease%Value=', DrillStemProblems%StringDragIncrease%Value
  17. #endif
  18. end subroutine
  19. subroutine SetStringTorqueIncrease(v)
  20. !DEC$ ATTRIBUTES DLLEXPORT :: SetStringTorqueIncrease
  21. !DEC$ ATTRIBUTES ALIAS: 'SetStringTorqueIncrease' :: SetStringTorqueIncrease
  22. implicit none
  23. type(CProblem), intent(in) :: v
  24. DrillStemProblems%StringTorqueIncrease = SetDue(v, ChangeStringTorqueIncrease)
  25. #ifdef deb
  26. print*, 'StringTorqueIncrease%ProblemType=', DrillStemProblems%StringTorqueIncrease%ProblemType
  27. print*, 'StringTorqueIncrease%StatusType=', DrillStemProblems%StringTorqueIncrease%StatusType
  28. print*, 'StringTorqueIncrease%Value=', DrillStemProblems%StringTorqueIncrease%Value
  29. #endif
  30. end subroutine
  31. subroutine SetStringTorqueFluctuation(v)
  32. !DEC$ ATTRIBUTES DLLEXPORT :: SetStringTorqueFluctuation
  33. !DEC$ ATTRIBUTES ALIAS: 'SetStringTorqueFluctuation' :: SetStringTorqueFluctuation
  34. implicit none
  35. type(CProblem), intent(in) :: v
  36. DrillStemProblems%StringTorqueFluctuation = SetDue(v, ChangeStringTorqueFluctuation)
  37. #ifdef deb
  38. print*, 'StringTorqueFluctuation%ProblemType=', DrillStemProblems%StringTorqueFluctuation%ProblemType
  39. print*, 'StringTorqueFluctuation%StatusType=', DrillStemProblems%StringTorqueFluctuation%StatusType
  40. print*, 'StringTorqueFluctuation%Value=', DrillStemProblems%StringTorqueFluctuation%Value
  41. #endif
  42. end subroutine
  43. subroutine SetStringDragIncreaseTime(v)
  44. !DEC$ ATTRIBUTES DLLEXPORT :: SetStringDragIncreaseTime
  45. !DEC$ ATTRIBUTES ALIAS: 'SetStringDragIncreaseTime' :: SetStringDragIncreaseTime
  46. implicit none
  47. real(8), intent(in) :: v
  48. DrillStemProblems%StringDragIncreaseTime = v
  49. #ifdef deb
  50. print*, 'StringDragIncreaseTime=', DrillStemProblems%StringDragIncreaseTime
  51. #endif
  52. end subroutine
  53. subroutine SetStringTorqueIncreaseTime(v)
  54. !DEC$ ATTRIBUTES DLLEXPORT :: SetStringTorqueIncreaseTime
  55. !DEC$ ATTRIBUTES ALIAS: 'SetStringTorqueIncreaseTime' :: SetStringTorqueIncreaseTime
  56. implicit none
  57. real(8), intent(in) :: v
  58. DrillStemProblems%StringTorqueIncreaseTime = v
  59. #ifdef deb
  60. print*, 'StringTorqueIncreaseTime=', DrillStemProblems%StringTorqueIncreaseTime
  61. #endif
  62. end subroutine
  63. end module CDrillStemProblems