Note: This discussion is about an older version of the COMSOL Multiphysics® software. The information provided may be out of date.
Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.
Define the Linearized Weak form for Comsol LiveLink Matlab
Posted 06.09.2012, 05:26 GMT-4 Structural Mechanics Version 4.2a, Version 4.3 3 Replies
Please login with a confirmed email address before reporting spam
Dear all,
I am facing the following problem: solving a structural nonlinear mechanics problem using Comsol Livelink Matlab. My idea is to have the Newton method inside Matlab and let Comsol compute the Jacobian matrix of the first Piola-Kirchhoff tensor and the residual vector and then extract the matrix and vector and solve the system in Matlab.
For this, my stiffness matrix that is assembled in Comsol is the jacobian, that is defined by the linearized weak formulation of the problem. The issue is that in the linearized weak form the displacement field (that is the dependent variable of the problem) at the previous iteration of the Newton method appears as a "parameter". This "parameter" is unknown a priori.
Is there a way to tell Comsol that the general weak form I am inserting is a linearized weak form and therefore specifying what Comsol has to consider the unknow, and the known displacement?
many thanks,
Paolo Tricerri
I am facing the following problem: solving a structural nonlinear mechanics problem using Comsol Livelink Matlab. My idea is to have the Newton method inside Matlab and let Comsol compute the Jacobian matrix of the first Piola-Kirchhoff tensor and the residual vector and then extract the matrix and vector and solve the system in Matlab.
For this, my stiffness matrix that is assembled in Comsol is the jacobian, that is defined by the linearized weak formulation of the problem. The issue is that in the linearized weak form the displacement field (that is the dependent variable of the problem) at the previous iteration of the Newton method appears as a "parameter". This "parameter" is unknown a priori.
Is there a way to tell Comsol that the general weak form I am inserting is a linearized weak form and therefore specifying what Comsol has to consider the unknow, and the known displacement?
many thanks,
Paolo Tricerri
3 Replies Last Post 06.09.2012, 11:12 GMT-4