I'm running into this error, and I'm sure it is because I am setting things up incorrectly. I'm trying to simulate 2D Boussinesq (NS + stably stratifying active scalar) in a doubly periodic domain (I'm attaching the modified script I generated from the 2d RB example).My first guess is that I'm missing something for the doubly periodic boundary conditions...is it enough to just specify the domain is Fourier?
--
You received this message because you are subscribed to the Google Groups "Dedalus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dedalus-user...@googlegroups.com.
To post to this group, send email to dedalu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dedalus-users/b7f55e2a-7221-4430-8bb4-0e2a7dafcbff%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "Dedalus Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/dedalus-users/Syupo6xWvsU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to dedalus-user...@googlegroups.com.
To post to this group, send email to dedalu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dedalus-users/CAJoYf%3DhfhKJhwg-TnRkMJnHEYOdAkyY3%3Dtr7MrTd6Cz7Jz2U1g%40mail.gmail.com.
self.problem.add_int_bc("P = 0", condition="dx == 0")Here we set the gauge of the lagrange multiplier (P) to be zero as our non-redundant equation.
To view this discussion on the web visit https://groups.google.com/d/msgid/dedalus-users/CAFHSqE%3DnrGhWv%2BO1BHX%2BNtLfF4KZ%2B7w3PgqUk2obx6VTjXjGsw%40mail.gmail.com.
problem.add_equation("psi = 0", condition="(nx==0) and (nz==0)”)problem.add_equation("omega - dx(dx(psi)) - dz(dz(psi)) = 0", condition="(nx!=0) or (nz!=0)")
(dedalus)new-host-3:Downloads knrider$ python3 2d_bouss.py
2015-06-02 21:53:51,905 pencil 0/1 INFO :: Building pencil matrix 1/32 (~3%) Elapsed: 0s, Remaining: 1s, Rate: 2.1e+01/s
2015-06-02 21:53:52,051 pencil 0/1 INFO :: Building pencil matrix 4/32 (~12%) Elapsed: 0s, Remaining: 1s, Rate: 2.1e+01/s
2015-06-02 21:53:52,248 pencil 0/1 INFO :: Building pencil matrix 8/32 (~25%) Elapsed: 0s, Remaining: 1s, Rate: 2.1e+01/s
2015-06-02 21:53:52,444 pencil 0/1 INFO :: Building pencil matrix 12/32 (~38%) Elapsed: 1s, Remaining: 1s, Rate: 2.0e+01/s
2015-06-02 21:53:52,638 pencil 0/1 INFO :: Building pencil matrix 16/32 (~50%) Elapsed: 1s, Remaining: 1s, Rate: 2.1e+01/s
2015-06-02 21:53:52,833 pencil 0/1 INFO :: Building pencil matrix 20/32 (~62%) Elapsed: 1s, Remaining: 1s, Rate: 2.1e+01/s
2015-06-02 21:53:53,027 pencil 0/1 INFO :: Building pencil matrix 24/32 (~75%) Elapsed: 1s, Remaining: 0s, Rate: 2.1e+01/s
2015-06-02 21:53:53,223 pencil 0/1 INFO :: Building pencil matrix 28/32 (~88%) Elapsed: 1s, Remaining: 0s, Rate: 2.1e+01/s
2015-06-02 21:53:53,419 pencil 0/1 INFO :: Building pencil matrix 32/32 (~100%) Elapsed: 2s, Remaining: 0s, Rate: 2.0e+01/s
2015-06-02 21:53:53,421 __main__ 0/1 INFO :: Solver built
2015-06-02 21:53:53,422 __main__ 0/1 INFO :: Starting loop
2015-06-02 21:53:53,505 __main__ 0/1 ERROR :: Exception raised, triggering end of main loop.
2015-06-02 21:53:53,505 __main__ 0/1 INFO :: Iterations: 0
2015-06-02 21:53:53,505 __main__ 0/1 INFO :: Sim end time: 0.000000
2015-06-02 21:53:53,505 __main__ 0/1 INFO :: Run time: 0.08 sec
2015-06-02 21:53:53,505 __main__ 0/1 INFO :: Run time: 0.000023 cpu-hr
Traceback (most recent call last):
File "2d_bouss.py", line 96, in <module>
solver.step(dt)
File "/Users/knrider/Desktop/dedalus/src/dedalus/dedalus/core/solvers.py", line 339, in step
self.timestepper.step(self, dt, wall_time)
File "/Users/knrider/Desktop/dedalus/src/dedalus/dedalus/core/timesteppers.py", line 128, in step
MX0.set_pencil(p, p.M*x)
AttributeError: 'Pencil' object has no attribute 'M'
--
You received this message because you are subscribed to a topic in the Google Groups "Dedalus Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/dedalus-users/Syupo6xWvsU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to dedalus-user...@googlegroups.com.
To post to this group, send email to dedalu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dedalus-users/C6A53310-6E0A-42C9-BB0B-726A98AA0010%40gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dedalus-users/CAHqBLzx1rvM6Sg6kFVVmcVQQ%2BOrSsqXowa2zQ%3DXvAppnVLuoTQ%40mail.gmail.com.
<2d_bouss_singular.py>
--
You received this message because you are subscribed to a topic in the Google Groups "Dedalus Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/dedalus-users/Syupo6xWvsU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to dedalus-user...@googlegroups.com.
To post to this group, send email to dedalu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dedalus-users/C6A53310-6E0A-42C9-BB0B-726A98AA0010%40gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dedalus-users/689D08C7-3009-4AF2-82B5-A257B5D5B8CE%40gmail.com.