CHAIkah
September 3, 2021, 10:37am
1
I solved a periodic homogenization problem with fenics. As you see in the picture displayed in Paraview of sigma11 in the uniaxial x BC.
i tried to read the answers of this topic Continuity at interface between two subdomains but i don’t seem to quite understand :
The white fluctuations happening between the cells
The significance of 2 cells (super dark red and super dark blue ones)
dokken
September 3, 2021, 12:32pm
2
It would be great to know the following:
What spaces have you used for sigma
?
How have you saved the data to a Paraview readable format (XDMFFile.write
, XDMFFile.write_checkpoint
or File.write
)
CHAIkah
September 3, 2021, 5:03pm
3
@dokken through File.write
dokken
September 4, 2021, 7:45am
4
File.write gives you a CG 1 interpolation of the field you have in dolfin. For visualization of CG spaces >1 or DG spaces, you Need to use XDMFFile.write_checkpoint
, see for instance: Loading xdmf data back in - #4 by dokken
1 Like