Skip to content

Local scalar variable for multi-scale simulation #16274

Discussion options

You must be logged in to vote

Are you creating a Kernel object that contributes to the residual of T that includes contributions that depend on 'var_local'? And 'var_local' can be either a single value or a vector of values, depending on user options? Can you calculate 'var_local' directly given T and grad T?

If those are all yes, then 'var_local' probably just needs to be a material property. The Kernel can decided which version of the property to use (scalar vs vector) based on an input parameter.

Replies: 1 comment 1 reply

Comment options

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

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