Problems in Variable Coupled Material

72 views
Skip to first unread message

Yingjie Wu

unread,
Mar 1, 2018, 9:36:11 AM3/1/18
to moose-users
Hi~
Recently, I set some physical parameters in Materials(eg. friction coefficient) which vary according to some variables(eg. pressure, temperature).
I choosed  the type ParsedMaterial and used some variables in it. However I really don't know the method the code works.
Is it same to use variable coupling kernel? Or the value of the variables which ParsedMaterial used is the last step result?
Maybe I didn't explain it very clearly. I just want to find out the difference between Variable Coupled Material and Variable Coupled Kernel.
I would be really appreciated if you can reply~
Thank you

Cody Permann

unread,
Mar 1, 2018, 1:09:17 PM3/1/18
to moose...@googlegroups.com
- Materials compute point-wise values. 
- Kernels compute residuals (e.g. contribute to a numeric vector for solving your linear system). 

They are very different objects in terms of their purpose. The fact that they can both couple to other variables is a strength of MOOSE. It means you can perform complex nonlinear coupling without doing a bunch of extra work. Which object you use is determined by what you are using it for. Are you implementing a term from your PDE? (Use a Kernel), Are you producing a value (i.e. a material property) that feeds into a term in your PDE (Use a Material).



--
You received this message because you are subscribed to the Google Groups "moose-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to moose-users...@googlegroups.com.
Visit this group at https://groups.google.com/group/moose-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/moose-users/c4bb52a7-3abf-4d55-9385-e0fb2d3ffbf4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Anil Kunwar

unread,
Mar 3, 2018, 2:51:15 PM3/3/18
to moose-users
Dear Wu,
Can you try defining friction coefficient as a material of type DerivativeParsedMaterial, with f_name = friction_coefficient, args = variables (e.g. p, T) and define the relation with variables under function = expression(f(variables))? If you are just using the function in the the residual, then you can put derivative_order = 0.

Yours Sincerely, 
Anil Kunwar
Reply all
Reply to author
Forward
0 new messages