Sample Index and Method Files

You can use index and method files to deploy custom methods using the direct approach.

You can create the index and method files in any text editor. The files must adhere to a basic template. You can refer to the XSD schema for more information on syntax.

This page discusses:

See Also
Deploying Your Custom Methods Using the Direct Approach

Index Files

Create the index file using the following template:

<?xml version="1.0" encoding="utf-8"?>
<Index  name="TestIndex1" >
<Method file="TestStructural" name="Structural Builtins" />
<Method file="TestThermal" name="Thermal Builtins" />
<Method file="TestFluid" name="Fluid Builtins" />
</Index>

The name attribute is the text that you will see. The file attribute specifies the name of the method file.

Method Files

Create the method files using the following template:

<?xml version="1.0" encoding="utf-8"?>
<Method type="Structural" xmlns="urn:com.dassault_systemes.Simulia.2014.SimulationMethod">
<Action type="ManageFem"  />
<Action type="ManageMaterials" /> 
<Action type="StructuralProcedures"  />  
<Action type="ManageAmplitudes"  />  
<Action type="InitialConditions"  />  
<Action type="Interactions"  />   
<Action type="StructuralControls"  />  
<Action type="StructuralRestraints"  />  
<Action type="StructuralLoads" />  
<Action type="Solve" />  
<Action type="Results"  />
</Method>

The XSD schema document describes the commands and options available to you when creating method files (method elements, action elements, assistant elements, and simulation commands).

When you install Physics Methods Reuse, you can find the XSD schema document, SMAMpaMethodSchema.xsd, in the SimulationProducts folder:

[your install directory]\win_b64\reffiles\SimulationProducts\

In addition, the Multi-Physics Simulation Custom Method Specification document is an overview of deployment and detailed descriptions of the XSD schema and is available from the CAA documentation under Native Apps Automation > Content and Simulation Apps > Physics Simulation > Multiphysics Scenario Creation > Custom Methods.