-
Notifications
You must be signed in to change notification settings - Fork 25
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
Question in structural/example_3 #27
Comments
This code identifies the node closest to the node Later this node is used to identify the degree-of-freedom of the the z-displacement at this node, which is then used to collect the value of this dof on rank 0, so that the displacement can be printed at each load-step here. |
If the mesh object is distributed, after the loop, would this code require a global reduction to get the node with smallest norm w.r.t. the plate's centre? |
If you are using a if you are using a |
Do the nonlinear_system and system variables reference the same object? |
Yes. NonlinearSystem inherits from System and only stores a vector with the indices of the variables for convenience.
…Sent from my iPhone
On Aug 16, 2019, at 1:38 PM, anupzope ***@***.***> wrote:
Do the nonlinear_system and system variables reference the same object?
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub, or mute the thread.
|
What is the time step for each iteration? How to tell MAST to use variable time step? |
This example uses a static solve per load step. When setting up the transient solve for structural system you will need to use the second order Newmark solver and the structural transient element assembly objects. |
How to specify initial velocity of the plate nodes? |
The transient solver stores three vectors for current and previous time-steps: displacement, velocity and acceleration. You can get the velocity vector from the solver API and set the values for the respective degrees-of-freedom. Note that the dof location (that is the location in the vector) is the same for displacement and velocity. |
Ok. So, I found Since there are three dofs associated with each node, I am assuming that |
Correct.
This comes from the node pointer. libMesh::Node inherits from libMesh::DofObject, which stores the dof information. You can call :
These identify the location of the corresponding value for the node in the NumericVector.
Actually, there are 6 dofs on each node: u,v,w, tx, ty, tz.
This will be 6 times number of local nodes. |
Thanks for the correction. So, is following code correct to set zero initial displacement and acceleration, but non-zero initial velocity?
|
I think this should work. Remember to call NumericVector::close() on all vectors after you are done setting the values. After setting the initial conditions, you will need to call |
What is the purpose of the loop here?
The text was updated successfully, but these errors were encountered: