Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here


Input a matrix into Abaqus (*MATRIX INPUT)

Input a matrix into Abaqus (*MATRIX INPUT)

Input a matrix into Abaqus (*MATRIX INPUT)

Hi all,

This is what I'm currently attempting:
-Run a static analysis with contacts and centifugal nonlinear effects
-Use the resultant displacements and stresses in a new analysis so the contacts disappear completely (not enough with contact change).

I have tried loads of different methods to overcome the contact problem (restart, different dummy MPC arrangements, activating-deactivating contacts...), unfortunately none of them is good enough for what I seek and the best I could manage was a new analysis without the centrifugal nonlinear effect taken into account, which is not ideal as the stiffening effect of the centrifugal load is considerable.

Recently, I came up with the following approach:
-Run the nonlinear static contact analysis generating mass and stiffness matrices (*MATRIX OUTPUT...)
-Use deformed mesh and stress initial conditions from .odb in a second analysis. In this second analysis I'm also trying to use the stiffness and mass matrices obtained in the first analysis as an input.

Reading the Abaqus documentation it seems like importing the mass and stiffness matrices from the first analysis would be possible by using *MATRIX INPUT and *MATRIX ASSEMBLE. However, when I go down this line I get the following error: ***ERROR: NO STEP DEFINITION WAS FOUND . This makes very little sense to me as I have obviously defined a Step in my analysis... I have no experience whatsoever using this command so I was wondering if somebody could give me a hand on this, as I could not find any examples on the internet.

Thanks in advance,


RE: Input a matrix into Abaqus (*MATRIX INPUT)

Interesting approach. I think that the error is caused by the fact that matrices can’t be used in a model defined in terms of parts and assemblies. You can find exemplary .inp file template for analysis with matrices in the „Using matrices” section of Abaqus Analysis Guide.

RE: Input a matrix into Abaqus (*MATRIX INPUT)

Hi FEA way,

Thanks for your response. I actually thought the same and tried without part and assembly definition. In fact, I have taken that template that you mention as example but still not working for me sad

RE: Input a matrix into Abaqus (*MATRIX INPUT)

Could you attach your input file ? It doesn’t have to be solvable if you don’t want to share all the details about this model, you can delete matrix definitions. I wpuld take a look and try to find errors.

RE: Input a matrix into Abaqus (*MATRIX INPUT)

Do you want to define the whole model using matrices or are there some additional parts of the model not included in matrices ? Keep in mind that parts defined using matrices must be connected to the remaining ones via shared nodes (these nodes need to be defined manually with *NODE keyword). Nodes that aren't shared and have no BCs and loads applied don't have to be specified, they are handled automatically. Also there is a *SYSTEM keyword in your model with no data lines. I guess it's misplaced.

RE: Input a matrix into Abaqus (*MATRIX INPUT)

Ideally I would like to have the possibility of using matrices+additional parts, but for the time being I would be happy with just matrices to keep it simple so that was my intention with that model. You are right about the *System command, I will delete it.

RE: Input a matrix into Abaqus (*MATRIX INPUT)


I still haven't managed to make this work. I just want to successfully use the *MATRIX INPUT command. So I've got the .sim file from a previous analysis (same model I attached last time). However, the following error comes up:
***ERROR: SIM database file is not a valid SIM file:
I have used the *MATRIX INPUT command as follows:

Something I'm missing/doing wrong? Why is the SIM file not valid? It comes from a successfully run analysis...

Thanks in advance

RE: Input a matrix into Abaqus (*MATRIX INPUT)

That seems rather unusual. Isn't then SIM file empty ? Check .msg and .dat files generated in then first analysis, maybe they will give some hint about the reason of the error. You can also try generating matrix output in text format and then using it with *MATRIX INPUT keyword. Also make sure that the error is not caused by access permission issue. Is the second job run in the same folder as the first one ?

RE: Input a matrix into Abaqus (*MATRIX INPUT)

SIM file is not empty (1439 KB). Yes, the second job is in the same folder as the first one (could that be a problem?). The .dat and .msg files are totally fine with no errors:
S T E P 4 M A T R I X G E N E R A T E



Regarding generating a text output, I have generated mass and stiffness .mtx too. Is there any way to use them in with *MATRIX INPUT?

RE: Input a matrix into Abaqus (*MATRIX INPUT)

It should be possible, since *MATRIX INPUT keyword allows you to define matrix through data lines. So you could copy the content of .mtx file and paste it under *MATRIX INPUT keyword. Of course you have to make sure that syntax is correct.

RE: Input a matrix into Abaqus (*MATRIX INPUT)

Interesting. I have tried copying the .mtx into the .inp file and it partially works. I had to copy the whole text, which is fine for small models, but perhaps not very much so for bigger matrices. I've tried using an *INCLUDE to link the .inp to the .mtx file with the *MATRIX INPUT heading inserted. Unfortunately, it fails for some reason at reading the file it seems (it does not produce any .dat/.msg files).

Aside from that drawback, I'm trying to include a stress initial condition based on the previous .odb. It comes with this error:
***ERROR: OdbError: Cannot open file
/tmp/u5003396-2019.09.20-09.51.32/job_matrix_trial.odb. ***ERROR:
"/tmp/u5003396-2019.09.20-09.51.32/job_matrix_trial.odb" is not an
Abaqus database file.
Note that the stress initial condition works perfectly fine without *MATRIX INPUT as results look fine with no errors. However, when both are active in the .inp the above error appears. Any idea why this happens?

Thanks in advance,


RE: Input a matrix into Abaqus (*MATRIX INPUT)

Sorry, my bad, the first problem was due to a typo... But I'm still struggling with *MATRIX INPUT+*Initial Conditions

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members! Already a Member? Login


White Paper - The Evolving Landscape of Commercial Battery-Powered Trucks
What’s driving the evolving landscape of truck electrification? What are the barriers, motivators and strategies for accelerating the electric transition? What insights and resources are available for today’s design engineers working to achieve industry disruption and evolution? For answers to these and other pertinent questions, read this white paper. Download Now
eBook - Rethink Your PLM
A lot has changed since the 90s. You don't surf the Web using dial-up anymore, so why are you still using a legacy PLM solution that's blocking your ability to innovate? To develop and launch products today, you need a flexible, cloud-based PLM, not a solution that's stuck in the past. Download Now

Close Box

Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close