I was working on a project where for the initial part, we were working on P1 element freespace, and saving the solution of our equation with
savesol("c1.sol",Th,c,order=1);
But later we had to shift to P2 elements, so naturally i changed the code by changing P1 to P2 everywhere in the code and changing order = 2 , while using savesol.
But in this approach, there is no output being saved in the sol file.
Do anyone have any idea on where i am making a mistake and how do i fix it to save the solution file
I am new to this software, how does saving the mesh play any role in saving the solution ( with P2 elements) to the equation and how do I implement saving the array of dof part