Titelmasterformat durch Klicken bearbeiten
© CADFEM 2018
XY-Plotter inside ANSYS
ANSYS Version: 19.0 , App. Version: 1.1
CADFEM GmbH
Contact: [email protected]
XY-Plotter inside ANSYS 1
© CADFEM 2018
XY-Plotter for ANSYS
XY-Plotter inside ANSYS 2
• App Name: XY-Plotter for ANSYS
• App Version: 1.1
• Target Application: All kinds of Simulation
• ANSYS compatible version(s): 19.0
• Description: This extension provides an easy-to-use way for processing
x-y data. It can be used to create input values for simulation (e.g. force-,
displacement- or velocity profiles) as well as post process curves from
simulation. It involves features for visualization and curve manipulation (e.g.
FFT, integration, …).
• Restriction: Numbers have to use the dot as decimal separator.
© CADFEM 2018
ACT App Store
XY-Plotter inside ANSYS 3
• https://support.ansys.com/AnsysCustomerPortal/en_us/Downloads/Applicatio
n+Library
• Great place to get started
• A library of helpful extensions available to any ANSYS customer
• New extensions added regularly
• Applications made available in either binary format (.wbex file) or binary
plus scripted format (Python and XML files)
• Scripted extensions are great examples
• Links to customization documentation and training material
© CADFEM 2018
Information
XY-Plotter inside ANSYS 4
• Please pay attention to paragraph 9 of the CLICKWRAP SOFTWARE
LICENSE AGREEMENT FOR ACS EXTENSIONS regarding TECHNICAL
ENHANCEMENTS AND CUSTOMER SUPPORT (TECS): “TECS is not
included with the Program(s)”
• Report any issue or provide feedback related to this app please contact:
© CADFEM 2018
Binary App Installation (1)
XY-Plotter inside ANSYS 5
Installing from the ACT Start Page:
1. From the project page, select the “ACT Start Page” option
2. Click on “Extension Manager”
3. Press “+” symbol in the top right corner
4. It will open a file dialog to select the appropriate “*.wbex” binary file
5. The extension is installed
Loading the extension:
1. From the Extension Manager, click on your extension and choose ‘Load Extension’
2. The extension is loaded
Notes:
• The extension to be installed will be stored in the following location:
%AppData%\Ansys\v190\ACT\extensions
• The installation will create a folder in this location, in addition to the .wbex file
© CADFEM 2018
Binary App Installation (2)
XY-Plotter inside ANSYS 6
Installing from the Extensions menu:
1. From the Extensions menu, select the “Install Extension…” option
2. It will open a file dialog to select the appropriate “*.wbex” binary file
3. Click “Open” to install the extension
Loading the extension:
1. From the Extension Manager, click on your extension and choose ‘Load Extension’
2. The extension is loaded
Notes:
• The extension to be installed will be stored in the following location:
%AppData%\Ansys\v190\ACT\extensions
• The installation will create a folder in this location, in addition to the .wbex file
© CADFEM 2018
Binary App Installation (3)
XY-Plotter for ANSYS 7
Define additional folders in which ACT will search for extensions in order to expose them in the Extension Manager 1
2 3
Notes: • During the scan of the available extensions, the folders will be analyzed according to the following order:
1. The application data folder(e.g. %AppData%\Ansys\v190\ACT\extensions)
2. The additional folders defined in the “Additional Extension Folders” property
3. The installation folder
4. The “extensions” folder part of the current Workbench project (if the project was previously saved with the
extension)
• If an extension is available in more than one of these locations, the 1st one according to the scan order is used
• Once the binary extension is installed at default location, one can move the *.wbex and the folder to any other location
– Default path: %AppData%\Ansys\v190\ACT\extensions
– New path: Any location on your machine, shared drive etc.
• All users interested in using the extension need to include that path in their Workbench Options
1. In the “Tools” menu, select the “Options…”
2. Select “Extensions” in the pop up panel
3. Add the path under “Additional Extensions Folder …”
© CADFEM 2018
Overview
XY-Plotter inside ANSYS 8
• XY-Plotter – Examples • Example description / motivation
• Provide input for simulation
• Process output of simulation
• Pictures and saving
• XY-Plotter - Documentation • Workbench Integration
• Main Window
• Window Icons
• Plotting Area
• Menu Bar
• Tabs Menu
• General
• Curves
• Attribute
• Manipulation
• Fourier
• Loads
Titelmasterformat durch Klicken bearbeiten
© CADFEM 2018
Example oscilating plate:
Example description / motivation
XY-Plotter inside ANSYS 9
© CADFEM 2018
Example oscilating plate: Example description / motivation
XY-Plotter inside ANSYS 10
• For solving and investigating the model we often need the following steps:
• Create smooth load curves
Use functions in Workbench (only possible if you have one load step)
Use Excel
• Plot output curves (e.g. displacement or velocity) from more than one analysis in one graph:
Use Chart plotting from Workbench (only possible if all analysis are in on Mechanical environment)
Use Excel
• Quickly investigate the curves (e.g. zoom in or out, plot special ranges, …):
Use Excel (but hard work)
• Do some curve manipulation (e.g. integrating, shifting, FFT, …):
Use Excel (but hard work)
• Plotting nice diagrams:
Use Excel (but hard work)
• XY-Plotter can be used to solve these tasks in an easy and quick way!
© CADFEM 2018
Example oscilating plate: Example description / motivation
XY-Plotter inside ANSYS 11
Task:
• Let‘s assume we have to do a transient analysis
• In this analysis we want to investigate a steady state (e.g. constant rotational velocity at x RPM)
Problem:
• Often a linear ramp up of e.g. the rotational velocity is done
• This leads to heavy and unwanted (but physical correct) oscillations in the model (due to the point that the load curve is not steady in it‘s first and second derivative)
(A) - fixed joint (ground / track)
(B) - translational joint (track / holder)
(C)- fixed joint (holder / vane)
(A)
(B)
(C)
© CADFEM 2018
Example oscilating plate: Example description / motivation
XY-Plotter inside ANSYS 12
• Transient analysis
• 2 Load steps:
• 1. LS: 0s - 1s , 500 Substeps
• 2. LS: 1s - 2s , 500 Substeps
• Displace the holder in the first load
step
• Load is applied as a joint load
• For post processing we have a look
at the displacement of the free end
of the plate (where the point mass is
located)
© CADFEM 2018
Example oscilating plate: Example description / motivation
XY-Plotter inside ANSYS 13
• You can see, that a linear
displacement curve was a
bad choice
• The model is oscillating from
the beginning
• It is not only oscillating in it‘s first
bending mode (in the below
picture it can be seen that there
are also higher frequencies)
Titelmasterformat durch Klicken bearbeiten
© CADFEM 2018
Example oscilating plate:
Provide input for simulation
XY-Plotter inside ANSYS 14
© CADFEM 2018
Example oscilating plate: Provide input for simulation
XY-Plotter inside ANSYS 15
• Open XY-Plotter
• Go to “Loads” tab
• At first we want to have a smooth displacement curve
• Set: • Values: 100
(number of points for the curve)
• X-Max: 1 (here the end time of load step 1)
• Y-Max: 10 (here the maximum displacement at end of first load step)
• Press “Apply + Copy To Clipboard”
Now the curve is created and all values are copied to clipboard
• In Mechanical select the first cell in the “Joint Load” table and paste the values: • RMB Paste Cell
• CTRL + V
© CADFEM 2018
Example oscilating plate: Provide input for simulation
XY-Plotter inside ANSYS 16
• Instead of a displacement we now want to apply a smooth velocity
• Check “Velocity (Half)”
• Keep all other settings
• Press “Apply + Copy To Clipboard”
Now the curve is created and all values are copied to clipboard
• In Mechanical change load type to “Velocity”
• Select the first cell in the “Joint Load” table and paste the values: • RMB Paste Cell
• CTRL + V
A velocity curve is created
which leads to a maximum
displacement of y-Max.
Titelmasterformat durch Klicken bearbeiten
© CADFEM 2018
Example oscilating plate:
Process output of simulation
XY-Plotter inside ANSYS 17
© CADFEM 2018
Example oscilating plate: Process output of simulation
XY-Plotter inside ANSYS 18
• In Mechanical: analysis with linear
displacement, select the “Directional
Deformation 2” (displacement of the
free edge of the plate)
• Select the results you want to plot
(here the complete column of Time
and Maximum)
• Copy the values to clipboard:
• RMB Copy Cell
• CTRL + C
© CADFEM 2018
Example oscilating plate: Process output of simulation
XY-Plotter inside ANSYS 19
• Open XY-Plotter
• Press “Curve+”
• If “Curve+” is pressed a new curve, with default name, is automatically created
• To rename the curves just double click them in the list
• You can also use:
• TAB to switch between different curves
• F2 to rename curves
• Just click in the header of the table of values (x-Values or y-Values) and the values from Workbench will be inserted
• Import the displacements from all 3 analysis (linear displ., smooth displ., smooth velo.)
• Rename the curves
• Have a deeper look to the plotting area
© CADFEM 2018
Example oscilating plate: Process output of simulation
• Data can be defined manually or automatically
• The automatic approach fills the rows from clipboard (doesn’t matter where it came from)
• You can fill the clipboard however you want: • From Workbench
• Excel
• Textfiles
• ...
• Just click in the header of the table of values and the values will be inserted
• How the values will be inserted depends on how many columns are stored in clipboard: • 1 column values will be inserted in this row
which is clicked in the header
• 2 column values will be inserted in the first and second row independent of which row is clicked in the header
XY-Plotter inside ANSYS 20
© CADFEM 2018
Documentation - Menu Bar
• The Automatic Selection colors the selected curves always in the following way: • 1. Curve black
• 2. Curve blue
• 3. Curve red
• nth Curve random color
• Colors are always defined if a new set of curves is selected (curve colors can change due to selection)
• The color doesn’t depend on the number of the curve in the list, it depends on the number in the selected set of curves
• If you select one or more curves from the list, they will be automatically plotted
• To select curves: • Single click them with left mouse button
• Press CTRL+left mouse button
• Press left mouse button and move over the curves
XY-Plotter inside ANSYS 21
© CADFEM 2018
Example oscilating plate: Process output of simulation
• The following mouse buttons can be
used to manipulate the view quickly:
• Zoom Box:
Press left mouse button and span a
window you want to zoom in.
• Pan View:
Press middle mouse button to drag
the view left/right or up/down.
• Zoom in/out:
Press right mouse button and move
the mouse up or down to zoom in or
zoom out
XY-Plotter inside ANSYS 22
© CADFEM 2018
Example oscilating plate: Process output of simulation
• Autoscaling can be used to come
from an manipulated view to the
original full view
• It scales the plotting area
automatically to the smallest and
largest values in x and y direction
(all curves are taken into account)
XY-Plotter inside ANSYS 23
© CADFEM 2018
Example oscilating plate: Process output of simulation
XY-Plotter inside ANSYS 24
• Go to Manipulation-Tab
• Select a curve
• Select the “Cut_x” option
• Define the range of the curve
• Press apply
• The original curve will not be manipulated
• There will be a new curve in the
secondary list which holds the
manipulated values
• The name for the new curve is just the
original name which is extended by the
selected operation
• Select the manipulated curve from the
secondary list and press “Add” to copy
it to the main list (you can only work on
these curves)
© CADFEM 2018
Example oscilating plate: Process output of simulation
XY-Plotter inside ANSYS 25
• Select the new created curve from
the main list
• Select the offset function
• Define the offset
• Press “Apply”
• Select the manipulated curve from
the secondary list and press “Add” to
copy it to the main list (you can only
work on these curves)
• Do the cutting and offset for the
other two curves as well
© CADFEM 2018
Example oscilating plate: Process output of simulation
XY-Plotter inside ANSYS 26
• Go to Fourier-Tab
• Select one of the curves (with cut
and offset done)
• Select “DFT” option
• Press “Apply”
• Do the DFT for the other two curves
as well
© CADFEM 2018
Example oscilating plate: Process output of simulation
XY-Plotter inside ANSYS 27
• Peak (0 Hz): mean value
• Peak (4 Hz): first bending mode
• Peak (38 Hz): second bending mode
4.05 Hz
(Modal analysis) 38.82 Hz
(Modal analysis)
© CADFEM 2018
Example oscilating plate: Process output of simulation
XY-Plotter inside ANSYS 28
• When coming from linear displacement and going over to smooth
displacement the higher modes will vanish
• If using the smooth velocity curve the higher modes are vanishing AND the
amplitude of mode one is reduced by a factor of 10
Titelmasterformat durch Klicken bearbeiten
© CADFEM 2018
Example oscilating plate:
Pictures and saving
XY-Plotter inside ANSYS 29
© CADFEM 2018
Example oscilating plate: Pictures and saving
XY-Plotter inside ANSYS 30
• Go to Attribute-Tab
• Select all original curves
• Check:
• Titel
• Labeling
• Legend
• Fill the text fields for titel and axis-labeling
• Change text style:
• Increase text size 18
• Make it bold
• Press apply
• Change line thickness 5
• Save plot as picture
© CADFEM 2018
Example oscilating plate: Pictures and saving
XY-Plotter inside ANSYS 31
• Make a detailed view in
the plotting area by:
• Use mouse options to
zoom and move the graph
directly in the plotting are
• Or use the min and max
values for the axis from the
menu (press apply)
• Save plot as picture
• Press “Autoscale” to get
to the original view
© CADFEM 2018
Example oscilating plate: Pictures and saving
XY-Plotter inside ANSYS 32
• Select the created DFT curves
• Change axis scaling to “lin-log”
• Save plot as picture
© CADFEM 2018
Example oscilating plate: Pictures and saving
XY-Plotter inside ANSYS 33
• Go to Curves-Tab
• Select all curves you want to save
• Press “Save Curves” (and select the location in the upcoming window)
• Curves will be stored in a text file in os-format (XY-Plotter format)
• Following informations of the curves will be stored:
• Name
• Color
• Thickness
• Values
Titelmasterformat durch Klicken bearbeiten
© CADFEM 2018
Documentation:
Workbench Integration
XY-Plotter inside ANSYS 34
© CADFEM 2018
Documentation - Workbench Integration
XY-Plotter inside ANSYS 35
• Activate the XY-Plotter Extension
• You can start XY-Plotter within
Workbench project page or as a
stand alone application
Titelmasterformat durch Klicken bearbeiten
© CADFEM 2018
Documentation:
Main Window
36 XY-Plotter inside ANSYS
© CADFEM 2018
Documentation - Main Window
• Windows Icons: Some basic window functions, like minimizing or maximizing the window.
• Plotting Area: This area is used to plot the different curves. User can use mouse buttons to zoom in etc.
• Menu Bar: Provides some useful functions, like changing the axis scaling or saving a picture. This bar is independent of the chosen tab from the Tab Menu.
• Tabs Menu: Within the different tabs special features are provided to plot or manipulate the curves.
37 XY-Plotter inside ANSYS
Titelmasterformat durch Klicken bearbeiten
© CADFEM 2018
Documentation:
Windows Icons
38 XY-Plotter inside ANSYS
© CADFEM 2018
Documentation - Windows Icons
• With these icons you can:
• Close the application
• Maximize the application
• Minimize the application
• Minimizing and maximizing the
application can also be accessed by
“double clicking” on the top frame of
the application
XY-Plotter inside ANSYS 39
Titelmasterformat durch Klicken bearbeiten
© CADFEM 2018
Documentation:
Plotting Area
40 XY-Plotter inside ANSYS
© CADFEM 2018
Documentation - Plotting Area
• In the Plotting Area up to 100 curves
can be plotted at once
• The axis will be automatically scaled
to the smallest and largest values
over all curves
XY-Plotter inside ANSYS 41
© CADFEM 2018
Documentation - Plotting Area
• The following mouse buttons can be
used to manipulate the view quickly:
• Zoom Box:
Press left mouse button and span a
window you want to zoom in.
• Pan View:
Press middle mouse button to drag
the view left/right or up/down.
• Zoom in/out:
Press right mouse button and move
the mouse up or down to zoom in or
zoom out
XY-Plotter inside ANSYS 42
© CADFEM 2018
Documentation - Plotting Area
• There is a second plotting area in
the Fourier Tab
• In this area the Fourier transformed
curves are shown in a bar chart
• This bar chart has the same mouse
features as the main plotting area
XY-Plotter inside ANSYS 43
Titelmasterformat durch Klicken bearbeiten
© CADFEM 2018
Documentation:
Menu Bar
44 XY-Plotter inside ANSYS
© CADFEM 2018
Documentation - Menu Bar
• The Menu Bar provides features
independent of the chosen tab from
Tab Menu:
• Autoscale
• Save Picture
• Axis Scaling
• Curve Colouring
• Help
XY-Plotter inside ANSYS 45
© CADFEM 2018
Documentation - Menu Bar
• Autoscaling can be used to come
from an manipulated view to the
original full view
• It scales the plotting area
automatically to the smallest and
largest values in x and y direction
(all curves are taken into account)
XY-Plotter inside ANSYS 46
© CADFEM 2018
Documentation - Menu Bar
• Save Picture provides the
functionality to save the current
plotting area as picture
• After pressing the button, a
Windows menu pops up which
prompts for the path where the
picture should be saved
• Pictures will be saved in .png
format
XY-Plotter inside ANSYS 47
© CADFEM 2018
Documentation - Menu Bar
• For some curves a linear scaling of
the x- and y-axis provides pictures
which can hardly be interpreted
• Therefore the tool provides the
capability to use the following axis
scaling:
• linear - linear
• linear - logarithmic
• logarithmic - linear
• logarithmic - logarithmic
XY-Plotter inside ANSYS 48
© CADFEM 2018
Documentation - Menu Bar
• The XY-Plotter provides some
functions which define how selected
curves are colored:
• Automatic Selection
• User
• Automatic Single
• Automatic Random
• These function should provide an
easy way of curve coloring
XY-Plotter inside ANSYS 49
© CADFEM 2018
Documentation - Menu Bar
• The Automatic Selection colors the selected curves always in the following way:
• 1. Curve black
• 2. Curve blue
• 3. Curve red
• nth Curve random color
• Colors are always defined if a new set of curves is selected (curve colors can change due to selection)
• The color doesn’t depend on the number of the curve in the list, it depends on the number in the selected set of curves
XY-Plotter inside ANSYS 50
© CADFEM 2018
Documentation - Menu Bar
• In the Attribute Tab the user can
change the curve color manually
• If the Curve Coloring option:
“Automatic Selection” is selected,
the curve color will change with the
next selection
• If the Curve Coloring option: “User”
is active, the coloring is fixed for all
curves (curve colors cannot change
due to selection)
XY-Plotter inside ANSYS 51
© CADFEM 2018
Documentation - Menu Bar
• If the Curve Coloring option:
“Automatic Single” is selected, the
curve color of all curves in the list is
set to black and fixed afterwards
(curve colors cannot change due to
selection)
XY-Plotter inside ANSYS 52
© CADFEM 2018
Documentation - Menu Bar
• If the Curve Coloring option:
“Automatic Random” is selected,
the curve color of all curves is set
like “Automatic Selection” method
but fixed afterwards (curve colors
cannot change due to selection)
XY-Plotter inside ANSYS 53
© CADFEM 2018
Documentation - Menu Bar
• Pressing the Help button will open
an .pdf file which contains a detailed
description of the Tool and all
functionallities
XY-Plotter inside ANSYS 54
Titelmasterformat durch Klicken bearbeiten
© CADFEM 2018
Documentation:
Tabs Menu - General
55 XY-Plotter inside ANSYS
© CADFEM 2018
Documentation - Tabs Menu - General
• Within the different tabs special features are provided to plot or manipulate the curves:
• Curves:
• Importing and exporting curves
• Manipulate values within curves
• Attribute:
• Define the style of the plotting area (title, axis labeling, …)
• Define the style for the curves (color, width, …)
• Manipulation:
• Different operations are provided for manipulating curves (integrate, differentiate, scale, …)
• Fourier:
• Provides the capability to transform curves with the Fourier analysis
• Loads:
• Evaluate smooth load functions for simulation
XY-Plotter inside ANSYS 56
Titelmasterformat durch Klicken bearbeiten
© CADFEM 2018
Documentation:
Tabs Menu - Curves
57 XY-Plotter inside ANSYS
© CADFEM 2018
Documentation - Tabs Menu - Curves
• If “Curve+” is pressed new curve, with default name, is created
• To rename the curves just double click them in the list
• You can also use: • TAB to switch between different curves
• F2 to rename curves
• To change values from the curve simply enter a number in the fields (or use the spin box to raise or lower the number)
• Numbers have float format and uses the dot as decimal separator
XY-Plotter inside ANSYS 58
© CADFEM 2018
Documentation - Tabs Menu - Curves
• Data can be defined manually or automatically
• The automatic approach fills the rows from clipboard (doesn’t matter where it came from)
• You can fill the clipboard however you want: • From Workbench
• Excel
• Textfiles
• ...
• Just click in the header of the table of values and the values will be inserted
• How the values will be inserted depends on how many rows are stored in clipboard: • 1 row values will be inserted in this row
which is clicked in the header
• 2 rows values will be inserted in the first and second row independent of which row is clicked in the header
XY-Plotter inside ANSYS 59
© CADFEM 2018
Documentation - Tabs Menu - Curves
• “Curve+” and “Curve-“ can be used
to add new curves or delete existing
ones
• “Row+” and “Row-“ can be used to
add new rows or delete existing
ones from curve tables
• Only the last curve or row can be
deleted
• The order of curves cannot be
changed
XY-Plotter inside ANSYS 60
© CADFEM 2018
Documentation - Tabs Menu - Curves
• (1) If “Copy To Clipboard” is pressed,
the values, of the first curve in the
selected set, are copied to clipboard
• (2) From clipboard the values can be
inserted anywhere with Windows
paste function
• For example you can
insert the values in a
Workbench table of a
e.g. Joint Load
XY-Plotter inside ANSYS 61
(1)
(2)
© CADFEM 2018
Documentation - Tabs Menu - Curves
• With “Load Curves” once exported
curves can be reimported (only
special .os format is allowed)
• With “Save Curves” all selected
curves will be stored in a special
formatted file
• Within this file in addition to the
curve values further information are
stored:
• Curve name
• Curve color
• Curve width
XY-Plotter inside ANSYS 62
© CADFEM 2018
Documentation - Tabs Menu - Curves
• At this time 3 special ANSYS file
formats are supported, too:
• .mcf file from RBD analysis
• .mcf file from Transient (MSUP) analysis
• .mcf file from Harmonic (MSUP) analysis
XY-Plotter inside ANSYS 63
Titelmasterformat durch Klicken bearbeiten
© CADFEM 2018
Documentation:
Tabs Menu - Attribute
64 XY-Plotter inside ANSYS
© CADFEM 2018
Documentation - Tabs Menu - Attribute
• The “Attribute Tab” is divided into 4
areas:
• 1: Curve list
• 2: Style settings of the plotting area
• 3: Defining axis offsets
• 4: Style settings for the curves
XY-Plotter inside ANSYS 65
1
2 3 4
© CADFEM 2018
Documentation - Tabs Menu - Attribute
• The curve list is the same as on the
“Curves Tab”
• You can select curves to plot
• Remember the “Curve Coloring”
option which defines how the curves
will be colored
• Also you can rename the curves by
just double click them in the list
• You can also use:
• TAB to switch between different curves
• F2 to rename curves
XY-Plotter inside ANSYS 66
© CADFEM 2018
Documentation - Tabs Menu - Attribute
• In this section all Checkboxes, Drop-
Down-Menus and SpinBoxes work
independent of the “Apply” button
• The “Apply” button is only needed if
you want to assign the new text for
the title or axis
• Markers will only be activated for the
selected curves from the curve list
• Pressing “Reset” button will set all
entries of THIS SECTION to their
default value
XY-Plotter inside ANSYS 67
© CADFEM 2018
Documentation - Tabs Menu - Attribute
• As seen in previous sections you can use the mouse buttons to zoom in or zoom out in the plotting are
• Here you can set a fixed view
• To change values from the curve simply enter a number in the fields (or use the spin box to raise or lower the number)
• Numbers have float format and uses the dot as decimal separator
• Also you can use TAB to switch between the different fields
• The “Apply” button will assign the changes to the plotting area
• The “Reset” button will set all entries of THIS SECTION to their default value and rescales the plotting area
XY-Plotter inside ANSYS 68
© CADFEM 2018
Documentation - Tabs Menu - Attribute
• In this curve style section one can define special colors, line styles or line width for the curves
• The changes will be applied to all selected curves from the curve list
• Be aware of the “Curve Coloring” option. If you want to change the color permanently you have to use the “User” option. Otherwise colors can be changed with next selection (depends on the option which is chosen).
• By pressing the “Reset” button all curves are selected and their style is reset to default
XY-Plotter inside ANSYS 69
Titelmasterformat durch Klicken bearbeiten
© CADFEM 2018
Documentation:
Tabs Menu - Manipulation
70 XY-Plotter inside ANSYS
© CADFEM 2018
Documentation - Tabs Menu - Manipulation
• The “Manipulation Tab” provides
some features to do some curve
operations
• Here you will find a main curve list
(same as in all other tabs) as well as
a secondary curve list
• The definition section will change
dependently on which operation is
selected
XY-Plotter inside ANSYS 71
1
2 3 4
© CADFEM 2018
Documentation - Tabs Menu - Manipulation
• The main curve list is the same as
on the “Curves Tab”
• You can select curves to plot
• Remember the “Curve Coloring”
option which defines how the curves
will be colored
• Also you can rename the curves by
just double click them in the list
• You can also use:
• TAB to switch between different curves
• F2 to rename curves
XY-Plotter inside ANSYS 72
© CADFEM 2018
Documentation - Tabs Menu - Manipulation
• It’s quite simple to operate on curves
• Select a curve
• Select the operation
• (for some operations you have to put in additional information e.g. offset value)
• Press “Apply” button
• The original curve will not be manipulated
• There will be a new curve in the secondary list which holds the manipulated values
• The name for the new curve is just the original name which is extended by the selected operation
XY-Plotter inside ANSYS 73
© CADFEM 2018
Documentation - Tabs Menu - Manipulation
• The secondary list is also treated
like main lists
• You can select curves to plot
• Remember the “Curve Coloring”
option which defines how the curves
will be colored
• Also you can rename the curves by
just double click them in the list
• You can also use:
• TAB to switch between different curves
• F2 to rename curves
XY-Plotter inside ANSYS 74
© CADFEM 2018
Documentation - Tabs Menu - Manipulation
• But curves on the secondary list are only local
• They are not visible in other tabs and cannot be used for curve operations
• With the “Add” button you can copy one selected curve from the secondary list into the main curve list (than it is a “global” curve and can be used as normal)
• With the “Delete” button you can delete curves from the secondary curve list
XY-Plotter inside ANSYS 75
© CADFEM 2018
Documentation - Tabs Menu - Manipulation
• The field “Curve 1” is always filled with the first selected curve from the main curve list
• For operations like Offset_x or Offset_y the field “Value 1” is activated and has to be filled
• For other operations like Offset_xy or Scale_xy the fields “Value1” and “Value 2” are used
• For operations like “Add” or “Substract” the “Curve 2” field has to be filled (just check field 1 or to and select a curve from the main curve list)
XY-Plotter inside ANSYS 76
© CADFEM 2018
Documentation - Tabs Menu - Manipulation
• Curves which should be added or
substracted have to have:
• Same x-spacing
• Same number of x-values
• Otherwise an error message will
appear
XY-Plotter inside ANSYS 77
© CADFEM 2018
Documentation - Tabs Menu - Manipulation
• Be aware of how EXCEL stores,
shows and copies values
• If you define in Excel less digits to
show for numbers Excel still “knows”
the correct numbers
• But the shown values will be copied
to clipboard not the correct values!
• This can lead to some errors in the
XY-Plotter!
XY-Plotter inside ANSYS 78
=
© CADFEM 2018
Documentation - Tabs Menu - Manipulation
• For integration and differentiating at
this time very simple approaches are
implemented
• Integration: trapezoidal rule
• Because the new value of the area
is at xi+1 the integrated curve starts
at x1 and not at x0
XY-Plotter inside ANSYS 79
1
0
1
2)(
0
n
i
ii
x
x
xxdxxy
n
© CADFEM 2018
Documentation - Tabs Menu - Manipulation
• For integration and differentiating at
this time very simple approaches are
implemented
• Differentiation: mean value
• Because the new value of the area
is at xi+1 the integrated curve starts
at 0.5*x1 and not at x0
XY-Plotter inside ANSYS 80
ii
iii
xx
xyxy
dx
xxyd
1
1 )()()'(
Titelmasterformat durch Klicken bearbeiten
© CADFEM 2018
Documentation:
Tabs Menu - Fourier
81 XY-Plotter inside ANSYS
© CADFEM 2018
Documentation - Tabs Menu - Fourier
• In the “Fourier Tab” the user can perform a Fourier transformation of curves
• Like in the previous Tab there is a (1) main curve list, which holds all “global” curves, and a secondary list (2) which holds the local curves
• At this time the user can choose between different transformation algorithm as well as using different Window-Functions
• For the local plotting area different plotting options can be chosen
XY-Plotter inside ANSYS 82
1
2
© CADFEM 2018
Documentation - Tabs Menu - Fourier
• The main curve list is the same as
on the “Curves Tab”
• You can select curves to plot
• Remember the “Curve Coloring”
option which defines how the curves
will be colored
• Also you can rename the curves by
just double click them in the list
• You can also use:
• TAB to switch between different curves
• F2 to rename curves
XY-Plotter inside ANSYS 83
© CADFEM 2018
Documentation - Tabs Menu - Fourier
• If a curve is selected from the main curve list the possible transformation methods are activated
• In addition an Window-Function can be chosen (optional)
• If the “Apply” button is pressed the transform is done
• The original curve will not be manipulated
• There will be a new curve in the secondary list which holds the manipulated values
• The name for the new curve is just the original name which is extended by the selected method
XY-Plotter inside ANSYS 84
© CADFEM 2018
Documentation - Tabs Menu - Fourier
• The secondary list is also treated
like main lists
• You can select curves to plot
• Remember the “Curve Coloring”
option which defines how the curves
will be colored
• Also you can rename the curves by
just double click them in the list
• You can also use:
• TAB to switch between different curves
• F2 to rename curves
XY-Plotter inside ANSYS 85
© CADFEM 2018
Documentation - Tabs Menu - Fourier
• But curves on the secondary list are only local
• They are not visible in other tabs and cannot be used for curve operations
• With the “Add” button you can copy one selected curve from the secondary list into the main curve list (than it is a “global” curve and can be used as normal)
• With the “Delete” button you can delete curves from the secondary curve list
XY-Plotter inside ANSYS 86
© CADFEM 2018
Documentation - Tabs Menu - Fourier
• For the local plotting area the user
can choose if one or more curves
should be plotted
• Single Curve:
• Plots the first curve from selection
• X-Axis has the meaning of frequency
• Multiple Curves:
• Plots all curves from selection
• X-Axis has the meaning of harmonic
index
XY-Plotter inside ANSYS 87
© CADFEM 2018
Documentation - Tabs Menu - Fourier
• At this time 3 methods for Fourier transformation are implemented:
• FFT
• Fast-Fourier-Transform for real samples
• Can be used for 2n samples
• Uses the QRealFourier Library
• FFT*
• Fast-Fourier-Transform for real samples
• Can be used for arbitrary samples sizes, but cuts the samples at the next lower 2n sample size
• Uses the QRealFourier Library
• DFT
• Discrete-Fourier-Transform
• Can be used for arbitrary samples sizes
• Own implementation
XY-Plotter inside ANSYS 88
Titelmasterformat durch Klicken bearbeiten
© CADFEM 2018
Documentation:
Tabs Menu - Loads
89 XY-Plotter inside ANSYS
© CADFEM 2018
Documentation - Tabs Menu - Loads
• This tab provides a possibility to quickly create load curves:
• “Displacement” curves
• “Velocity” curves
• By the way, the “smooth” curves created for displacement can be used as forces or anything else
• As the “Velocity” curves are based on an derivative it can only be used as velocity input
• After curve creation values will be copied to clipboard, so you can use them wherever you want to by simply copying them (CTRL+V)
XY-Plotter inside ANSYS 90
1
2
These “smooth” load curves are needed for dynamic
analysis (e.g. explicit, RBD or implicit). They can be used to
define a very smooth ramp up without introducing oscillation
in your system.
© CADFEM 2018
Documentation - Tabs Menu - Loads
• The main curve list is the same as
on the “Curves Tab”
• You can select curves to plot
• Remember the “Curve Coloring”
option which defines how the curves
will be colored
• Also you can rename the curves by
just double click them in the list
• You can also use:
• TAB to switch between different curves
• F2 to rename curves
XY-Plotter inside ANSYS 91
© CADFEM 2018
Documentation - Tabs Menu - Loads
• You have to chose which kind of curve you want to have and which parameter should be fitted: • Values: number of curve values
• x-Max: defines the end value of x (e.g. end time)
• y-Max: defines the maximum value of y at end or in the middle (e.g. rotation, displacement or force)
• Displacement (Half): • Creates a arbitrary load curve (displ., force, …)
• Maximum is reached at the end
• Displacement (Full): • Creates a arbitrary load curve (displ., force, …)
• Maximum is reached in the middle
• Velocity (Half): • Creates a velocity curve which leads to a
displacement looking like “Displacement (Half)”
• Velocity(Full): • Creates a velocity curve which leads to a
displacement looking like “Displacement (Full)”
XY-Plotter inside ANSYS 92
© CADFEM 2018
Documentation - Tabs Menu - Loads
• “Displacement” curves:
• “Velocity” curves:
XY-Plotter inside ANSYS 93
2:
1:
2cos
2)( max
max
max
zfullif
zhalfifyz
x
xyxf
max
max
maxmax
max
maxmax
max
2
0
2
4
:
1
2:
cos)(
xxq
xxq
xxq
z
fullif
q
zhalfif
x
yqz
x
x
x
yqxf
© CADFEM 2018
Documentation - Tabs Menu - Loads
• Here curves from the main curve list will not have any influence on the results
• There will be a new curve in the secondary list which holds the manipulated values
• The name for the new curve is just the original name which is extended by the selected method
• The secondary list is also treated like main lists
• You can select curves to plot
• Remember the “Curve Coloring” option which defines how the curves will be colored
• Also you can rename the curves by just double click them in the list
• You can also use:
• TAB to switch between different curves
• F2 to rename curves
XY-Plotter inside ANSYS 94
© CADFEM 2018
Documentation - Tabs Menu - Loads
• But curves on the secondary list are only local
• They are not visible in other tabs and cannot be used for curve operations
• With the “Add” button you can copy one selected curve from the secondary list into the main curve list (than it is a “global” curve and can be used as normal)
• With the “Delete” button you can delete curves from the secondary curve list
XY-Plotter inside ANSYS 95
© CADFEM 2018
Legal Notice – Third Party Software
XY-Plotter inside ANSYS 96
• XY-Plotter for ANSYS contains the following licensed software which
requires reproduction of the following notices:
• QT: https://www.qt.io/download-qt-for-application-development
• Qwt: https://sourceforge.net/projects/qwt
• QRealFourier: https://sourceforge.net/projects/qrealfourier