doubt regarding symbol @ used in dedalus

22 views
Skip to first unread message

Ritik Dubey

unread,
Jun 7, 2024, 2:47:48 PMJun 7
to Dedalus Users
can any one please tell me in the below line what does @ mean , it is from the periodic shear 2D (IVP) of dedalus example.

problem.add_equation("dt(u) + grad(p) - nu*lap(u) = - u@grad(u)")

Best,
- Ritik

Keaton Burns

unread,
Jun 7, 2024, 2:49:42 PMJun 7
to dedalu...@googlegroups.com
Hi Ritik,

This is the normal python operator for matrix multiplication. In Dedalus, it means a dot product between vector/tensor fields, so this is the standard “u dot grad u” form of the advective nonlinearity in incompressible Navier-Stokes.

Best,
-Keaton


--
You received this message because you are subscribed to the Google Groups "Dedalus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dedalus-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dedalus-users/42bc54ae-40ef-4291-9d4a-3baf319bc192n%40googlegroups.com.

Ritik Dubey

unread,
Jun 7, 2024, 5:04:08 PMJun 7
to dedalu...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages