ANSYS Distributed Compute Services · •DCS (Distribute Compute Services) is a new family of...
Transcript of ANSYS Distributed Compute Services · •DCS (Distribute Compute Services) is a new family of...
ANSYS Distributed Compute Services
© CADFEM 2020
1. Introduction & highlights
2. Flow
3. Homework
4. Operation
1. Starting processes
2. Set up the Evaluators
3. Connect the Workbench Project to the DCS
4. Watch the DPS at work
5. Spaceclaim and Linux
6. Debugging of solution
Content
ANSYS Distribute Compute Services 3
© CADFEM 2020
After we manage to build up the a FE-model with parameters we have solve a lot of design
points.
How can we solve it in a short time and use all type of resource?
We have computers with different
• OS (Window/Linux)
• Hardware (Number of CPUs/RAM)
• Software (CAD)
• Type (Workstations/Cluster/AWS)
We do not have administration right’s!
How can we get an overview about the status of the design points (pending/running/failed)?
How to keep the size of data small?
How to keep data traffic small?
Why we need Distributed Compute Services ?
ANSYS Distribute Compute Services 4
© CADFEM 2020
Old School solution:
We are the Job distributor!
Why we need Distributed Compute Services ?
ANSYS Distribute Compute Services 5
© CADFEM 2020
We are Job distributor!
Why we need Distributed Compute Services ?
ANSYS Distribute Compute Services 6
Yeah!!
I using Remote Desktop solution.
I don’t have to run any more !
Linux
No CAD
No SCDM
20 CPU
265 GB RAM
Linux
No CAD
No SCDM
20 CPU
265 GB RAM
Windows
CAD
SCDM
6 CPU
265 GB RAM
but not Version XX
Windows
No CAD
SCDM
4 CPU
16 GB RAM
Windows
CAD
SCDM
16 CPU
196 GB RAM
Windows
CAD
SCDM
6 CPU
265 GB RAM
© CADFEM 2020
Using RSM:
Why we need Distributed Compute Services ?
ANSYS Distribute Compute Services 7
A lot of Data Traffic!
Some times we get big Datafiles back,
but we only need the output parameters!
Cluster
You never walk alone! You never walk alone!
You never walk alone!
© CADFEM 2020
Why we need Distributed Compute Services ?
ANSYS Distribute Compute Services 8
We need a faster Network!
We need more diskspace!
For the two next week we need
more computers!
Why my Design Point 86 is not running ?
The next meeting is this week and
not next Week!
We have to speed up the
Simulations!
I don’t have administration rights!
We have to make a Update on the computers and
restart it!
© CADFEM 2020
Highlights
• Data integrity
• Robust (no single point of failure)
• large number of Design Points (up to 10000,
also less)
• Distributed
• Supports a wide range of infrastructures
• desktop machines
• multiple desktop machines
• Cluster with queueing system
• Private/public cloud
• Windows/Linux mixture with heterogenous
software installation
• pause update (release license for a while)
• extendable
• Connects to Design Point creating tools like (DX,
optislang, …)
• Python-Customizing (ANSYS 2020 R1)
• small network requirements (only output
parameters, no rst file transferred)
• Configuration• Web-based (Firefox/Chrome)
• no administrative privileges required
ANSYS Distribute Compute Services 9
For the two next week we need
more computers!
OK. We can rent AWS or OTC machines.
The next meeting is this week and not next Week!
We have to speed up the Simulations!
OK. We can rent AWS or OTC machines.
© CADFEM 2020
What is DCS/DPS/DCE?
• DCS (Distribute Compute Services) is a
new family of services for evaluation and
management of simulations.
• DPS (Design Point Service) is a subsystem to
handle and solve hundreds to thousands of
Design Points.
• DCE (Distribute Compute Evaluator) is the
executing component.
ANSYS Distribute Compute Services 10
© CADFEM 2020 ANSYS Distribute Compute Services 11
Hr. Nicolas Kieffer – Schaeffler Automotive Buehl GmbH & Co. KG, Buehl
© CADFEM 2020
Flow
ANSYS Distribute Compute Services 12
Evaluator on local workstation
Evaluators on remote workstations
Evaluator connecting to a
Windows/Linux Cluster
Picks an evaluator that suits
concerning:
• cores
• tasks
• Capability (e.g. Spaceclaim, CAD)
Evaluator in Cloud
Transfers
project and
input
parameters
Transfers
project and
input
parameters
Transfers
output
parametersTransfers
output
parameters
I’m here and
I can
Import input
parameters
Export output
parameters
can be all on one machine
Yes!!
This will reduce the utilization
of our Network!
Great!
This will reduce the size
of datafiles !
© CADFEM 2020
Homework
• Collect some information
• Which and how many licenses are
available?
• Which machines are available?
• How many cores per machine?
• What is the size of the model?
• Average solution time?
• Operating systems?
• Is solving quite robust?
ANSYS Distribute Compute Services 13
ANSYS Distributed Compute Services
Starting processes
© CADFEM 2020
1. Start the DPS
2. Start the DPE
Starting processes
12
"C:\Program Files\ANSYS Inc\v201\dcs\dclauncher.exe" stop all
"C:\Program Files\ANSYS Inc\v201\dcs\dclauncher.exe" start server -W
"C:\Program Files\ANSYS Inc\v201\dcs\dclauncher.exe" start evaluator
ANSYS Distributed Compute Services
Setup
© CADFEM 2020
Setup
ANSYS Distribute Compute Services 17
• After the services are running you can
setup the Design Point Services by a web
browser (Chrome/Firefox)
• https://127.0.0.1:444/dcs/
© CADFEM 2020
Setup
ANSYS Distribute Compute Services 18
Evaluator at local workstation
Url of the DCS Server.
Password: dcadmin
© CADFEM 2020
Setup
ANSYS Distribute Compute Services 19
Evaluator at remote workstationJust start the DCE on a other Computer and connect it to the DCS
Url of the DCS Server.
Password: dcadmin
If the evaluator is connected to the DCS I can
define the Evaluator from my local Computer.
Cool! I don’t need to be Admin.
© CADFEM 2020
• Manage the Evaluators from your Computer (number of CPUs, number of Tasks,…)
• Which Evaluator should be used for a Project or witch should not be used at all.
• You can do it at any time !!
Setup
ANSYS Distribute Compute Services 20
Available Evaluators for the DPS
Ok. Now we can deactivate the Evaluator and
make the update and restart the computer !
ANSYS Distributed Compute Services
Connect the Workbench Project to
the DCS
© CADFEM 2020
Connect the Workbench Project to the DCS
Parameter Set
• Change to Submit to DPS
• Enter the URL of the DCS
• Enter a Name of the Project.
• Set the execution Time Limit
• Set up how many CPUs should be use by
one Job.
DOE
• Define how many Design Points should be
send to the DCS
ANSYS Distribute Compute Services 22
© CADFEM 2020
Connect the Workbench Project to the DCS
ANSYS Distribute Compute Services 23
• After press the update project Icon the
project will be visible in the DPS
ANSYS Distributed Compute Services
Watch the DPS at work
© CADFEM 2020
Watch the DPS at workTake a look to the Overview
© CADFEM 2020
Watch the DPS at work
© CADFEM 2020
Watch the DPS at work
ANSYS Distribute Compute Services 27
Change the Status of a DP
• In this case the maximum execution Time was to
short -> timeout
• Change the maximum execution Time and save
the settings
• Select the DPs with the status timeout and
change the Status to pending
© CADFEM 2020
Watch the DPS at work
ANSYS Distribute Compute Services 28
Compare DPs
© CADFEM 2020
Watch the DPS at work
ANSYS Distribute Compute Services 29
Start / Stop Project
• You can pause the Project and start it
again at any time
ANSYS Distributed Compute Services
Spaceclaim and Linux
© CADFEM 2020
Design Points with Spaceclaim and Linux
ANSYS Distribute Compute Services 31
The Update of the DP will be split in two steps.
• Workbench Geometry
• Workbench Solution
© CADFEM 2020
Design Points with Spaceclaim and Linux
ANSYS Distribute Compute Services 32
Geometry updateSolving
ANSYS Distributed Compute Services
Debugging of solution
© CADFEM 2020
Debugging of solution
For each DP there are is a LOG file of the
Workbench Project available.
In the File you can get information why the
DP failed. (Geometry update / Meshing or
solving)
The Model component in Static Structural requires user input
before it can be updated.
For instructions on how to address the cell in its current state,
click the blue triangle in the lower right corner of the cell in the
Project Schematic.
Oh, that is the reason why the Design Point 86 is not running
© CADFEM 2020
Debugging of solution
For each DP there are is a LOG file of the
Workbench Project available.
In the File you can get information why the
DP failed. (Geometry update / Meshing or
solving)
Element 4029 located in Body "Solid" (and maybe other elements)
has become highly distorted….
The unconverged solution (identified as Substep 999999) is output
for analysis debug purposes. Results at this time should not be
used for any other purpose.
Oh, that is the reason why the Design Point 86 is not running ?
I just change the status of the DP and try it again.
© CADFEM 2020
D:\DCE_Workdir
Debugging of solution
ANSYS Distribute Compute Services 36
Now I want to see the results of the Failed Design Point!!
Change the Task Directory Cleanup and change the status of the DP.
© CADFEM 2020 ANSYS Distribute Compute Services 37
Now I can concentrate on my
regular job.
Being an engineer.
© CADFEM 2020
• CADFEM Support
• 08092 7005 55 (8:00 a.m. – 6 p.m)
• CADFEM Webinar
• Please contact Mr. Kellermeyer [email protected] and you get a one Week access to
the CADFEM eLearning platform
More Information
ANSYS Distribute Compute Services 38