Jump to content

Search the Community

Showing results for tags 'python'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Altair Support Forum
    • Welcome to Altair Support Forum
    • Installation and Licensing
    • Modeling & Visualisation
    • Solvers & Optimization
    • Conceptual design and Industrial design
    • Model-Based Development
    • Manufacturing Simulation
    • CAE Process Automation
  • Academic Partner Alliance Forum
    • APA - Composites
    • APA - CFD & Thermal
    • APA - Vehicle Dynamics
    • APA - Manufacturing
    • APA - Crash and Safety
    • APA - Noise, Vibration and Harshness
    • APA - System Level Design
    • APA - Structural and Fatigue
    • APA - Marine
  • Japanユーザーフォーラム
    • ユーザーフォーラムへようこそ
    • インストールとライセンス
    • モデリング(プリプロセッシング)
    • シミュレーション技術(ソルバー)
    • データ可視化(ポストプロセッシング)
    • モデルベース開発
    • コンセプト設計と工業デザイン
    • 製造シミュレーション
    • CAE プロセスの自動化

Categories

There are no results to display.


Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Interests


Location

Found 16 results

  1. For more information, see www.altair.com/mbd2019 and www.altair.com/mbd2019/compose. To download a free 1-year license of this software, go to https://basicportal.altair.com/downloads. Do you want to do technical calculations, scripting, data visualization or data processing (especially involving CAE or test data)? If yes, then whether you are involved in academia or industry or are just a hobbyist/maker looking for cool & useful software, this no-cost software could help you achieve your goals. The multi-language environment of Compose enables the combined use of scripts written with its open matrix language (OML) with scripts written in Tcl/Tk or Python. And OML is compatible and inter-operable with Octave and MATLAB®. Altair has also expanded its support of open standards by open-sourcing its open matrix language (OML). Interested users and contributors can download source code from the OpenMatrix website and actively participate in this burgeoning R&D community. Give Altair Compose™ and OML a try today!
  2. Dear all, is it possible to register a Compose function that makes use of Python functionalities? Thank you in advance! Christian
  3. Hi! I am new in python scripts and I would like to know if someone knows how to make a script that allows to hide everything that the model and let see for example a certain range of ids. That is ... a code that filters and leaves in sight only a certain range of IDS qe. thank youu!!
  4. Hi, everyone This may seem a dumb question. I need to do some repetitive work in Flux. I know I can use the python editor to in Flux to run some commands, but what I am trying to do is to use python IDE to run the python commands to load FLU project and of course do other stuff such as changing parameter and post processing, without having to open Supervisor to launch the project and do work in Flux as what people usually do. I can not find any useful material related to this...so if someone can tell me how to do this, or give an example/tutorial, it would be of great help. Thanks! PS: I've tried similar work by using MATLAB, but changing the python command into MATLAB command is really hideous work... Kind regards, Qibin Chen
  5. Saumya Mishra

    Reading H3d File using Python

    Hi all I wanted to know if it is possible to read h3d result file using python. I cannot use hyperview to read the file since I am not well versed with Tcl/Tk. Thanks Saumya Mishra
  6. Romain B

    Parameters of a macro

    Hi, I'd like to know if there is a way to let the user give parameters to a macro without those parameters being Flux parameters (IO or geometric). Simple example: I want to make a macro that computes the parameters of a non-meshed coil. The user can enter the dimensions of the iron core as well as the maximal size of the coil and the thickness of the insulation. Yet, I do not want these input values to be saved as geometric parameters, I only want to keep the four resulting values as parameters that Flux needs. Can I do this? Thanks in advance, Romain
  7. Dear all, I was wondering whether it is possible to directly post-process Time History data output with custom-written Python scripts? What kind of format is the *T01 file? Is it a binary format (is the format known)? A short synopsis of what I am working on is an automated peak detection method on certain Time History Output data. I want to find out at which time a peak value occurs, and subsequently want to look up the Y-value at that same time for a different Time History Output. If a script (different from Python) is available that can directly be applied to the *T01, then I am also happy. Kind regards, Robbin
  8. Hey Guys! I would like to model composite coupon and make a lots of runs using RADIOSS, because I have a lots of measurements data and I would like to make a proper model for it. I want to make 3-point bending, tension, compression etc. and experience the behavior of the model in the post-yield phase (after the failure of some fibers). If I have the results of the measurements, I should export the material data into RADIOSS from a .csv or .xls file. I should optimize the parameters of the material card in RADIOSS to approximate the measured results of the composite coupon. This process should be automatized (because of the many runs and many setup options of the material properties). I would like to use PYTHON scripts to change the values of the material card in the .csv or .xls file for different runs. Can you tell me anything about how we can use PYTHON scripts in HyperMesh/RADIOSS or if it is not able, how we can connect them to TCL/TK scripts? And another question is that how can I reference to the parameters of the material card in TCL or PYTHON scripts? How can I export the results of a specified node or element (stress, strain, displacement or something) to an excel compatible format (.xls, .csv)? Thanks for your answer in advance! Best regards, Tüki
  9. Fedra853

    Command prompt user package

    Hi, I need to use an external python package (openpyxl) to connect FLUX with a data sheet. I installed that package in the FLUX's "lib" folder but when i try to import it in the command prompt zone, an error showing "no module named openpyxl found" appears. How can i install external python package in the correct way? Grazie!
  10. Ravi Shankar Paramasivam

    SimLab supports python compile code (*.pyc)

    SimLab now supports python compile (*.pyc) in Command mode and Auto play mode. If the user has *.pyc file he can run the file in the latest SimLab 2017.3 delivery. SimLab Python Command Window: (F4) import runpy Status = runpy.run_path('D:/Scripting/Pressure.pyc') SimLab Auto Play: Project – Play – Auto Note: Don’t rename the py file to pyc .Use python command to convert. python.exe -m compileall py_file.py
  11. I currently have a workflow using the GUI in order to mesh some imported CAD model. My goal is to translate that workflow into a (possibly python since it is a language I am more comfortable with) script that is generic enough so it can handle roughly similar CAD models (by that I mean that some bodies in the CAD model will have the same names, some planes will be identical, etc. but there will be some differences). So far, I have been able to record a full workflow for a specific CAD model, so this gives me an idea of how my script should be structured. However, I have some difficulties in making it more generic. For example. Let's say that my imported file contained 6 bodies but I want to keep only 5 (for which I know the name). I am looking to do something like this: * obtain a list of all bodies in my model (no idea how to do this / which command to use) * make some search in their name (I know how to do this in python) * decide which one to delete (I know how to do this in python / simlab) Another thing that I would like to do is how to access the selection list in python. With a concrete example, I am: * Using Inspect / Edges / by plane to select some edges (I know the command for this) * Apply some mesh controls on those edges (I know the command for this as well) My problem is that in a generic script you want to know which are the edges ids to pass to the second command (because MeshControl needs it). One way that might work is to actually create a group when you do the inspect and use getEntityFromGroup to pass the result. But this seems quite complicated. Any comments are more than welcome.
  12. Hi everyone, I am definitely not a Python expert, but I've been using PyFlux for quite some time now. I have always had issues guessing the structure of different classes for my scripts and was wondering if there was somewhere a document describing the different classes in PyFlux? If not, a simple screenshot of the classes définitions might help... I am aware of solutions such as vars(myClassInstance), yet I cannot always find everything I want with this method. Is there another efficient method? I also know that a lot of tricks can be learnt by checking the code of the provided macros... For example, my most recent bother is that I am trying to implement a post-processing script that automatically generates reporting on a given scenario, but the control parameters can be mono or multi value and I cannot know it beforehand. What is the class attribute of the pilot that tells me whether it is mono or multi? Multi defined by step value or by step number? Than you very much for your help! Romain
  13. The macros enable the user to regroup the frequently used commands in an extension integrated into the software. You can build up a macro instead of manually executing a series of repetitive actions in Flux, which you will then be able to call regularly. A macro is interesting because it can encapsulate within a new command a series of repetitive operations and thus improve the quality and efficiency of the user-software interaction. Concretely, a macro file (*.py) is a text file, which defines the macro-function in the PyFlux language. It receives (upon entry) one or more parameters and executes (upon exit) a series of predefined actions. It is possible to use the macros provided with Flux or to create your own macros. All macros provided with Flux are open sources, to help you to create a macro fitting exactly your expectation. The list of macros provided with Flux is available in C:\Altair\Extensions\Macros\macros_list_EN.pdf. The moste recent one are described with more details in the attached document "New_Flux_macros_2016". New_Flux_macros_2016.pdf
  14. Hi, I have created a session file where it generates graph between strain and stress for a particular element id. Now i would like to change the element id and reuse the template or session file. I am very new to hyperworks and have no idea how to change .tpl to tcl script or .mvw to tcl. For understanding i am attching the images created by saved template and also the template. I would like to create a script such that it should ask me to enter the element id in hyperview. Any suggestions or recomendations (example scripts) would be verymuch appreciated and helpful. Thanks in advance Agassi e181115.tpl
  15. The first time you run this program, it will go through an installation process. Please click ok on dialogs that appear when you first run acuReport. In the process, if it ask for any package installation of Latex please download the updated miktex.zip from the public area on our client vault. Unzip the compressed file and replace the miktex folder in /base/bin of AcuSolve installation. More Details: acuReport is a post processing tool that extracts data from AcuConsole database, AcuSolve output and any other user data. One has to create a simple python script to access data from different sources.AcuReport converts the python script into a latex document that could then be converted into pdf, html or an rtf document. Depending on the features of Latex that one uses, latex distribution could be as big as 2GB. Both on windows and linux we are including some of the standard packages in Latex that are used most of the time. If the users wants to go beyond these standard packages, they can download and add to the existing latex/miktex distribution. On windows, we use miktex. In V1.8 we did not include all the standard miktex packages required by acuReport. Miktex downloads packages as needed and hence some of the users might encounter problems while running acuReport, because they don't have the permissions to download and install the package on their machine. For now, please download the updated miktex package in the public area on our client vault. This will also be part of V1.8a distribution. On Win64, there is a known issue that we are trying to resolve. The plotting package does not render the plots correctly. This is an issue with matplotlib package that we are trying to fix it. Finally, acuReport is still in preview mode. Please feel free to provide your feedback so that we can make it useful for your applications.
  16. python: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory AcuConsole requires the standard C++ libraries, version 5 to be installed on the system. These libraries can be downloaded from the various rpm repositories on the web.
×