Dear Neiladri.
Please find attached the modify version of your annular.c file.
First of all, if you want to see convergence statistics, a modest step in this direction
is to display multigrid iteration steps when Poisson eqn is solved. This can be done by printing
values of mgp.i, mgpf.i and mgu.i scalars, as you'll see in the file. You'll see my version has an event
event printout(i++; t<=tend){
fprintf(stdout,"i= %d t= %.4e mg[ %d %d %d ] max(u,v)= %.3e %.3e ",i, t, mgp.i, mgpf.i, mgu.i, statsf(u.x).max, statsf(u.y).max);
}
which also prints maximum velocity values, so that you can observe if your simulation is running in the matter you predicted.
I also added gfsoutput as I was debugging this briefly. So, it seems like your simulation sufferes from momentum conservation - or the lack of it - issue. You may read more about this in papers of Rudman (1998) (something newer here:
https://doi.org/10.1016/j.compfluid.2017.04.023). At least, when running this at maxlevel 10 the way you do, you definitely get a velocity peak next to the inlet -> both u and v jump to 1e06, to which Basilisk responds with the n<int_max message.
There's no "simple" way around the issue in axisymmetric setup, some other group users please correct me if I'm wrong, but I think momentum-conserving version doesn't work with axi.h? Anyway. For now, a simple "workaround" would be to slightly decrease tolerance in Poisson solver (there are literally HUNDREDS of such trick people use, starting from solver tuning, through "artificial" dumping, flux limiters etc.). In your setup, I tuned TOLERANCE from its default value of 1e-03 to 1e-04 and as you should see, the case works in a stable manner.
Quick check with maxlevel = 9 is running stable (granted, that's probably not enough to resolve interface perturbations here). But I ran maxlevel 10 through 1240 iterations and no problems found.
Hope you'll find this useful.
w
> --
> You received this message because you are subscribed to the Google Groups "basilisk-fr" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
basilisk-fr...@googlegroups.com.
> To post to this group, send email to
basil...@googlegroups.com.
> To view this discussion on the web visit
https://groups.google.com/d/msgid/basilisk-fr/007ac19c-67d9-4b5a-9881-ade4ece6797c%40googlegroups.com.