Skip to content

Overwriting material property with region average #29750

Discussion options

You must be logged in to vote

I would set up logG and scale as auxiliary variables using a ParsedAux (setting the 0 outside the ROI can be done here btw, as long as the definition of the ROI can be done in a if statement)

Then integrate them separately using an ElementIntegralVariablePostprocessor.

If either of these are already available as material properties, you can skip the ParsedAux step and use an ElementIntegralMaterialPostprocessor.

Then use a ParsedPostprocessor to perform the quotient between the two integrals

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@RPitsinger
Comment options

Answer selected by RPitsinger
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants