Skip to content

Commit

Permalink
modified: edgeconfig.py
Browse files Browse the repository at this point in the history
changed to if-elif structure
  • Loading branch information
mengmengzhang2019 committed Jan 29, 2024
1 parent 0d2d444 commit 279be83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ceasiompy/EdgeRun/func/edgeconfig.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ def edge_cfd(cpacs_path, cpacs_out_path, wkdir):
print(f'edge_solver: {edge_solver}')
if edge_solver == "Euler":
INSEUL = 0
if edge_solver == "RANS":
elif edge_solver == "RANS":
INSEUL = 1
else:
raise Exception("Error, edge solver not assigned")
Expand Down

0 comments on commit 279be83

Please sign in to comment.