baxmittens / VTUFileHandler.jl

A VTU library in the Julia language that implements an algebra for basic mathematical operations on VTU data.
MIT License
3 stars 3 forks source link

Minor corrections. #1

Closed nagelt closed 2 years ago

nagelt commented 2 years ago

I made a few tiny changes ... and here are some suggestions/additional comments you can use or drop to your liking:

baxmittens commented 2 years ago

Thank you for corrections!

maybe also mention that this can be easily extended to cell data (element averages from FE result)

That should actually work in theory just like that. i just didn't include it because i never tested it. I'll do that.

legends in the figure are a bit hard to read (too small)

That's right...I will adjust this.

lso interesting for code verification (mapping an analytical solution onto the same VTU and then comparing) a nice illustrative example might be to simulate something like Cook's membrane and compare full/reduced integration or sth like that...

I actually have this comparison for the ogs consolidation around a point heat source example:

Ogs

image

Analytical

image

Difference (absolute)

image

general interest: is it possible/interesting to do something similar for hdf5?

Surely, it just needs a suitable representation in memory and the appropriate reader/writer functions.