Skip to content

Commit

Permalink
fix bug with DT_Out, which is a number, nto a str
Browse files Browse the repository at this point in the history
  • Loading branch information
ptrbortolotti committed Dec 14, 2023
1 parent 7138c45 commit 15a71c1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions weis/aeroelasticse/openmdao_openfast.py
Original file line number Diff line number Diff line change
Expand Up @@ -856,6 +856,8 @@ def load_FAST_model_opts(self,fst_vt,modeling_options={}):
fst_vt['AeroDyn15']['OLAF'] = {}
if fst_vt['ElastoDyn']['DT'] == 0.:
fst_vt['ElastoDyn']['DT'] = 'Default'
if fst_vt['Fst']['DT_Out'] == 0.:
fst_vt['Fst']['DT_Out'] = 'Default'

return fst_vt

Expand Down
4 changes: 2 additions & 2 deletions weis/inputs/modeling_schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -360,8 +360,8 @@ properties:
units: s
description: Amount of time between creating checkpoint files for potential restart (s)
DT_Out:
type: string
default: default
type: number
default: 0
description: Time step for tabular output (s) (or 'default')
OutFileFmt:
type: integer
Expand Down

0 comments on commit 15a71c1

Please sign in to comment.