Tagged: Deformed, Discovery Geometry, Discovery Modeling, dsscript, geometry, mesh, script, undeformed, Warping
-
-
March 13, 2025 at 9:54 am
Solution
ParticipantObjective of this tool:
Create a deformed shape CAD model from base CAD model and .stl files for deformed and undeformed shapes.
This tool can be used when applications within AEDT, such as HFSS, want to take into account deformed shapes calculated with FEM, such as Mechanical.
How to install:
Save the script attached to this article in the following directory.
Then you can find “Warp bodies by 2 meshes” in “Script Tools” Tab.
C:\Users\
\AppData\Roaming\Discovery\Published Scripts How to use:
Import .stl files for deformed and undeformed shapes and then click “Warp bodies by 2 meshes” in “Script Tools” Tab.
After clicking, follow the message at the bottom left of the screen.
- Select the body(s) you want to deform → check.
- Select the mesh before deformation as a faceted body (triple-click) → check
- Select the mesh after deformation as facet body (triple-click) → check
Then new bodies will be generated with the names like (base_name)_warped
To learn more about scripting check out the Discovery scripting learning content. To learn about creating custom experiences for your company contact your Ansys sales representative.
?THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OR SUPPORT OF ANY KIND, EXPRESS OR IMPLIED. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. FULL DETAILS OF THE TERMS OF USE OF THIS SOFTWARE CAN BE FOUND HERE.
-

Introducing Ansys Electronics Desktop on Ansys Cloud
The Watch & Learn video article provides an overview of cloud computing from Electronics Desktop and details the product licenses and subscriptions to ANSYS Cloud Service that are...

How to Create a Reflector for a Center High-Mounted Stop Lamp (CHMSL)
This video article demonstrates how to create a reflector for a center high-mounted stop lamp. Optical Part design in Ansys SPEOS enables the design and validation of multiple...

Introducing the GEKO Turbulence Model in Ansys Fluent
The GEKO (GEneralized K-Omega) turbulence model offers a flexible, robust, general-purpose approach to RANS turbulence modeling. Introducing 2 videos: Part 1 provides background information on the model and a...

Postprocessing on Ansys EnSight
This video demonstrates exporting data from Fluent in EnSight Case Gold format, and it reviews the basic postprocessing capabilities of EnSight.
- SpaceClaim Add-in: Sample Add-ins for 2025 R1 (API V251)
- Discovery Add-in: Sample Add-ins for 2025 R1 (API V251)
- Discovery Add-In: optiSLang
- Discovery Extension Builder: Heat Sink Example for 2024 R1
- Discovery Add-In: Structures Prep
- Discovery Add-In: Electronics Prep
- Customized Tools in Ansys Discovery
- Discovery Add-In: Fluids Prep
- Script tool of Warping from deformed mesh
© 2025 Copyright ANSYS, Inc. All rights reserved.