-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to assemble the right-hand side vector? #96
Comments
Hi @liqihao2000 |
Hi Mikael, it doesn't matter. I don't know how to get divergence, so I haven't solved this problem yet. |
Hi
Spaces with boundary conditions are generally only for solving PDEs and should normally not be used with projections. Did you see this demo? https://github.com/spectralDNS/shenfun/blob/master/demo/NavierStokesDrivenCavity.py |
Dear Mikael,
I'm constructing a decoupling algorithm for a Cahn-Hilliard Navier-Stokes system.
How to assemble the right-hand side vector
$$-\int_\Omega \psi \nabla\cdot({\bf u}^n\phi^n) ~dx ,$$ ${\bf u}^n$ is known which is the initial velocity vector in the Navier-Stokes equation, $\phi^n$ and $\mu^n$ are known in Cahn-Hilliard equation, $\psi$ is the test function for the Cahn-Hilliard equation.
where the
The minimal working example (MWE) is as follows:
How to assemble the right-hand side vector
$$-\int_\Omega \psi \nabla\cdot({\bf u}^n\phi^n) ~dx ,$$
The text was updated successfully, but these errors were encountered: