use postprocessor value in ParsedMaterial? #15784
-
I'd like to use a postprocessor value in my ParsedMaterial. I tried to put the name in the 'args' list but that didn't work because it seems to be looking for variables. I suppose I could make an AuxVariable that holds the postprocessor value everywhere, but that seems to be a bit overkill. Is there a better way? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 5 replies
-
No, there isn't a better way yet, sorry. It would not be hard to add that capability though. |
Beta Was this translation helpful? Give feedback.
-
What about holding the postprocessor as a function instead of an aux? Still an extra step, but at least it's not an aux defined everywhere? |
Beta Was this translation helpful? Give feedback.
-
To make this a markable answer: Use a |
Beta Was this translation helpful? Give feedback.
To make this a markable answer: Use a
GenericFunctionMaterial
to capture the PostProcessor value and add it toParsedMaterial
using thematerial_property_names
parameter.