Could you please suggest what is the alternative command for project in dolphinx?
Please search the forum for the topic before posting.
Also, depending on your use-case you could use
dolfinx.fem.Expression for many cases, which is more scalable than a project.
An example of a quite scalable projection with dolfinx is implemented at: