Re: [petsc-users] Problems with the null-space removal

2025-05-08 Thread MIGUEL MOLINOS PEREZ
ph Pusztay mailto:josep...@buffalo.edu>> Subject: Re: [petsc-users] Problems with the null-space removal You don't often get email from mmoli...@us.es<mailto:mmoli...@us.es>. Learn why this is important<https://urldefense.us/v3/__https://aka.ms/Lea

Re: [petsc-users] Problems with the null-space removal

2025-05-08 Thread Joseph Pusztay via petsc-users
!ZNzXAukaJWoy9gfF0ZpkipSh7IvFVWu9UsybjhiA8z5_GHxWHwJ60oFlfUGwwh73aGqUO3XB4W8Mo4B5m7I4YoqhM1c$ Best, Joe From: MIGUEL MOLINOS PEREZ Sent: Thursday, May 8, 2025 10:22 AM To: Matthew Knepley Cc: petsc-users@mcs.anl.gov ; Joseph Pusztay Subject: Re: [petsc-users] Problems with the null-space removal You don&#

Re: [petsc-users] Problems with the null-space removal

2025-05-08 Thread MIGUEL MOLINOS PEREZ
This function “ DMSwarmCreatreSubswarm” is published somewhere? I can’t find it in the main branch of PETSc. Thanks, Miguel On May 6, 2025, at 9:03 AM, MIGUEL MOLINOS PEREZ wrote: Oh, so you want to turn off some Swarm nodes? Joe has a DMSwarmCreatreSubswarm() function somewhere. This might w

Re: [petsc-users] Problems with the null-space removal

2025-05-06 Thread MIGUEL MOLINOS PEREZ
Oh, so you want to turn off some Swarm nodes? Joe has a DMSwarmCreatreSubswarm() function somewhere. This might work. This would be awesome! Thanks, Miguel On 5 May 2025, at 21:43, Matthew Knepley wrote: On Mon, May 5, 2025 at 2:08 PM MIGUEL MOLINOS PEREZ mailto:mmoli...@us.es>> wrote: Hi Ma

Re: [petsc-users] Problems with the null-space removal

2025-05-05 Thread Matthew Knepley
On Mon, May 5, 2025 at 2:08 PM MIGUEL MOLINOS PEREZ wrote: > Hi Matt, thank you for your response! > > The most likely thing is that the nullspace is slightly wrong, or the > convergence test is not accounting for the nullspace somehow. > > However, since so many equations are inactive, I would c

Re: [petsc-users] Problems with the null-space removal

2025-05-05 Thread MIGUEL MOLINOS PEREZ
Hi Matt, thank you for your response! The most likely thing is that the nullspace is slightly wrong, or the convergence test is not accounting for the nullspace somehow. However, since so many equations are inactive, I would consider projecting the problem. I might either 1) Select a subset of

Re: [petsc-users] Problems with the null-space removal

2025-05-05 Thread Matthew Knepley
On Mon, May 5, 2025 at 3:52 AM MIGUEL MOLINOS PEREZ wrote: > Dear all, > > I am working on the resolution of a non-linear problem via SNES with a > large null-space (at least 70% of the equations are trivial). In a nutshell > I have a mesh with active and non-active nodes, and the non-active node

[petsc-users] Problems with the null-space removal

2025-05-05 Thread MIGUEL MOLINOS PEREZ
Dear all, I am working on the resolution of a non-linear problem via SNES with a large null-space (at least 70% of the equations are trivial). In a nutshell I have a mesh with active and non-active nodes, and the non-active nodes introduces the null-space. So far I've dealing with it using NG