Creating a New Project

  1. The first step is to sign up and login to Twinapi.

  2. After login, by clicking Personel Projects > New Project button on the screen and giving the project name, the new project will be created.

(Assume the script name is “ContactExample”)

../_images/CreatingNewProjectatTwinAPI1.png ../_images/CreatingNewProjectatTwinAPI2.png
  1. The project page can be seen on Personel Project Part.

../_images/CreatingNewProjectatTwinAPI3.png
  1. The screen is a blank python page without any script. In this tutorial Simularge’s Library will be used.

  2. Required libraries are imported from the Simularge Libraries to the blank Python page.

1from TwinAPI.SimulationTools import Solver
2from TwinAPI.SimulationTools import Mesher

Material Properties is one of the most significant factor that affect the result. Therefore, they could be defined easily to the problem. How to using and writing the Material Library will be explained elaborately in further tutorials.

1from TwinAPI.MaterialLibrary import MaterialManager
2from TwinAPI.MaterialLibrary.Units import units

Keywords: New Project