Skip to content

Commit

Permalink
Fix rotor rotation direction for Joukowski ADM (Exawind#848)
Browse files Browse the repository at this point in the history
  • Loading branch information
lawrenceccheung authored May 24, 2023
1 parent bbe0fdd commit 48a2e3c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion amr-wind/wind_energy/actuator/disk/Joukowsky_ops.H
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,9 @@ struct ComputeForceOp<Joukowsky, ActSrcDisk>
const auto point_current = grid.pos[ip];

// TODO add sign convention for rotation (+/- RPM)
const auto theta_vec = utils::compute_tangential_vector(
// Negative sign on theta_vec means turbine is rotating
// clockwise when standing upstream looking downstream
const auto theta_vec = -utils::compute_tangential_vector(
ddata.center, ddata.normal_vec, point_current);

// normal vec by definition is opposite of the wind direction
Expand Down

0 comments on commit 48a2e3c

Please sign in to comment.