Analysis Modeler |
Creating Preprocessing Data |
![]() |
This macro shows you how to create preprocessing commands on an existing Analysis document linked to a Part document and how to launch the computation. This scenario is related to the Generative Analysis products. It opens an Analysis document, and generates preprocessing data applied to the part attached to the Analysis document. This scenario retrieves the Restraint set to define a clamp on one face, retrieves the Load set in order to define a momentum on another face and compute the case. This last task launches the meshes, generates the finite element model for preprocessing and launches the solver in order to generate the finite element results.
|
|||||||
![]() |
CAAAniPrepro is launched in CATIA [1]. No open document is needed. CAAAniPrepro.CATScript is located in the CAAScdAniUseCases module. Execute macro (Windows only).
|
|||||||
![]() |
CAAAniPrepro includes the following steps:
Prolog
Open the Analysis document. The Analysis document is fetched in the documentation
installation path, this path has already been stored in the Extracting from the Part Document the Reference Object for Preprocessing
The extraction of pre-defined geometrical arena is done by using the Reference interface. This is equivalent as the selection of a B-Rep element inside the interactive applications. Navigating Inside the Analysis Document in Order to Retrieve the Preprocessing Sets
According to the general Analysis Document structure, this macro uses some standard procedures to navigate or retrieve the required objects. First, from the document, we find the Analysis manager Object, the Analysis models and the Analysis cases Objects. From both last object (Analysis Model and Analysis case), you can get access to Analysis Sets and Analysis entities that defines the preprocessing actions. Defining the Boundaries
From the collection of analysis sets defined on the analysis case, we retrieve the preprocessing set that allows you to define boundary conditions. This set is made of analysis entities. We add to this collection a fix (clamp) boundary condition and apply it on the reference extracted from the Part document. Defining the Loads
From the collection of analysis sets defined on the analysis case, we retrieve the preprocessing set that allows you to define loading conditions. This set is made of analysis entities. We add to this collection a momentum, valuate the vector that defines this loading condition, and apply it on the reference extracted from the part document. For more information about the physical types included inside analysis entities and the way to valuate them, refer to the reference [2] Computing the Case
This method will launch the mesher, generate the finite element model for preprocessing and launch the solver to generate the finite element results. Epilog
|
[Top]
This use case has shown how to create preprocessing entities and launch a computation inside an Analysis document.
[Top]
[1] | Replaying a Macro |
[2] | The Physical Types for Structural Analysis |
[Top] |
Copyright © 2001, Dassault Systèmes. All rights reserved.