Some thermo-electromagnetic applications to fusion technology of a general purpose CAD package