LEVEL SET: PROBLEM WITH MESH

Numerical methods and mathematical models of Elmer
Andrea_P
Posts: 176
Joined: 22 Mar 2021, 18:39
Antispam: Yes
Location: POLYTHECNIC UNIVERSITY OF TURIN

LEVEL SET: PROBLEM WITH MESH

Post by Andrea_P »

Good Morning dear Community,
I have an issue with the mesh in my Level set problem, Elmer gives an error message in the output file, it stops in the first iteration. I attached the output, the case.sif and the mesh in a link: https://we.tl/t-mzCiiYozwU. Thanks in advance for your answers.
Regards,
Andrea
Attachments
output.txt
(4.44 KiB) Downloaded 38 times
case_levelset.sif
(4.66 KiB) Downloaded 33 times
POLYTECHNIC UNIVERSITY OF TURIN-DIMEAS
kevinarden
Posts: 1236
Joined: 25 Jan 2019, 01:28
Antispam: Yes

Re: LEVEL SET: PROBLEM WITH MESH

Post by kevinarden »

I get that error when using

Linear System Solver = direct
Linear System Direct Method = umfpack

because I run out of system memory.

I have had success using

Linear System Solver = direct
Linear System Direct Method = Mumps

in its place.
Andrea_P
Posts: 176
Joined: 22 Mar 2021, 18:39
Antispam: Yes
Location: POLYTHECNIC UNIVERSITY OF TURIN

Re: LEVEL SET: PROBLEM WITH MESH

Post by Andrea_P »

kevinarden wrote: 01 Jun 2021, 23:43 I get that error when using

Linear System Solver = direct
Linear System Direct Method = umfpack

because I run out of system memory.

I have had success using

Linear System Solver = direct
Linear System Direct Method = Mumps

in its place.
Hi Kevin,
Thanks for your constant help. How can I install MUMPS?
-Andrea
POLYTECHNIC UNIVERSITY OF TURIN-DIMEAS
kevinarden
Posts: 1236
Joined: 25 Jan 2019, 01:28
Antispam: Yes

Re: LEVEL SET: PROBLEM WITH MESH

Post by kevinarden »

It is part of Elmer on a unix system, I don't think it has been done on Windows. You can search mumps windows on this forum.

You can switch to the iterative solver instead of direct.

Linear System Solver = Iterative
Linear System Iterative Method = BiCGStab
Linear System Max Iterations = 500
Linear System Convergence Tolerance = 1.0e-8
BiCGstabl polynomial degree = 2
Linear System Preconditioning = ILU0
Andrea_P
Posts: 176
Joined: 22 Mar 2021, 18:39
Antispam: Yes
Location: POLYTHECNIC UNIVERSITY OF TURIN

Re: LEVEL SET: PROBLEM WITH MESH

Post by Andrea_P »

kevinarden wrote: 02 Jun 2021, 12:04 It is part of Elmer on a unix system, I don't think it has been done on Windows. You can search mumps windows on this forum.

You can switch to the iterative solver instead of direct.

Linear System Solver = Iterative
Linear System Iterative Method = BiCGStab
Linear System Max Iterations = 500
Linear System Convergence Tolerance = 1.0e-8
BiCGstabl polynomial degree = 2
Linear System Preconditioning = ILU0
Hi Kevin,
I have Ubuntu and fedora machines too. So, for example, how can I install it?
-Andrea
POLYTECHNIC UNIVERSITY OF TURIN-DIMEAS
Andrea_P
Posts: 176
Joined: 22 Mar 2021, 18:39
Antispam: Yes
Location: POLYTHECNIC UNIVERSITY OF TURIN

Re: LEVEL SET: PROBLEM WITH MESH

Post by Andrea_P »

kevinarden wrote: 02 Jun 2021, 12:04 It is part of Elmer on a unix system, I don't think it has been done on Windows. You can search mumps windows on this forum.

You can switch to the iterative solver instead of direct.

Linear System Solver = Iterative
Linear System Iterative Method = BiCGStab
Linear System Max Iterations = 500
Linear System Convergence Tolerance = 1.0e-8
BiCGstabl polynomial degree = 2
Linear System Preconditioning = ILU0
I have tried your code, but it does not work :(
-Andrea
Attachments
output.txt
(4.44 KiB) Downloaded 33 times
POLYTECHNIC UNIVERSITY OF TURIN-DIMEAS
kevinarden
Posts: 1236
Joined: 25 Jan 2019, 01:28
Antispam: Yes

Re: LEVEL SET: PROBLEM WITH MESH

Post by kevinarden »

Can you post the sif for that one?
Andrea_P
Posts: 176
Joined: 22 Mar 2021, 18:39
Antispam: Yes
Location: POLYTHECNIC UNIVERSITY OF TURIN

Re: LEVEL SET: PROBLEM WITH MESH

Post by Andrea_P »

kevinarden wrote: 02 Jun 2021, 14:40 Can you post the sif for that one?
I attached the case.sif.
-Andrea
Attachments
case_levelset.sif
(4.99 KiB) Downloaded 30 times
POLYTECHNIC UNIVERSITY OF TURIN-DIMEAS
kevinarden
Posts: 1236
Joined: 25 Jan 2019, 01:28
Antispam: Yes

Re: LEVEL SET: PROBLEM WITH MESH

Post by kevinarden »

I think

Linear System Solver = Iterative ! direct
Linear System Direct Method = BiCGstab ! umfpack

should be

Linear System Solver = Iterative ! direct
! Linear System Direct Method = BiCGstab ! umfpack
Linear System Iterative Method = BiCGstab
Andrea_P
Posts: 176
Joined: 22 Mar 2021, 18:39
Antispam: Yes
Location: POLYTHECNIC UNIVERSITY OF TURIN

Re: LEVEL SET: PROBLEM WITH MESH

Post by Andrea_P »

kevinarden wrote: 02 Jun 2021, 16:42 I think

Linear System Solver = Iterative ! direct
Linear System Direct Method = BiCGstab ! umfpack

should be

Linear System Solver = Iterative ! direct
! Linear System Direct Method = BiCGstab ! umfpack
Linear System Iterative Method = BiCGstab
Hi Kevin,
I have changed as you said, but it gave me the same error message.
Attachments
case_levelset.sif
(5 KiB) Downloaded 29 times
POLYTECHNIC UNIVERSITY OF TURIN-DIMEAS
Post Reply