Skip to content

render ElementTriRT0 field #824

Answered by gdmcbain
gdmcbain asked this question in Q&A
Dec 6, 2021 · 6 comments · 21 replies
Discussion options

You must be logged in to vote

So I have written a script adapting ex37 from Tet to Quad (and flipping the sign of the source term for convenience) and plotted side-by-side the RT0 fluxes and refinterp-ed vectors. d866851/docs/examples/ex37quad.py.

I'm thinking of the flux density as minus the gradient but wanted to have the arrows pointing inwards for a tidier figure; hence the flip in sign of the solution. The centre is now a minimum, attracting flux, with the gradient pointing outwards.

It's working O. K. but doesn't look quite right in one respect: the RT0 DoF facet-fluxes look exactly as I would expect them to but some of the interpolated vectors aren't pointing the right way, I mean the ones that are one square …

Replies: 6 comments 21 replies

Comment options

You must be logged in to vote
9 replies
@kinnala
Comment options

@kinnala
Comment options

@gdmcbain
Comment options

@gatling-nrl
Comment options

@gdmcbain
Comment options

Comment options

You must be logged in to vote
4 replies
@kinnala
Comment options

@gdmcbain
Comment options

@gdmcbain
Comment options

@gdmcbain
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@gdmcbain
Comment options

@gatling-nrl
Comment options

@gdmcbain
Comment options

Comment options

You must be logged in to vote
3 replies
@gdmcbain
Comment options

@gatling-nrl
Comment options

@gdmcbain
Comment options

Comment options

You must be logged in to vote
2 replies
@kinnala
Comment options

@gdmcbain
Comment options

Answer selected by gdmcbain
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants