Re: [petsc-users] Visualizing higher order finite element output in ParaView

2025-02-04 Thread Anna Dalklint via petsc-users
Thank you, that worked! Best, Anna From: Jed Brown Date: Friday, 31 January 2025 at 18:58 To: Anna Dalklint , Matthew Knepley Cc: petsc-users@mcs.anl.gov Subject: Re: [petsc-users] Visualizing higher order finite element output in ParaView Anna Dalklint writes: > I want to save e.g.

Re: [petsc-users] Visualizing higher order finite element output in ParaView

2025-01-31 Thread Jed Brown
Anna Dalklint writes: > I want to save e.g. the discretized displacement field obtained from a > quasi-static non-linear finite element simulation using 10 node tetrahedral > elements (i.e. which has edge dofs). As mentioned, I use PetscSection to add > the additional dofs on edges. I have als

Re: [petsc-users] Visualizing higher order finite element output in ParaView

2025-01-31 Thread Sanjay Govindjee via petsc-users
2025 at 16:19 *To: *Anna Dalklint *Cc: *Jed Brown , petsc-users@mcs.anl.gov *Subject: *Re: [petsc-users] Visualizing higher order finite element output in ParaView On Thu, Jan 30, 2025 at 9:43 AM Anna Dalklint wrote: I looked deeper into the petsc codebase regarding HDF5. From what

Re: [petsc-users] Visualizing higher order finite element output in ParaView

2025-01-31 Thread Anna Dalklint via petsc-users
, u002, u003… for each “load-step”) and step in “time” in ParaView. Thanks, Anna From: Matthew Knepley Date: Thursday, 30 January 2025 at 16:19 To: Anna Dalklint Cc: Jed Brown , petsc-users@mcs.anl.gov Subject: Re: [petsc-users] Visualizing higher order finite element output in ParaView On Thu

Re: [petsc-users] Visualizing higher order finite element output in ParaView

2025-01-30 Thread Jed Brown
Matthew Knepley writes: > On Thu, Jan 30, 2025 at 9:43 AM Anna Dalklint > wrote: > >> Otherwise I’m fine with using CGNS. But could you please explain how I >> could save timeseries that paraview recognizes using this format? Right now >> I’m saving files e.g. file0001.cgns, file0002.cgns, … whe

Re: [petsc-users] Visualizing higher order finite element output in ParaView

2025-01-30 Thread Matthew Knepley
0 January 2025 at 00:39 > *To: *Jed Brown > *Cc: *Anna Dalklint , petsc-users@mcs.anl.gov > > *Subject: *Re: [petsc-users] Visualizing higher order finite element > output in ParaView > > That is all true. If you want lower level pieces to make it yourself, I > have -dm_plex_high_o

Re: [petsc-users] Visualizing higher order finite element output in ParaView

2025-01-30 Thread Anna Dalklint via petsc-users
sualizing higher order finite element output in ParaView That is all true. If you want lower level pieces to make it yourself, I have -dm_plex_high_order_view, which activates DMPlexCreateHighOrderSurrogate_Internal(). This is a simple function that refines the mesh lg(p) times to try and resolve

Re: [petsc-users] Visualizing higher order finite element output in ParaView

2025-01-29 Thread Matthew Knepley
That is all true. If you want lower level pieces to make it yourself, I have -dm_plex_high_order_view, which activates DMPlexCreateHighOrderSurrogate_Internal(). This is a simple function that refines the mesh lg(p) times to try and resolve the high order behavior. Thanks, Matt On Wed, Ja

Re: [petsc-users] Visualizing higher order finite element output in ParaView

2025-01-29 Thread Jed Brown
I like the CGNS workflow for this, at least with quadratic and cubic elements. You can use options like -snes_view_solution cgns:solution.cgns (configure with --download-cgns). It can also monitor transient solves with flexible batch sizes (geometry and connectivity are stored only once within a