13.07.2015 Views

ANSYS application integration - ESSS

ANSYS application integration - ESSS

ANSYS application integration - ESSS

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>ANSYS</strong> Workbench asan Integration Platformfor CAE SimulationJudd KaiserWorkbench FrameworkProduct Manager2010 <strong>ANSYS</strong> SouthAmerican ConferenceOctober 20, 2010© 2010 <strong>ANSYS</strong>, Inc. All rights reserved. 1 <strong>ANSYS</strong>, Inc. Proprietary


Overview• <strong>ANSYS</strong> <strong>application</strong> <strong>integration</strong>• The Workbench SDK• The External Connection addin• The Microsoft Excel addin• Workbench scripting and journaling• Customization<strong>ANSYS</strong> Workbench has been engineered from the groundup to be open, extensible, customizable.© 2010 <strong>ANSYS</strong>, Inc. All rights reserved. 2 <strong>ANSYS</strong>, Inc. Proprietary


Workbench FrameworkApplication IntegrationGeometry Meshing Setup Solve ResultsMeshing Setup Solve ResultsGeometryMeshingSetupSetupSolveSolveResultsApplication IntegrationScriptingFramework ToolkitParameterizationData and Process ManagementComponent <strong>application</strong>s, covering various phases of thesimulation process, sitting on top of a common framework© 2010 <strong>ANSYS</strong>, Inc. All rights reserved. 3 <strong>ANSYS</strong>, Inc. Proprietary


Workbench FrameworkApplication Integration• Workbench Addin manages<strong>application</strong>/frameworkinteraction:– Actions• Edit, Refresh, Update,…– File management– Associated properties– Data transfer– Parameters© 2010 <strong>ANSYS</strong>, Inc. All rights reserved. 4 <strong>ANSYS</strong>, Inc. Proprietary


The <strong>ANSYS</strong> Workbench SoftwareDevelopment Kit (SDK)• The Workbench SDK released with version 13provides the APIs to support data-<strong>integration</strong> of thirdparty <strong>application</strong>s:– Data-<strong>integration</strong> implies that third party <strong>application</strong>sretain their user interface, but are integrated in theWorkbench workflow• Consuming/providing data from other <strong>application</strong>s• Defining and consuming parameters• Using common APIs for file mgmt., state, data transfer, etc..• The SDK provides the APIs for the development of anadd-in that acts as a proxy for the data-integrated<strong>application</strong> and represents the <strong>application</strong> in theworkflow defined by the project schematic© 2010 <strong>ANSYS</strong>, Inc. All rights reserved. 5 <strong>ANSYS</strong>, Inc. Proprietary


Workbench SDK at <strong>ANSYS</strong> 13.0• The SDK package contains:– Dlls needed for compilation of the WB framework,not included in the standard distribution– Reference documentation, including all the APIsavailable to add-in developers– How-to guide, that describes the basic frameworkand the project schematic functionality– Microsoft Visual Studio add-in templates that allowfor quick creation of basic add-ins, reducing thelearning curve• Tutorials that make use of the Visual Studio add-ins arepart of the how-to guide© 2010 <strong>ANSYS</strong>, Inc. All rights reserved. 6 <strong>ANSYS</strong>, Inc. Proprietary


Workbench SDK at <strong>ANSYS</strong> 13.0• Notes:– The SDK assumes developments done onWindows OS with Microsoft Visual Studio 2008– Windows dlls also run on the Linux platformssupported by Workbench (via Mono)– The SDK does not describe development of„native‟ Workbench <strong>application</strong>s (such asEngineering Data or Design Explorer)• To be delivered in future versions© 2010 <strong>ANSYS</strong>, Inc. All rights reserved. 7 <strong>ANSYS</strong>, Inc. Proprietary


Workbench SDK at <strong>ANSYS</strong> 13.0• Early adopters– nCode (fatigue analysis tool) has beenintegrated in Workbench 12.1 & 13 using apreliminary version of the SDK– The SDK is being investigated by othercompanies for different <strong>application</strong>s• Parametric geometry deformation• Optimization software• Material properties• Fatigue simulation© 2010 <strong>ANSYS</strong>, Inc. All rights reserved. 8 <strong>ANSYS</strong>, Inc. Proprietary


External Connection add-in• Simple <strong>integration</strong> of external<strong>application</strong> via XMLconfiguration file• Communicates input/outputparameters– Works with design points, andDesignXplorer• WB-visible properties affectexternal code execution© 2010 <strong>ANSYS</strong>, Inc. All rights reserved. 9 <strong>ANSYS</strong>, Inc. Proprietary


Microsoft Excel Addin• Communicateparameters withWorkbench• Defined via“named ranges”• Advancedcalculator• Explore reducedordermodels© 2010 <strong>ANSYS</strong>, Inc. All rights reserved. 10 <strong>ANSYS</strong>, Inc. Proprietary


Custom Toolbars• A configuration file candefine custom entriesfor the WorkbenchToolbar and/or Menubar– Read automatically atstart-up– Python scripts can bedefined for executionfrom the custom entriesin the User Interface© 2010 <strong>ANSYS</strong>, Inc. All rights reserved. 11 <strong>ANSYS</strong>, Inc. Proprietary


Workbench Journaling andScripting• Provides a mechanism to automate simulationprocesses and drive them in batch mode• Workbench user operations are recorded in a journal– Operations affecting the project and native <strong>application</strong>data model are recorded• Workbench journals can be modified and played asscripts• Workbench journals and scripts are Python-based,object-oriented, and platform-independent• Documentation includes:– Overview, How to Guide, Command Reference,Examples© 2010 <strong>ANSYS</strong>, Inc. All rights reserved. 12 <strong>ANSYS</strong>, Inc. Proprietary


Support for Scripting of Data-integratedApplications• Many data-integrated <strong>application</strong>s have their own nativescripting languages– APDL, CCL, Scheme, JScript• Workbench scripting provides a mechanism to pass<strong>application</strong>-native scripting commands to data-integrated<strong>application</strong>s– The method is called “SendCommand”• Some data-integrated <strong>application</strong>s also record operationsto the Workbench journal using SendCommand© 2010 <strong>ANSYS</strong>, Inc. All rights reserved. 13 <strong>ANSYS</strong>, Inc. Proprietary


<strong>ANSYS</strong> Workbench-basedApplication CustomizationGeometryGeometrycreation/importwizardsFE ModelLoads and BCsCustom wizardsCustom loadsExternal solversupportResultsCustom post-processing© 2010 <strong>ANSYS</strong>, Inc. All rights reserved. 14 <strong>ANSYS</strong>, Inc. Proprietary


Customized Analysis Tools• Most customizationrequests involve<strong>application</strong> customization• Support for <strong>application</strong>levelcustomization varies• In general, this requires<strong>ANSYS</strong> developmentsupport• More scalable approachesare comingCustom Boundary Conditions© 2010 <strong>ANSYS</strong>, Inc. All rights reserved. 15 <strong>ANSYS</strong>, Inc. Proprietary


Shaping the Future of SimulationGeometry Meshing Setup Solve ResultsMeshing Setup Solve ResultsGeometry Meshing Setup Solve ResultsGeometry MeshingMeshingSetup Solve ResultsResultsSetup SolveApplication IntegrationScriptingFramework ToolkitParameterizationData and Process ManagementApplications will be unified to streamline workflows.Unified <strong>application</strong>s will be scriptable.Expanded SDK will enable customization.© 2010 <strong>ANSYS</strong>, Inc. All rights reserved. 16 <strong>ANSYS</strong>, Inc. Proprietary


EKM-based Customization• Web-deployable simulation templates© 2010 <strong>ANSYS</strong>, Inc. All rights reserved. 17 <strong>ANSYS</strong>, Inc. Proprietary


Summary• Currently, most <strong>application</strong>s are data-integrated• SDK can be used to data-integrate additional tools• The External Connection provides a lightweight method ofintegrating external tools• The Microsoft Excel addin makes it easy to integrate Excel• Project-level actions are scriptable; <strong>application</strong>-level scripts canbe embedded• Application customization currently requires somedevelopment-level support• EKM can provide web-based custom simulation tools• The emergence of “Workbench-native” simulation will greatlyexpand and simplify your ability to automate and customizesimulation processes© 2010 <strong>ANSYS</strong>, Inc. All rights reserved. 18 <strong>ANSYS</strong>, Inc. Proprietary


Thank you!Questions? Please contact:Judd.Kaiser@ansys.com© 2010 <strong>ANSYS</strong>, Inc. All rights reserved. 19 <strong>ANSYS</strong>, Inc. Proprietary

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!