DedalusProject / eigentools

The Eigentools package for Dedalus
GNU General Public License v3.0
11 stars 10 forks source link

Updating for Dedalus v3 #10

Open hdrake opened 2 years ago

hdrake commented 2 years ago

These tools would be useful for my work, so I'd be happy to contribute to updating the package once the d3 branch stabilizes a bit more.

jsoishi commented 2 years ago

Hi @hdrake,

Apologies for getting to this so late. @bpbrown and I are beginning work on a d3 version of eigentools. We made some significant progress this past week and will likely begin a d3 branch here soon. Please watch this space or get in touch with me if you'd like to pitch in.

j

hdrake commented 2 years ago

Please watch this space or get in touch with me if you'd like to pitch in.

Awesome, I will try to do so.

demonh6 commented 2 years ago

Hi guys, I like your work but I have a trouble in using eigentools.

import eigentools Traceback (most recent call last): File "", line 1, in File "/home/demonh6/miniconda3/envs/dedalus3/lib/python3.10/site-packages/eigentools/init.py", line 8, in from .eigenproblem import Eigenproblem File "/home/demonh6/miniconda3/envs/dedalus3/lib/python3.10/site-packages/eigentools/eigenproblem.py", line 6, in from dedalus.tools.post import merge_process_files ImportError: cannot import name 'merge_process_files' from 'dedalus.tools.post' (/home/demonh6/miniconda3/envs/dedalus3/lib/python3.10/site-packages/dedalus/tools/post.py) I used the common pip in dedalus3 environment to install eigentools. Thanks for your helping !

bpbrown commented 2 years ago

Hi guys, I like your work but I have a trouble in using eigentools.

Dear @demonh6: eigentools does not yet support dedalus v3; to run eigentools at present, you must be on the v2_master branch of dedalus, which is dedalus v2.

This issue is open to track the ongoing effort to port eigentools to support dedalus v3 (master).

demonh6 commented 2 years ago

Thanks for your quick reply!  Good luck with the dedalus project development. 

------------------ 原始邮件 ------------------ 发件人: "DedalusProject/eigentools" @.>; 发送时间: 2022年7月15日(星期五) 中午1:48 @.>; @.**@.>; 主题: Re: [DedalusProject/eigentools] Updating for Dedalus v3 (Issue #10)

Hi guys, I like your work but I have a trouble in using eigentools.

Dear @demonh6: eigentools does not yet support dedalus v3; to run eigentools at present, you must be on the v2_master branch of dedalus, which is dedalus v2.

This issue is open to track the ongoing effort to port eigentools to support dedalus v3 (master).

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>

demonh6 commented 2 years ago

Another question !

I'm trying to solve the eigenvalue problem of schrodinger equation of two-dimensional stationary harmonic oscillator by Dedalus. But I ran into difficulties and didn't find similar examples to refer to. I wonder if v2_master and v3_master can solve BiGlobal Problem. Thanks for answering me!!! Here are the errors I encountered In v2_master: NameError: name 'dy' is not defined. Did you mean: 'dx'? (How to make EVP dealing with dx and dy at the same time) In v3_master: solver.solve_sparse(solver.subproblems[0], 10, 2) ------NotImplementedError Another multi equations problem (such as NS equations) In v3_master: INFO :: Building subproblem matrices 1/1 (~100%) Elapsed: 1s, Remaining: 0s, Rate: 9.8e-01/s Traceback (most recent call last): ------RuntimeError: Factor is exactly singular