Page 1 of 1

export stiffness matrix without starting simulation

Posted: 14 Mar 2024, 19:55
by Stefan Hiemer
Hi everyone,

I need to export the global stiffness matrix without boundary conditions for beam networks for some research project, but I am not interested in the actual simulation.
1. I can already export what I desire (see attached), but how can I stop Elmer from starting the simulation?
2. I assume the global stiffness matrix is given in the global coordinate system and since I export it for beams the degrees of freedom are ordered for each node like this: displacement in x,y,z, moments due to torsion/bending around x,y,z. Correct?

Thanks and regards
Stefan

Re: export stiffness matrix without starting simulation

Posted: 14 Mar 2024, 22:00
by kevinarden
You could just kill the process after it starts or try to use the solver control

Execute Solver = Never

there are lots of option such as always, after simulation, before simulation, never, ...

Re: export stiffness matrix without starting simulation

Posted: 15 Mar 2024, 09:43
by raback
Hi,

If the solver is never executed there will unfortunately be no stiffness matrix. You could however, try this keyword in Solver section:

Code: Select all

Linear System Solver Disabled = Logical True
There might be other ways, like setting linear system iterations to zero etc. but this one should be clean. Codewise it is DefUtils.F90 line ~3519. Had to check it up since this is rarely used.

-Peter

Re: export stiffness matrix without starting simulation

Posted: 15 Mar 2024, 15:14
by Stefan Hiemer
@Peter Thanks. That's what I was looking for.