--
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 view this discussion on the web visit https://groups.google.com/d/msgid/dedalus-users/a0aa8856-8849-4a0e-b650-6400d889cb2en%40googlegroups.com.
problem.add_equation("dt(f) - D*(dx(dx(f)) + dz(fz)) = -(u*dx(f) + w*fz)")
I believe you can straightforwardly add boundary conditions like:
problem.add_bc("left(dt(b)) = left(-(u*dx(b) + w*bz))")
problem.add_bc("right(dt(b)) = right(-(u*dx(b) + w*bz))")
Where the "left" equations is f_down at the lower boundar and the "right" equations is f_up at the upper boundary. This does what I *think* you want to do. But, like Keaton, I have very little experience with viscoelastic simulations. I think the above will timestep, but I don't know if its results will make sense! Curious to hear a bit more about your problem, and hopefully this helps you get started towards a solution.
Best,
Evan
To view this discussion on the web visit https://groups.google.com/d/msgid/dedalus-users/CADZXxBiJa6gbbCkdKitoYaFMC6%3DdBphFoL0NFW2F5VtZa7AZgQ%40mail.gmail.com.
problem.add_bc("left(dt(f)) = left(-(u*dx(f) + w*fz))")
problem.add_bc("right(dt(f)) = right(-(u*dx(f) + w*fz))")
problem.substitutions['cxx_forcing'] = '2.0*cxx*dx(u) + 2.0*cxy*uy - Wimin1*cxx/TrC + Wimin1'
problem.add_equation("dt(cxx) - D * ( dx(dx(cxx))+dy(Dcxx) ) = - u*dx(cxx) - v*Dcxx + cxx_forcing")
problem.add_bc("left(dt(cxx)) = left(cxx_forcing)")
To view this discussion on the web visit https://groups.google.com/d/msgid/dedalus-users/87e84e13-07bd-4613-b946-609a525c1065n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dedalus-users/36131efa-3396-4f85-a3c6-c5c8df64e40cn%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dedalus-users/CADZXxBhYOytfN6t5hBeZ%2B9kN3gb2YJThSRu_y%2B0c0%3DWr6odmzw%40mail.gmail.com.