Message Boards Message Boards

Error message opening a file after start Mathematica, later runs error-free

Posted 10 years ago
Attachments:
POSTED BY: John Compter
3 Replies
Posted 10 years ago

Dear Marco, thanks for the compliment and the solution, the last one works well. It represent the magnetic field of a rectangular magnet, split in the three components, Bx, By and Bz. The unique "selling feature" is the representation of a vectorfield as a function of the x,y,z position. It is interesting for those who are involved in electro-magnetic fields, fluid/gas dynamics, etc. I started more than one year ago with Mathematica and these pictures are unbeaten.

The next step is to add this to Wolfram Demonstrations.

Kind regards John Compter

POSTED BY: John Compter

I just noticed that we can do a bit better. I added an automatic evaluation of the initialisation cells. Now the figure comes up right at the beginning, even before evaluating the notebook.

M.

Attachments:
POSTED BY: Marco Thiel

Dear John,

I have made the first cell an initialisation cell and set the default for Hi to 1 instead of zero. Also I save the definitions. The problem seems to be that the dynamic content is evaluated. Now it seems to work alright.

Cheers, Marco

PS: Nice plot by the way!

Attachments:
POSTED BY: Marco Thiel
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract