Jump to content


Popular Content

Showing most liked content since 09/21/19 in all areas

  1. 5 likes
    Hi techs! I've created a Ball & Beam model on MotionView to explore a co-simulation with Activate. Many of you may have seen this on undergraduate/master class studying on frequency or even on time domain. I've decided to do something different, creating the model on a multibody environment. The control is a simple PD, where I've calculated using analytical method (Kp +Kd.s) with a specified overshoot and settling time. You could explore changing its values... I'd like to thank @Livio Mariano for suggesting me his own low-pass filter in a way to filter the input displacement signal (without it I was having a problem to converge). I've created a short video to show you how it works, and the files are attached. Enjoy! João. Ball_&_beam.zip
  2. 4 likes
    Hello everyone, I would like to share with the community a script that allows the user to test different parameters of a filter to see if the filtered signal is good or not. From line 3 to 16 you can edit the parameters to change both the signal and the filter behaviour. After the script finishes it is possible to check the original and the filtered signal, as wall as the FFTs. Highlighted in yellow are the frequencies of the signal and the plots obtained: PS: It's also possible to use filtfilt instead of filter to keep the signal phase butterworth.oml
  3. 4 likes
    Hello community, I want to share some code that will help you to use a gamepad/joystick in compose. I created an OML-class that represents the controller. I will provide you with more informations, documents and updates soon. To make the code work, you need to install the XInput-Python interface: https://pypi.org/project/XInput-Python/ In the topic below, there are instructions how to install python modules in compose: regards Nils vrjoystick.zip
  4. 3 likes
    You can follow below pictures.
  5. 3 likes
    Adding the newer version because the legend was backwards. The script will first use first the low pass filter then the high pass filter butterworth_v2.oml
  6. 3 likes
    Hello everyone, Regarding some Shock's analysis demands, I've decided to facilitate and automate (using Activate) the task to obtain the expected Shock Response Spectrum curve as below: This model will be very useful for those who are intending to do some Shock's analysis, even a linear approximation using the amplification factor on a certain frequency, as a Response Spectrum covering all the frequency domain. Basically the inputs are the Half-sine and System properties: Sine: Magnitude, period, phase. System: Mass, damping, stiffness. After set them, you'll just have to click 'Run' and then 'Execute'. Besides the traditional plots (Acceleration (G) vs. Frequency (Hz)) you will already have the 'TABLED1.fem' to be used on OptiStruct, as can be seen in this video. Thanks for @robertavarela, @RoKet and @Adriano Koga for some tips regarding the modeling. Hope this be very useful for you all! Please, let me know if you have any question about this model (attached). João. Srs_curve_model.zip
  7. 3 likes
    Hello all, As you already know, OML (Open Matrix Language) has a syntax compatible with other matrix-based languages, such as Octave. This compatibility leverages both the reuse of legacy data and syntax knowledge of these other softwares. It means that it’s possible to have a non-disruptive adoption of Compose and it can coexist with existing Math tools. Please find attached a video explaining the main differences that you may encounter when trying to use your past scripts in Compose and how to overcome them. Regards, Roberta LegacyData_AltairCompose.mp4
  8. 3 likes
    Hi everyone, i'd like to share a script slightly modified, based on the very famous 99lines topology optimization script from Ole Sigmund group (http://www.topopt.mek.dtu.dk/). It brings a topology optimization problem, for miminize compliance, while keeping a limited volume fraction of material. It is a bi-supported beam example. This runs fine in Compose 2019..3+ I believe. Just load the .oml file, and run the script. Then for execution type a few parameters while calling the 'top' function. top(20,10,0.5,3.0,1.5) top(numb elems in x, numb elems y, volume fraction, penalization , minimum radius filter) 99lines_modified.oml
  9. 3 likes
    Hello all, I wanted to share with you a tool to digitize plots in images using OML and Python. The aim is to convert plots that are introduced in text books like Analysis and Design of Flight Vehicle Structures (Bruhn, 1973): Such plots are commonly used in industries like Aerospace to calculate constants and other parameters that assess Margins of Safety of components and systems. Finally, we can do a polynomial curve fitting to use these curves and compute these constants without the need to look at the plots everytime they must be applied. The steps of the attached scripts are: 1) Give the axes bounds, degree of polynomial curve fitting and image whose plot will be digitized 2) Hit Start in the OML script (it will automatically call the Python script) 3) Give a first click with the mouse button to start selecting the corners of the plot 4) Select the corners 5) Give another click to select the points 6) Select as many points as you want 7) Double click with any key to finish the selection 8) Plot is generated and polynomial coefficients are computed and printed Regards, Roberta PlotDigitizer.oml ginput_plot.py
  10. 3 likes
    There is not a simple answer to your question. The general guidance is to reduce penetration between components as much as is reasonable, without making the stiffness so high that is results in computation difficulties. Sometimes you need to try different types of normal force calculation, sometimes it's the parameters themselves. In our help section, please read careful the section on Best practices for 3D contacts. Your wheel geometry does not have a uniform mesh, which is important for accurate contact forces. Just search the help for "Best Practices for Running 3D Contact Models in MotionSolve". There is a lot of important material there, that will save you a lot of time and headache if you will follows those best practices in setting up your problem.
  11. 2 likes
    Did you know that there are dozens of interesting examples accessible online for multi-body / motion simulation using Altair software?! See https://altairhyperworks.com/motionsolve-models/ These examples have been designed to help raise your awareness for the kinds of simulations that are possible with Altair's multi-body motion simulation tools. There are currently 17 examples for MotionView+MotionSolve and 29 examples for Inspire Motion -- with dozens more examples scheduled to be added quite soon. The goal is to continually add more and more over time. So consider bookmarking that page and check back often! Each example comprises two pieces: (1) a movie clip that plays automatically in your browser + (2) a downloadable zip file which typically contains: One or more movie (.mp4) files. Pre-built model files for the complete, mechanized multi-body system. Results files. A presentation (.pptx) file describing the model and how to use it. Enjoy!
  12. 2 likes
    Hi Thanks for the response. I worked it out. I ended up using the dummy bodies. I was thinking about it in the shower after I posted the question, and thought of "piggybacking" the bodies and joints to each other. tried the next morning and it worked
  13. 2 likes
    a couple more images from the result. I've started from a 10mm regular mesh, and i've selected the elements to be refined. I've remeshed to 5mm target, and kept 2 layers for transition and 'inside' disabled, so that the selected region was remeshed to 5mm and the transition was kept outside. taking 2 adjacent layers.
  14. 2 likes
    I believe he means above 4 core's no considerable performance increase was found..just like convergence study. So for this application don't waste resources as it will not leverage more tham 4 core's.
  15. 2 likes
    From tcl 8.5, use {*} instead of eval *createplane 1 0 1 0 {*}$node_coords or eval *createplane 1 0 1 0 $node_coords
  16. 2 likes
    Keep in mind that the good principle of forum is "sharing": when you post your question here, I can answer also here and another person who has the same "issue" as you can learn from it directly.
  17. 2 likes
    Hi João, Nice! FYI, if you are looking for some more ideas/examples to talk about how you might use Activate, MotionSolve and possibly other Altair tools in your team I had written this paper a few years back that discusses a workflow based on an active suspension example, using quarter-car and full-vehicle models in both Activate and MotionSolve. You can also find more videos about these topics in our Learning Center, e.g: https://www.altair.com/learning-center/ Hope this helps. Let us know if you want to more about any of these topics in particular. Best, Andy mechatranics_model_based_development.pdf
  18. 2 likes
    Once you create your figure that will receive the uicontrol entities, you could set the position of the external image with position property. An example: img = 'OptiStruct.png'; figure(1); myimg = imread(img); imshow(myimg,'units','normalized','position',[0.1 0.1 0.5 0.3]); And the output is: Regards, Roberta
  19. 2 likes
    Hi, You can change the size of the values in legend as shown in the attached video. Edit_legend.mp4 Thank You!
  20. 2 likes
    Just to make everyone aware that these kind of multiple curve operation no longer needs MVPToolbar. They are available in the core product itself. Just select all your curves and RMB.
  21. 2 likes
    Yes. The incident field, which is seen as part of the MoM, acts as the excitation for the FEM region.
  22. 2 likes
    Hi, for the 2020 release the corresponding material sheet is in Example-A03-Database_Materials.zip which is located under: C:\Program Files\Altair\2020\help\winprop\examples\ExampleGuide_models for the 2019 release the corresponding material sheet is in 05_Database_Materials.zip which is located under: C:\Program Files\Altair\2019\help\winprop\examples\
  23. 2 likes
    Hi @Nadzrin, The advancing front vs. Delaunay triangulation discussion actually refers to the surface meshing. AcuSolve doesn't have much of a preference either way when it comes to surface meshing. The runtime argument I made is in reference to the volume meshing (AcuConsole's octree vs HW-CFD's approach). In this case, the linear solver *should* perform better with the mesh from HW-CFD. Note that the performance won't be radically different between the two approaches, but according to our linear solver experts on the AcuSolve team, the more random mesh is beneficial. Would be an interesting test for someone to run. and report the results!
  24. 2 likes
    Also take a look at supported versions, as you've asked before. Inspire 2020 has support for Creo6 You can always save your file as step or parasolid as well. y
  25. 2 likes
    Deb, In Compose v2020, you can use composedir function and in previous versions you can use getenv('ALTAIR_HOME') to get the environment variable that points to Compose installation folder. Regards, Roberta
  26. 2 likes
    Hello CLervick, this feature is not yet available, but you can still run portion of your script. To run a portion of your script: - highlight it - right click - Run Selection Hope it helps, Lorenzo
  27. 2 likes
    Hi @Soheil_F, By any chance is it your first time running MotionSolve? I ask you this, because I've searched the "scpxml.dll" file and it should be in your solver path installation, something like: "D:\Programas\Altair\2020\hwsolvers\motionsolve\bin\win64" Could you please access this path and search for "scpxml.dll" file? I've made a test deleting it and run the Activate tutorial and I've got the same error as yours: I've copied to the installation path again, and it worked. So it could be some MotionSolve installation error. João.
  28. 2 likes
    Based on the same script, @Kosuke IKEDA created an example connecting OptiStruct Activate, where K, M and C matrices were converted from OS to ABCD matrices (state-space system): Which may be imported in Activate then. The impulse response results match OS transient: Regards, Roberta hm_plate_cms_AX.pch io_def.txt stc_DMIGPCH2ABCD_rev1.oml
  29. 2 likes
    Workaround: In Python: list2=[(1,1),(2,2),(3,3)] list3 = [list(child) for child in list2] In OML: getpythonvar('list3')
  30. 2 likes
    FREE Altair Compose Notebook: An Introduction to System Dynamics and Controls using Altair Compose (Click Here) WHAT IS ALTAIR COMPOSE NOTEBOOK? The Altair Compose Notebook is an environment where you can develop interactive documents, mixing text, pictures, equations, and editable scripts. · For Academia: an application to make teaching more efficient and fun · For Professional: a tool to create interactive document that you can share across your organization · For Everyone: an environment to develop and present your projects WHAT WILL YOU LEARN FROM THIS NOTEBOOK? In this first notebook we talk about System Dynamics and Controls. Our aim is to provide you with all the basic knowledge you will need to work on your projects or deepen your studies. We will cover: 1. System Dynamics 2. Continuous Dynamics 2.1. System Analysis 2.2. Control Theory 3. Discrete Dynamics The theoretical explanation will be integrated by practical examples and applications, that will be developed leveraging Compose built-in functions (in particular the ControlSystem Library). MORE RESOURCES Also a .pdf version is available. CLICK HERE to download the E-book: An Introduction to System Dynamics and Controls using Altair Compose
  31. 2 likes
    There are multiple commands to extract CAE/Test data file in Compose OML. of which, readmultvectors, readcae commands extracts results of specific input arguments given by the user. I had multiple requests from users asking, as these 2 functions serve the same purpose then whats the difference between readmultvector & readcae? Which one do we use and when? As an engineer myself, I tried to break it down based on 2 key factors below: 1. Syntax differences (Ease of Use) 2. Speed/Performance Attached is the paper i wrote about the same with example. Hope this helps users to pick the right command for their tasks. Happy coding!! Thanks, Manoj kandukuri readmultvector_readcae_why_are_they_2.pdf
  32. 2 likes
    Hello community, if you like to instantiate a certain number of a model/class/component and connect the ports with a for-loop you can do it like in the picture below: In this example a specified number of the "HeatedPipe" component is created. One for-loop is connecting the flow ports and the other one is connecting the heat ports. regards Nils RadiatorSimple.zip
  33. 2 likes
    For your information: I use Hyperworks-X only on .... playstation :-) I work only with classic Hypermesh
  34. 2 likes
    RoKet is right switch/case is not allowed but... You can get exactly what you need with MathExpression block in a much easier way. Please look the attached model. Trick: - You set your condition between round brackets, if condition is true, it is like having 1 otherwise 0. You can use & symbol for "and" and | symbol for "or" in the formulation of you condition. - You multiply the condition by the associated operation that you want to perform when the condition is true (=1). - When the condition is false it will return 0 and you will not consider the operation associated to it. - You sum the other conditions multiplied by the associated operations. This way of using the MathExpression block is really powerful and flexible, I use it a lot. Case1.scm
  35. 2 likes
    Hi, First, you are running Real Eigenvalues Analysis using Lanczos solver (EIGRL). V1 and V2 mean the lower and upper bound of your frequency domain. ND means the number of roots (number of eigenvalues) of the following equation : (-w^2*M - K)*phi = 0 with w refers to the real eigenvalue and phi means the eigenvectors. Cheers,
  36. 2 likes
    There is no specific tutorial for this. You can find the details about our Belt-Pulley tool in our MotionView help: Altair MotionView -> MotionView Panels -> MotionView Toolbars -> Subsystems Toolbar -> Create a Belt-Pulley Subsytem Further questions should be directed to our Multi-body dynamics forum. Note that modeling belt-pulley systems is rather challenging and can be computationally expensive.
  37. 2 likes
    I've used pyaudio in the past to create .wav files, which is a package that is able to input/output audio. Steps to install the package: Open the command window (cmd) as Administrator Type cd C:\<Compose_installation_folder>\common\python\python3.5\win64 Type python.exe -m pip install pyaudio There are some examples at GitHub: https://gist.github.com/mabdrabo/8678538 https://gist.github.com/fopina/3cefaed1b2d2d79984ad7894aef39a68 And pyaudio documentation is at https://people.csail.mit.edu/hubert/pyaudio/docs/ - the class stream probably achieves what you are looking for. Regards, Roberta
  38. 2 likes
    Hi, Go to File > Preferences > Application and turn on "Enable CFD modelling" toggle. This will automatically set the skew as a default quality in volume mesh dialog. Please try this and let me know if you have any difficulty.
  39. 2 likes
    Hi Amasker, To smooth the curve in HyperStudy, you can use saefilter or polyfit functions available in the Expression builder. You would need to create data sources for each vector Time and Velocity and then create a Response defined with the filter expression. Hope it helps. Let us know if further questions. Diana
  40. 2 likes
    Hello I modify some things Please copy these modified files and overwrite the old ones If something's wrong, simply backup original files and let me know issuesReports_modified.zip
  41. 2 likes
    Crashphys - You can't accomplish exactly that, but here's a work-around. Create a DRESP1 with your stress response. Then create a DRESP2 with DEQATN. Pass the stress response and the property thickness (assuming this is a DESVAR) to the DEQATN. I'm not sure if you intend a linear relationship or something else. But your DRESP2/DEQATN could be written such that your stress responses is adjusted for thickness (or some function of thickness). Then constrain that stress with DCONSTR. - Robert
  42. 2 likes
    Let me add another approach that I've just learned. There are many options to perform it but I’ve found this method very simple, flexible and self-explanatory. Summary: In the example, watertank.oml is the master file. It: changes the input parameters (controller gains) runs (repeatedly) the file Watertank_parm.scm (slave) collects results doing post-processing (plot) at the end. I’ve created a quick video to summarize how to run the demo. Present working directory must be where you save the files (the video shows how to select the pwd). Otherwise use an absolute path in the oml file. Liv ParameterSweeping.mp4 watertank.oml watertank_param.scm
  43. 2 likes
  44. 2 likes
    Seem that before *feinputwithdata2 you are missing a *createstringarray Number 8 indicates that the array has 8 items If input reader parses 8 args but not found, it's crashed!
  45. 2 likes
    ... model and video are attached. impulsiveForce_IM.mp4 2_simplified_SingleBC_Impulse_2019.3.stmod
  46. 2 likes
    Hi forestis - You could use the type "Expression" and have an expression something like this - `STEP(TIME, 1,0,1.1,100)+STEP(TIME,1.1,0,1.2,-100)` In this expression, the first STEP function increases the force to 100 from time 1 sec. until then it is 0. In the next STEP function, the force is being dropped down back to 0.0. (otherwise the force will remain at 100 for the remaining time of the simulation) You may also use a Curve that has the impulse profile of your choice and use TIME as the independent variable while using the type Curve. regards praful
  47. 2 likes
    Hello @BG913 I guess "hm_gettiedentities" is you are looking for. Ex: *createmark nodes 1 248; hm_gettiedentities nodes elems 1 2; hm_getmark elems 2; Thanks, Imoto
  48. 2 likes
    @Joel Rodarte: use command "hm_getvolumeofsolid"
  49. 2 likes
    Hey Hyperman! Thanks for your effort, you understand me well. I was lame and did not leave the z0 offset blank, I left there a 0 mm value. Thanks again, you are the real hero, not superman.
  50. 2 likes
    Hi, with the setting Z0=blank, the plies will be arranged symmetrically, i.e. half the laminate thickness on both sides of the surface geometry (see image attached). Or have I misunderstood what you are trying to do? composite_laminate_edit.hm
  • Create New...