In this tutorial we will learn how to set up a simple 2D model of a wave propagating in steel containing a defect using the designer mode primitives. We will make use of a symmetric shape and analyse only half of the model.
Before we begin we must create a new project.
- Click New Project this opens the New Project window
- Choose model name
- Change working units to mm
- Change Model Type to 2D Model
- Click ... to choose a directory to save the project
- Click OK to create the project.
First we will add the materials needed from the material database. We will use Steel in this tutorial.
- Click Project Materials to open the Material Database
- Expand the Metal tab
- Double click 'Mild Steel, generic - steel' to add this to Project Materials
- Click Done to close the Material Database
We will make use of the geometric primitives available in Designer. We will use the Rectangle primitive twice.
- Click to add a Rectangle to the workspace
- Change material to steel
- Set X (mm) = 41 and Y (mm) = 22.5
Note: After making changes to X and Y right click the workspace and select Reset View
- Right click primitive_1 and select Duplicate Selection
- Click primitive_2
- Change material from steel to void
- Set X (mm) = 20
- Set X (mm) = 21 and Y (mm) = 5
We will now add a Ricker Wavelet drive function for later use as out loads require a time function be set.
- Click '+' to open the Define Input Drive Function window
- Change to Ricker Wavelet
- Click Insert to close the window. A record called timefunc_1 will be added to the window
We will now change the mesh settings to use 15 elements per wavelength
- Expand Model
- Expand Mesh
- Select Confguration
- Set Definitions to Advanced
- Expand Mesh Velocity
- Set Mesh Velocity Value to 5900
Create a New Load
- Click '+' to open the Load Definition window
- Change Creation Mode to geometry Interface
- Change Geometry to primitive_1 (steel) and change Interfacing Item to side 1(xmin)
- Click Create Load
Upon clicking Create Load a record load_1 will be added to the Model Tree after this you can close the Load Definition window
Edit Load Properties
- Click load_1
- Apply the drive function timefunc_1 to the load
We will need to change the Y minimum boundary condition to Symmetry as this model is symmetrical along that axis.
- Click Domain Boundaries
- Change the Y Minimum boundary condition to Symmetry. Leave all others as default.
We will now set the model simulation time to be 5e-5 seconds
- Click Analysis
- Change Simulation Run Time (s) to 5e-05
We will now define 2 outputs, a time history of the acoustic pressure on the front of the defect will be recorded and the maximum pressure array will be outputted
- Click '+' this will create a new output
- Change Output Type to Time History
- Set X = 20
- Click '+' this will create a new output
- Change Output Type to Field Data
- Change Field Type to Maximum
Run Model on Cloud
At this point the model is completely set up and it can now be run on the cloud.
- Click Run on Cloud
- The option to rename your job. This is how it will appear in the storage
- Click Estimate
- Click Run
Downloading Simulation Results
The simulation results will need to be downloaded from the cloud storage in order to analyse the results in the post processor. More experience users may also be able to process Time Histories in Review.
- Click Storage this opens the window shown above
- Locate the job
- Click Download
- Click Download all
Choose an appropriate save location when the file explorer pops up and click Select Folder to close the window.
Switch to the Post Processor
- Click this icon to access the Post Processor
- Click File Explorer
- Expand the job simulation folder. Open the flxdato file and the flxhst file (double click them)
- Click Results Manager
Plot Time History
- Double click aprs to plot acoustic pressure
- Set plot title to Acoustic Pressure recorded at Front of Defect (optional title)
- Acoustic Pressure
- Change Maximum value to 4e-5
Plot Data Array (Maximum Pressure)
- Click Reset Viewport and choose Reset All Viewports
- Double click apmx to plot the maximum pressure data array
- Click Model Graphics
- Apply Symmetry about the Y axis
- Click Surface Plot
- Click the workspace and move to rotate the model