-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Paraview export: VTU output format and support for second-order mixed meshes #121
Conversation
This reverts commit f565af0.
…ts with adaptivity
Co-authored-by: Stefan Henneking <[email protected]>
Co-authored-by: Stefan Henneking <[email protected]>
Co-authored-by: Stefan Henneking <[email protected]>
Co-authored-by: Stefan Henneking <[email protected]>
Co-authored-by: Stefan Henneking <[email protected]>
Co-authored-by: Stefan Henneking <[email protected]>
Co-authored-by: Stefan Henneking <[email protected]>
Co-authored-by: Stefan Henneking <[email protected]>
Co-authored-by: Stefan Henneking <[email protected]>
Adding Second Order Visualization
@ac1512 @jbadger95 From my point of view, this is ready to be merged except for potentially adding support for writing a |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great, clean implementation and overall a great job @ac1512 and @stefanhenneking!
I'm looking forward to higher-order vis next!
thanks for reviewing! |
… meshes (#121) * Refactored ParaView module to enable exporting specific loads, variables, or components * New VTU output format supports 2nd-order mixed meshes * Old XDMF output format supports 2nd-order meshes with one element type --------- Co-authored-by: stefanhenneking <[email protected]>
Brief summary (for future reference) what the different flags do that we now have in the
paraview
module and what kind of meshes they can support:XDMF/.h5
VLEVEL
SECOND_ORDER_VIS = .true.
, uses second-order shape functions for geometry and solutionVLEVEL
(--> displays user warning, setsVLEVEL='0'
)VTU
)PARAVIEW_DUMP_GEOM=.false.
VTU
VLEVEL
SECOND_ORDER_VIS = .true.
, uses second-order shape functions for geometry and solutionVLEVEL
(--> displays user warning)PARAVIEW_DUMP_GEOM=.false.
because the geometry data is always written together with the solution field in one file, thus can't reuse previously exported mesh data (--> displays user warning, setsPARAVIEW_DUMP_GEOM=.true.
).A new
paraview_check
routine which is by default called inparaview_initialize
(first call ofparaview_driver
) checks the compatibility of the flags above and resolves conflicts as noted above, letting the user know if a conflict had to be resolved.Generally, support for hybrid meshes includes hexahedra, prisms, and tets; but not pyramids.
Issues concerning pyramids are moved to #135
This PR also refactors the
paraview_driver
routine and introduces new variables in theparaview
module:The user can set these variables to control which loads, variables, or components are exported by Paraview's XDMF and VTU outputs by calling the following routines in the
paraview
module:All of these things should go into the user guide, together with a remark on how to visualize the high-order elements in ParaView: By default, ParaView uses linear interpolation between the Lagrange points. To enable the high-order interpolation in ParaView, the user needs to set the "Nonlinear Subdivision Level" to a value greater than
1
.