Dear All,
I’m facing the issue that everytime i open the xdmf file in Paraview it crashes. I know many others have also faced this issue , I tried their remedies but it doesn’t seem to work. I’m using the fenics version-2019.10 . I’ve attached the relevant part of the code below:
mesh=df.UnitSquareMesh(64,64)
FS=df.FunctionSpace(mesh,‘P’,1)
phi_0=df.Function(FS)
phi_1=df.Function(FS)
v=df.TestFunction(FS)
ConcFile=df.XDMFFile(‘conc.xdmf’)
ConcFile.parameters[“flush_output”]=True
for steps in range(num_steps):
t+=dt
df.solve(form==0,phi_1)
phi_0.assign(phi_1)
if(num_steps%100==0):
ConcFile.write(phi_0,t)
test<<(phi_0,t)