-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomersnew featureNew feature or requestNew feature or request
Description
Krylov-Bogoliubov method for commensurate frequencies, e.g.,
eq1 = d(d(x, t), t) + ω₁^2 * x + α₁ * x^3 + 3 * J₁ * x^2 * y + J₂ * y^2 * x #+ γ₁ * d(x, t) + η₁ * x^2 * d(x, t)
eq2 = d(d(y, t), t) + ω₂^2 * y + α₂ * y^3 + J₁ * x^3 + J₂ * x^2 * y #+ γ₂ * d(y, t) + η₂ * y^2 * d(y, t)
forces = [F * cos(ω * t), 0]
dEOM_temp = DifferentialEquation([eq1, eq2] - forces, [x, y]);
add_harmonic!(dEOM_temp, x, ω) # x will rotate at ω
add_harmonic!(dEOM_temp, y, 3 * ω); # y will rotate at 3*ω
# harmonic_tmp = get_krylov_equations(dEOM_temp, order=1);
harmonic_tmp = get_harmonic_equations(dEOM_temp);
rearranged = HB.rearrange_standard(harmonic_tmp)
prob_temp = HB.Problem(rearranged)
rearranged.equationsMetadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomersnew featureNew feature or requestNew feature or request
