Dear @itascan
I am trying to write a fish function for an elastic model and I encountered drawbacks. See the snippet below.
Please help.
Dear @itascan
I am trying to write a fish function for an elastic model and I encountered drawbacks. See the snippet below.
Please help.
It looks like you have undefined variables in your FISH function - strain_xx, strain_yy, etc… But I can’t be sure without seeing the entire data file. Also, the editor is indicating to you that the argument zone.current is not an acceptable argument on lines 39-44.
I am trying to use the FISH function to create an elastic constitutive model. How do I incorporate my strain in XX, YY, and ZZ? Can I share the file so you can take a look at it?
Thank you!
@Adams,
You will need to use the zone.strain.inc() FISH function to get the zone strain increment. Also, it’s not a great idea to use FISH to write constitutive models. A better approach is given here - Writing New Constitutive Models — Itasca Software 9.1 documentation
Thank you! I will check out the documentation