Searched refs:Pw (Results 1 – 1 of 1) sorted by relevance
165 PetscErrorCode GetWindPower(PetscScalar wm, PetscScalar vw, PetscScalar *Pw, AppCtx *user) in GetWindPower() argument174 *Pw = 0.5 * user->rho * cp * user->Ar * vw * vw * vw / (MVAbase * 1e6); in GetWindPower()183 PetscScalar *f, wm, Pw, *wd; in IFunction() local197 PetscCall(GetWindPower(wm, u[0], &Pw, user)); in IFunction()198 f[1] = 2.0 * (user->Ht + user->Hm) * udot[1] - Pw / wm + user->Te; in IFunction()