stitch multiple ree grids

79 views
Skip to first unread message

Yonghan Xin

unread,
Jul 20, 2025, 7:02:12 AMJul 20
to basilisk-fr
Hi,everyone.

Is it possible to stitch mulitple tree grids together with the  Basilisk, as gerris did? Becasue I want to make a non-cubic computation domain.

Best regards,
yonghan

jmlopez...@gmail.com

unread,
Jul 20, 2025, 12:05:34 PMJul 20
to basilisk-fr
Not yet

Godunov CIR

unread,
Jul 20, 2025, 2:31:36 PMJul 20
to basilisk-fr
Hello Yonghan,

I think one workaround is to use the embedded solid (http://basilisk.fr/src/embed.h). You could place the solid in the area not of your interest and force the cells inside the solid remain coarse during the simulation. I had one application similar to your description, and I managed to simulate the non-cubic domain using this method.

Another approach is to use the mask trick, but this trick cannot work together with parallelism.

Jeffery

Stephane Popinet

unread,
Jul 21, 2025, 4:32:14 AMJul 21
to basil...@googlegroups.com
> Is it possible to stitch mulitple tree grids together with the
> Basilisk, as gerris did? Becasue I want to make a non-cubic computation
> domain.

You cannot "stitch" but you can make non-cubic domains with multigrids,
or use embed. See:

http://basilisk.fr/src/Tips#non-cubic-domains
http://basilisk.fr/src/embed.h

You should not use "mask" as it is obsolete.

Stephane


Yonghan Xin

unread,
Jul 21, 2025, 4:46:45 AMJul 21
to basilisk-fr
Appreciate it, everyone! 😊
Reply all
Reply to author
Forward
0 new messages