-
Notifications
You must be signed in to change notification settings - Fork 1
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
LCM start up simulations #5
Comments
I found the best way to get started with LCM (or Albany in general) is to run the tests in the In parallel to the above, I'd also recommend trying to follow the execution order in the code to understand what code blocks do what. You can do this with a step-through style debugger like GDB or more simply by adding print statements. Again, I recommend purposely trying to break things to understand how things break and get used to the errors and warnings that the compiler may issue; that'll make debugging easier when things are broken but not on purpose. Two other mechanics-focused examples to look at from personal projects (note that I'm using Gmsh, not SCOREC meshes for both): Let me know if that helps. I'll keep a closer eye on github and it's notifications now that it's more active. |
I know you didn't ask for help outside of Albany/LCM but I did put together a few tools and tutorials for beginning grad students: https://github.com/OberaiGroup/getting_started/tree/master/tutorials_and_tools It's basically everything I wish someone told me/taught me about when I got started. |
Thank you very much for all of this help and guidance. I appreciate it and will get to looking into it. |
@JustinClough thanks for the information. There's one thing I would like to ask. For those tests, do you have any better ways to determine where the source code is, I mean which is the problem file and which are evaluators it uses to implement equations. I'm asking cuz I remember when I previously tried some LCM simulations some of them are in the /src/LCM/problems and evaluators, but some of them are using the /src/LCM/models. I know there's a LCM problem file called 'Mechanics' and it utilizes the 'models' to represent different material models, I don't know how much you know about these but it might be somewhat confused for @vestal16 if she can't actually find the source code and looking at what equations are exactly executed. |
I don't really have a better way. Admittedly, I've been using the same material model for the past few years so I'm probably not the best person to ask. A quick thought is to get fancy with some grep commands based on what is in your input and material yamls. For example, say my input and material files looked like the below and I wanted to find out where the
From line 1 in
and look deeper into what file(s) are returned. There's a chance that I get no returns in which case I would step back and make the search more general:
Searching for any string that's unique to your model (in place of |
Hello @JustinClough
Alex is finishing her first year of PhD with prof Maniatty and she will be trying to start up on some mechancis simulations. So I know you've been experienced on LCM and you've provided some start up docs for others so could you please give us some pointer on some simple run of LCM so that we could evolve based on that?
Thanks
Ruixiong
The text was updated successfully, but these errors were encountered: