It might be that your vectors in the cross product are not three dimensional.
Check this post and this answer:
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Error for more or less standard variational formulation using two cross products | 4 | 579 | April 1, 2021 | |
| Cross product of normal and test function in the variational form using ufl's FacetNormal? | 12 | 139 | August 25, 2025 | |
| Outer Product between two vectors to form a sparse matrix | 1 | 422 | November 1, 2022 | |
| How to create a Dolfinx expression from a cross product? | 3 | 68 | August 23, 2025 | |
| Variational Formulation for Maxwell's Equations with DG Finite Elements and Cross Operator in FEniCS | 3 | 369 | January 8, 2024 |