Skip to main content Link Menu Expand (external link) Document Search Copy Copied

Save Weld Configuration Save Weld Configuration

About

The Save/Import weld configuration is divided in two features, one for “Strength” and one for “Fatigue”, due to the legacy of “Weld Strength” and “Weld Fatigue” apps.

Save Weld Strength Configuration

Click “Save Weld Strength Configuration” to save all or selected Add Fillet Welds, Add Butt Welds and Weld Strength Result objects from the active analysis to a “json” file (“WeldStrength.json”) in the solution folder subfolder “WeldStrength”, see example below.

If the file exists a “Save as” window is opened to select new file name and location to save the file.

The exported objects are selected in the model tree after the export as a confirmation.

Save Weld Fatigue Configuration

Click “Save Weld Fatigue Configuration” to save all or selected Weld Fatigue Result objects from the active analysis to a “json” file (“WeldFatigue.json”) in the solution folder subfolder “WeldFatigue”.

If the file exists a “Save as” window is opened to select new file name and location to save the file.

The exported objects are selected in the tree after the export as a confirmation.

Import Bolt Configuration Import Weld Configuration

Import Weld Strength Configuration

Click “Import Weld Strength Configuration” to imports all Add Fillet Welds, Add Butt Welds and Weld Strength Result objects in the active analysis from a selected “json” file using file browsing window. The current solution folder subfolder “WeldStrength” is the default folder.

If an object with the same name already exists in the tree the import of that object is skipped.

Import Weld Fatigue Configuration

Click “Import Weld Fatigue Configuration” to imports all Weld Fatigue Result objects in the active analysis from a selected “json” file using file browsing window. The current solution folder subfolder “WeldFatigue” is the default folder.

If an object with the same name already exists in the tree the import of that object is skipped.

filePy Configuration File Syntax

The file format is based on “json”, a modern object-oriented syntax that can be edited using a modern text editor (e.g. Visual Studio Code) and easily imported in e.g. Python.

The created file may be used as a template for automation tasks, i.e. to create the file with an external tool or Ansys Wizard and then use “Import Weld Strength Configuration” to create the objects in the file.

Use “Named Selections” in the scooping to make the configuration file more generic in case replacing the geometry.

  • The syntax follows the underlying structure of ACT and how the properties are accessed by the app using the exact same property names and structure.
  • The text file is grouped by “Load Objects” such as “Fillet Welds Group” and their “Children” and “Result Objects” such as the “Fillet Weld Strength” etc.
  • For each type there are several parameters that can be defined. If a parameter is omitted the default value will be used.
  • Geometry is defined either by a list of “Ids”, e.g. “[1842, 1846, 1838, 1850]” or an existing “Named Selection” name, e.g. “Weld_A_section”.
  • Material is defined by an existing material name in the current analysis or one of the default materials name.
  • Property values are defined with a unit string when needed. Decimal point must be used.

json