Skip to content

Inconsistency between the TF coil radial build in machine_build.f90 and sctfcoilf90 #1116

@jonmaddock

Description

@jonmaddock

In GitLab by @schislet on Sep 25, 2020, 10:41

Summary

There is an inconsistency between the TF coil radial build calculation and in machine_build.f90 and sctfcoil.f90 (lines 3793 to 3825 as of 25/09/2020 on develop). This was introduced with the changes implemented alongside issue #1048. The

The code in sctfcoil.f90 is comparing the diagonal length of the TF coil (r_tf_inboard_mid) with the horizontal radius and flagging an error because they are different - which one would expect in a wedge shaped coil.

The inconsistency leads to an error message in the outfile suggesting that the TF coil should have a greater radial thickness than it actually has (The error's not listed in the errorlist.json). This doesn't affect the output in any way, but it is rather distracting if the user doesn't know why this 'error' is coming up. Note that it crops up even when running test suite files (see below).

2017_baseline_test_OUT.DAT

@skahn @schislet @mkovari

Checklist

After implementing issue do the following

  • Run test suite
  • Does it change the output? If so, give justifications.
  • Does it change the baseline 2019 run? (you may need to run on Freia)
  • Merge request created

Metadata

Metadata

Labels

Has attachmentAttachment was not transfered from GitLab

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions