Grid refinement issue

102 views
Skip to first unread message

Symphony Chakraborty

unread,
Jan 7, 2026, 7:50:57 AMJan 7
to basilisk-fr
Hello, Basilisk Users,

I need help and suggestions on my Basilisk code, as I am currently struggling with grid refinement issues.
I have attached one picture to show exactly where I need the help.
I have a solid half-cylinder where the drop falls and remains stationary (attached a picture). I used a no-slip boundary condition, and since the cylinder is solid, there is no penetration. However, the picture appears to show penetration, which is not the case. The problem originates from the grid refinement.
Please provide suggestions or insights.
I have provided my sample code in the attachment.
Thank you!

Best regards,
Symphony
3dsample.c
Screenshot from 2026-01-06 14-53-07.png

Spencer Schwartz

unread,
Jan 8, 2026, 1:44:59 PMJan 8
to basilisk-fr
Hi Symphony,

You seem to be including "contact-embed.h", which enforces the contact angle by setting f inside the embedded boundary. The image you provided shows exactly that, so no concerns there (if I interpreted your question correctly).

Best,
Spencer

Symphony Chakraborty

unread,
Jan 12, 2026, 5:21:13 AMJan 12
to basilisk-fr
Thanks, Spencer!
I know, but those who don't know about Basilisk, through the image, they consider it a penetration through the surface. Originally, this is not true; it only appears because the mesh is not refined enough. 
If I increase the max level to 9 or 10, then the system cannot handle the code. Presently, maxlevel is 8.
That's why I posted, if anyhow,  remove this issue.

Best regards,
Symphony

Reply all
Reply to author
Forward
0 new messages