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

add working userloadfunc use example #472

Closed
jorgepz opened this issue May 11, 2022 · 7 comments · Fixed by #481
Closed

add working userloadfunc use example #472

jorgepz opened this issue May 11, 2022 · 7 comments · Fixed by #481
Assignees
Labels
strange This doesn't seem right
Milestone

Comments

@jorgepz
Copy link
Member

jorgepz commented May 11, 2022

check how is the user load func used in the static von mises problem

@jorgepz jorgepz added the strange This doesn't seem right label May 11, 2022
@jorgepz jorgepz self-assigned this May 11, 2022
@TheChikenfly
Copy link
Collaborator

It seems the program never reads the userLoadsFilename function

@jorgepz
Copy link
Member Author

jorgepz commented May 11, 2022

indeed, there was an error in the boundarycons processing function https://github.com/ONSAS/ONSAS.m/pull/473/files#diff-7073a142f061a595b7f5ad33ffb4434bc30afd92995f861cc29fe3341fceaa7a

@jorgepz
Copy link
Member Author

jorgepz commented May 11, 2022

where the filename was loaded at not the first boundary cond it did not read it

@jorgepz
Copy link
Member Author

jorgepz commented May 11, 2022

I still have to fix the static von mises problem to add the user load filename case

@TheChikenfly
Copy link
Collaborator

I don't know if it helps but it seems to work if I use
boundaryConds(2).loadsTimeFact = @(t) myVMLoadFunc(t) ; boundaryConds(2).loadsBaseVals = [ 0 0 0 0 -1 0 ] ;
instead of boundaryConds(2).userLoadsFilename = 'myVMLoadFunc' ; in static von mises

@TheChikenfly
Copy link
Collaborator

(buut you have to change myVMLoadFunc so that the output is a scalar)

@jorgepz
Copy link
Member Author

jorgepz commented May 11, 2022

great, thanks with that. I think this issue will be left for after the Workshop.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
strange This doesn't seem right
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants