In EnSight, while exporting the transient file in vrml file format, only the current time step file gets saved. How do I go about exporting vrml files for a transient case?
Tagged: 2020 R2, ensight, fluid-dynamics, scripting, transient
March 17, 2023 at 8:58 amFAQParticipant
As of 2020R2 there is a bug that is preventing all vrml files at all timesteps from being saved. A workaround would be to use a python script to export in vrml format. The python script is as follows: for x in range(20): ensight.solution_time.current_step(x) ensight.solution_time.update_to_current() ensight.part.select_begin(6) ensight.part.visible(“OFF”) ensight.savegeom.format(“vrml”) ensight.savegeom.begin_step(x) ensight.savegeom.end_step(x) ensight.savegeom.step_by(1) ensight.savegeom.save_geometric_entities(“D:/test_pyscript_” + str(x)) In order to implement the script, go to File –> Command. Select the Python tab in the pop-up window and select New Python fileâ€¦ Copy and paste the script into the editor. You will have to make a few changes to the script. Line 1: for x in range(20) – you can change the number to the number of time steps you desire. Line 4: ensight.part.select_begin(6) â€“ The number is the part Id which is shown in the Part window (located left of your screen by default) Line 10: ensight.savegeom.save_geometric_entities(“D:/test_pyscript_” + str(x)) â€“ You will have to set the location of file storage by replacing the text in â€œ â€ by the location you want the files to be saved. To execute the Python script, in the Python editor window, File –> Run Script (execfile).
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.
- ANSYS Fluent: Introduction to the GEKO Turbulence Model Part I
- ANSYS System Coupling: Two Way Fluid Structure Interaction – Part 1
- ANSYS Polyflow: Adaptive Meshing Based on Contact
- Delete or Deactivate Zone in Fluent
- How can I create a Cell Register from a Cell Zone?
- Apply Custom Material Properties in Fluent
- Check CPU Time in ANSYS FLUENT
- Running Python Script from Workbench
- What is meant by Warning: Flow boundary zone 18 is adjacent to a solid zone?
- Aero-Mechanical Simulation of Turbomachinery Blading
© 2023 Copyright ANSYS, Inc. All rights reserved.