Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in testing example A.2 #1

Open
pangkeji opened this issue Aug 18, 2020 · 2 comments
Open

Error in testing example A.2 #1

pangkeji opened this issue Aug 18, 2020 · 2 comments

Comments

@pangkeji
Copy link

pangkeji commented Aug 18, 2020

Hi! Thanks for your valuable work. It is a convenient tool.

I have a problem in testing example A.2 in user guide. I have successfully run the example A.1 and most steps in example A.2. But an error appeared when I run the command "int_defects_calc_interaction_factor".

Here below is the command and error message. Hope to get your help!

>> int_defects_read_user
Directory to be read from: abaqus_param_files_single
Type of contour integral results (k, j or t): k
READING DATA FROM PARAMETRIC MODEL NO. 1 OUT OF 1
Walltime for this model: 0.43 seconds
Total walltime: 0.44 seconds

End of int_defects_read_user.
>> clear
>> int_defects_read_user
Directory to be read from: abaqus_param_files_twin
Type of contour integral results (k, j or t): k
READING DATA FROM PARAMETRIC MODEL NO. 1 OUT OF 3
Walltime for this model: 0.38 seconds
Total walltime: 0.38 seconds

READING DATA FROM PARAMETRIC MODEL NO. 2 OUT OF 3
Walltime for this model: 0.21 seconds
Total walltime: 0.60 seconds

READING DATA FROM PARAMETRIC MODEL NO. 3 OUT OF 3
Walltime for this model: 0.18 seconds
Total walltime: 0.78 seconds

End of int_defects_read_user.
>> clear
>> int_defects_calc_interaction_factor('abaqus_param_files_twin','abaqus_param_files_single')

Loading results for remote cracks...
DONE!
Loading results for pairs of cracks...
DONE!
Calculating interaction factors...
Error using ~
NaN's cannot be converted to logicals.

Error in int_defects_calc_interaction_factor (line 346)
~mainStruct.paramLogStruct(k1).contDepWarnFlagLevel2 &&...

@hecoules
Copy link
Collaborator

Thanks, I'm glad it's useful to you =)
Okay, I think I can see the problem. Please can you try the example again, but this time whenever you use int_defects_run_parametric_parallel set the input argument contDepCheckFlag to true (or just omit it, since true is the default). Let me know if that works!

@pangkeji
Copy link
Author

Thanks, I'm glad it's useful to you =)
Okay, I think I can see the problem. Please can you try the example again, but this time whenever you use int_defects_run_parametric_parallel set the input argument contDepCheckFlag to true (or just omit it, since true is the default). Let me know if that works!

Thanks for your help, the error is solved! I can continue my work now. Thank you very much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants