Query about coupling function with the PropertyReadFile for both temporal and spatial changes #28704
-
Check these boxes if you have followed the posting rules.
QuestionDear Moose Users, I am now trying to simulate cracking at varying temperatures using a phase-field model, in which I want to set that the critical energy release rate Gc is not uniformly distributed in the RVE and changing along with temperature increase. Firstly I am assigning Gc into the RVE by PropertyReadFile in UserObjects, in the .txt file the G_c is assigned to each element seperately:
while in the Materials block, I introduce G_c as (gc_prop_read is added in [AuxVariables] ):
Then in the Functions block I want to implement the temperature dependence of this G_c:
My goal is to let the Gc of each element following this temperature function (temperature is changing at different steps following another function), but still keep the spatial dfiference given by the initial value from the read .txt file.
Also I tried DerivativeParsedMaterial, which is also not working well. Could you please give some suggestions on this issue? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Hello What do you mean by it seems it's not working? What error do you get with the CoupledVariableFunctionMateeial? Guillaume |
Beta Was this translation helpful? Give feedback.
hello
this is not quite right since gc_prop_scale and gc_prop_read are not variables, they are material properties
so it should be
instead