In GitLab by @mkovari on Nov 19, 2018, 14:30
Subroutine sctfjalw is described as follows.
This routine using a simple model to calculate the allowable current density in a superconducting coil, given the magnetic field and the allowable stress.
I don't think anyone knows what it does and I don't think we have ever used it. I propose we remove this subroutine. I will remove it unless I hear otherwise.
This superconducting model is only called when tfc_model = 0. However, this switch is defined as follows:
tfc_model /1/ : switch for TF coil magnet stress model:
= 0 simple model (solid copper coil)
= 1 CCFE two-layer stress model; superconductor
integer :: tfc_model = 1
@stuartmuldrew Someone apparently though that a simple stress model is run when the coil is resistive:
! Ensure that if TF coils are non-superconducting,
! only simple stress calculations are performed
if (itfsup == 0) tfc_model = 0
However, there doesn't seem to be any stress model attached.
I have commented out all code that uses 'tfc_model'.
Test suite run successfully.
In GitLab by @mkovari on Nov 19, 2018, 14:30
Subroutine
sctfjalwis described as follows.I don't think anyone knows what it does and I don't think we have ever used it. I propose we remove this subroutine. I will remove it unless I hear otherwise.
This superconducting model is only called when
tfc_model = 0. However, this switch is defined as follows:@stuartmuldrew Someone apparently though that a simple stress model is run when the coil is resistive:
However, there doesn't seem to be any stress model attached.
I have commented out all code that uses 'tfc_model'.
Test suite run successfully.