Page 1 of 1

ParStokes example .sif?

Posted: 05 Mar 2015, 17:09
by mewo2
Hi all,

I'm trying to get up to speed with the ParStokes solver using the information on the wiki. However, I'm having trouble getting a simple inclined slab test-case to run. When I try, I get the error "ERROR:: LUDecomp: Matrix is singluar.", followed by a segfault from within ParStokes. I suspect that I have something misconfigured (initial conditions?) but I'm not sure exactly what.

Does anybody have a working example of a simple test-case for ParStokes?

Cheers,
Martin

Re: ParStokes example .sif?

Posted: 20 Mar 2015, 10:58
by mika
Hi,

The following sif-file should give a starting point for writing a working case definition.

Best regards,
Mika

Re: ParStokes example .sif?

Posted: 20 Mar 2015, 17:33
by mewo2
Thanks, Mika - I managed to figure it out on my own, but hopefully this will help others in the future.

Also, am I right in thinking that the ParStokes solver is 3d-only? I haven't had any success with 2d cases.

Re: ParStokes example .sif?

Posted: 21 Mar 2015, 18:42
by tzwinger
Checking the code, it seems that the dimension of the problem is being taken care of - i.e., I found no reason why it shouldn't work in 2D. Question is - do you really need it in a 2D problem or are you equally happy with the standard Navier-Stokes Solver and a direct solver?

Regards,

Thomas

Re: ParStokes example .sif?

Posted: 23 Mar 2015, 13:38
by mewo2
No, I'm fine with just 3d. I was only trying 2d for a quick test comparison between Navier-Stokes and ParStokes.