Skip to main content
Improved formatting of code blocks.
Source Link
Pinti
  • 6.6k
  • 1
  • 20
  • 50

SMTNodeDataSMTNodeData is the right command for those questions.

  1. SMTNodeData["at"]SMTNodeData["at"] returns all nodal DOFs. SMTPostDataSMTPostData command is for visualization and in general can smooth fields to have nice plots.

  2. Global tangent matrix by its definition includes only true unknowns of the problem. If you want an extended tangent with all nodal DOFS included then you can do something like this

tmp = SMTNodeData["DOF"]; (unconstrain all DOF) SMTNodeData["DOF", tmp /. -1 -> 0]; SMTSetSolver[]; Kall = SMTData["TangentMatrix"]; (* return all back as it was*) SMTNodeData["DOF", tmp]; SMTSetSolver[];

tmp = SMTNodeData["DOF"]; (*unconstrain all DOF*) SMTNodeData["DOF", tmp /. -1 -> 0]; SMTSetSolver[]; Kall = SMTData["TangentMatrix"]; (* return all back as it was*) SMTNodeData["DOF", tmp]; SMTSetSolver[]; 

This will not have any side effects.

SMTNodeData is the right command for those questions.

  1. SMTNodeData["at"] returns all nodal DOFs. SMTPostData command is for visualization and in general can smooth fields to have nice plots.

  2. Global tangent matrix by its definition includes only true unknowns of the problem. If you want an extended tangent with all nodal DOFS included then you can do something like this

tmp = SMTNodeData["DOF"]; (unconstrain all DOF) SMTNodeData["DOF", tmp /. -1 -> 0]; SMTSetSolver[]; Kall = SMTData["TangentMatrix"]; (* return all back as it was*) SMTNodeData["DOF", tmp]; SMTSetSolver[];

This will not have any side effects.

SMTNodeData is the right command for those questions.

  1. SMTNodeData["at"] returns all nodal DOFs. SMTPostData command is for visualization and in general can smooth fields to have nice plots.

  2. Global tangent matrix by its definition includes only true unknowns of the problem. If you want an extended tangent with all nodal DOFS included then you can do something like this

tmp = SMTNodeData["DOF"]; (*unconstrain all DOF*) SMTNodeData["DOF", tmp /. -1 -> 0]; SMTSetSolver[]; Kall = SMTData["TangentMatrix"]; (* return all back as it was*) SMTNodeData["DOF", tmp]; SMTSetSolver[]; 

This will not have any side effects.

Source Link
JozeK
  • 941
  • 4
  • 8

SMTNodeData is the right command for those questions.

  1. SMTNodeData["at"] returns all nodal DOFs. SMTPostData command is for visualization and in general can smooth fields to have nice plots.

  2. Global tangent matrix by its definition includes only true unknowns of the problem. If you want an extended tangent with all nodal DOFS included then you can do something like this

tmp = SMTNodeData["DOF"]; (unconstrain all DOF) SMTNodeData["DOF", tmp /. -1 -> 0]; SMTSetSolver[]; Kall = SMTData["TangentMatrix"]; (* return all back as it was*) SMTNodeData["DOF", tmp]; SMTSetSolver[];

This will not have any side effects.