Skip to content

Commit bc8f132

Browse files
committed
replace plot with PLOT (global variable)
1 parent ef8ae44 commit bc8f132

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

examples/stall_model.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ end
99
using CSV
1010
using DataFrames
1111

12-
plot = true
12+
PLOT = true
1313

1414
# Find root directory
1515
root_dir = dirname(@__DIR__)
@@ -67,7 +67,7 @@ vel_app = [
6767
set_va!(body_aero_CAD_19ribs, vel_app)
6868

6969
# Plotting geometry
70-
plot && plot_geometry(
70+
PLOT && plot_geometry(
7171
body_aero_CAD_19ribs,
7272
"";
7373
data_type=".svg",
@@ -85,7 +85,7 @@ results = solve(vsm_solver, body_aero_CAD_19ribs)
8585

8686
CAD_y_coordinates = [panel.aero_center[2] for panel in body_aero_CAD_19ribs.panels]
8787

88-
plot && plot_distribution(
88+
PLOT && plot_distribution(
8989
[CAD_y_coordinates, CAD_y_coordinates],
9090
[results, results_with_stall],
9191
["VSM", "VSM with stall correction"];
@@ -106,7 +106,7 @@ path_cfd_lebesque = joinpath(
106106
"V3_CL_CD_RANS_Lebesque_2024_Rey_300e4.csv"
107107
)
108108

109-
plot && plot_polars(
109+
PLOT && plot_polars(
110110
[vsm_solver, VSM_with_stall_correction],
111111
[body_aero_CAD_19ribs, body_aero_CAD_19ribs],
112112
[

0 commit comments

Comments
 (0)