NEWT/T-DEPL: "Error in chord input. Keyword is invalid."

50 views
Skip to first unread message

A.S.M. Fakhrul Islam

unread,
Aug 2, 2020, 1:47:52 PM8/2/20
to SCALE Users Group
Hi,

I am trying to run the code included below and get this error message: "Error in chord input. Keyword is invalid."

I can get the code to work in a very convoluted way. I was wondering if there is a simple fix for the code below. Thank you!


+++ Input file +++

=t-newt parm=(centrm)

title

v7-238

read comp

c 4 den=2.15 1 626.85 end

SS304 8 den=7.8 1 326.85 end

B4C 10 den=2.52 1 626.85 5010 90 5011 10 end

end comp

read model

read materials

mix=4 end

mix=8 end

mix=10 end

end materials

read geom

'control drums

unit 5

cylinder 10 8

cylinder 20 8.9 chord x=5

cylinder 30 8.9

cylinder 40 9.0

media 4 1 10

media 10 1 20 -10

media 4 1 30 -20 -10

media 8 1 40 -30

boundary 40


global unit 100

cylinder 150 65


hole 5 origin x=50.7 rotate a1=180

media 4 1 150


boundary 150 100 100

end geom

read bounds all=vacuum end bounds

end data

end model

end

Rob Lefebvre

unread,
Aug 3, 2020, 7:07:30 AM8/3/20
to SCALE Users Group
Hi, 
The chord specification requires a '+x'

cylinder 20 8.9 chord +x=5

I was expecting to see this highlighted when editing in Fulcrum, but it appears Fulcrum does not distinguish between 'x' and '+x'. This is a minor discrepancy that I will capture for the development team.

The SCALE manual states in section 9.2.3.6.1.11 Chord:
 

The four possible chord specifications for a body are as follows:

chord +x=xplane 
chord +y=yplane 
chord -x=xplane 
chord -y=yplane    

Best regards,
Rob Lefebvre
SCALE Code System

A.S.M. Fakhrul Islam

unread,
Aug 3, 2020, 10:11:42 AM8/3/20
to SCALE Users Group
I was at a loss, but this looks like an oversight on my end. Thank you for pointing this out! 
Reply all
Reply to author
Forward
0 new messages