how to translate FV var to FE var? #29525
Answered
by
GiudGiud
wangzhaohao
asked this question in
Q&A General
-
Check these boxes if you have followed the posting rules.
QuestionHello, There is a error about Your material mamox couples in both FE and FV vars. To support ghost calculations which some FV consumers may need, multiphysics simulations should define separate materials for coupling in finite element and finite volume variables because we do not have a user friendly way of running DerivedMaterial::computeQpProperties and saying 'compute this property because it doesn't depend on finite element variables' or 'don't compute this property because it *does* depend on finite element variables' Are there auxiliary variables |
Beta Was this translation helpful? Give feedback.
Answered by
GiudGiud
Dec 16, 2024
Replies: 1 comment 12 replies
-
Hello you can use a ProjectionAux to convert kne to the other. Alternatively you can use the functor APIs to couple FE or FV variables in any object. See the Functor documentation |
Beta Was this translation helpful? Give feedback.
12 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
for the gradient, retrieve a pointer to the variable using getVar in the constructor, then use that point to call:
_var->gradient(ElemArg elem_arg, state)
See Functor..... kernels for examples on how to create these functor arguments