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 ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Libmesh-users mailing list Libmesh-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libmesh-users