Skip to content

NBI radius_beam_tangency and radius_beam_tangency_max have initial values(0.0) #3979

@JungkyunPark93

Description

@JungkyunPark93

Recently I used process for modeling a machine using NBI for heating.

But NBI path shows very strange result after singlerun, so I checked MFILE.DAT.

I found that radius_beam_tangency and radius_beam_tangency_max have initial values(0.0), not calculated values in build.py.

I checked calculate_beam_port_size() function, found that output radius_beam_tangency and radius_beam_tangency_max were not assigned to original variables.

So I added

current_drive_variables.radius_beam_tangency = radius_beam_tangency
current_drive_variables.radius_beam_tangency_max = radius_beam_tangency_max

between if statement and return and it worked well.

I'm not good at python, so can someone fix this issue more clearly?

Metadata

Metadata

Labels

HCDRelating to heating and current drive systemsNeutral Beam

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions