Message Boards Message Boards


how can I succeed in initializing a matrix with Mathematica package AceGen?

Posted 8 years ago
1 Reply
0 Total Likes

Hi everybody! I have to implement a simple algorithm to calculate the stiffness Matrix of a finite element.I Can't understand what is the problem in the line I have attached . Thanks everybody for the attention

POSTED BY: chiara gazzola

Without having access to the package AceGen, the problem seems to come from a misusage of FilePrint: You SMSInitialize an object matrig or may be matrig.f. Then you call FilePrint with matrig.f as argument, which means that in den NotebookDirectory[] some file matrig.f has to be found and printed to the Out. But matrig.f is not a file, but an object. Check whether something is a file with FileExistsQ. Think whether you should use first Export to export the object matrig.f into a file ...

POSTED BY: Udo Krause
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
or Discard

Group Abstract Group Abstract