[petsc-users] SNESSetFunctionDomainError with NEWTONTR method

Ali ALI AHMAD ali.ali_ahmad at utt.fr
Mon Jul 28 11:52:08 CDT 2025


Hi, 



I am currently using the NEWTONTR method for compressible flow simulations. In some cases, I obtain non-physical solutions (for example, negative pressure). Can I use SNESSetFunctionDomainError in this case? I tried, but I don’t fully understand how it works with NEWTONTR. 




Thank you in advance 

best regrads, 
Ali ALI AHMAD 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20250728/09f1a86c/attachment.html>


More information about the petsc-users mailing list