From: Roy S. <roy...@ic...> - 2017-10-30 14:53:42
|
On Sun, 29 Oct 2017, Xiao Ma wrote: > I am wondering if there is a way to define two mesh objects , which each > represents half of the domain, and solve the two part at the same time , > mesh_pos and mesh_neg , two meshes are separated, they are not connected . Depends what you mean by "at the same time". If you want to solve a fully coupled problem, then you can use ReplicatedMesh::stitch_meshes() to combine them into a single mesh, and solve the problem on that. If you want to solve a weakly coupled problem, then you can create a System on each mesh... either as part of the same EquationSystems but using subdomain-specific variables, or as part of two separate EquationSystems, one on each mesh. --- Roy |