ANSYS Distributed Compute Services · •DCS (Distribute Compute Services) is a new family of...

37
ANSYS Distributed Compute Services

Transcript of ANSYS Distributed Compute Services · •DCS (Distribute Compute Services) is a new family of...

Page 1: ANSYS Distributed Compute Services · •DCS (Distribute Compute Services) is a new family of services for evaluation and management of simulations. •DPS (Design Point Service)

ANSYS Distributed Compute Services

Page 2: ANSYS Distributed Compute Services · •DCS (Distribute Compute Services) is a new family of services for evaluation and management of simulations. •DPS (Design Point Service)

© 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

Page 3: ANSYS Distributed Compute Services · •DCS (Distribute Compute Services) is a new family of services for evaluation and management of simulations. •DPS (Design Point Service)

© 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

Page 4: ANSYS Distributed Compute Services · •DCS (Distribute Compute Services) is a new family of services for evaluation and management of simulations. •DPS (Design Point Service)

© CADFEM 2020

Old School solution:

We are the Job distributor!

Why we need Distributed Compute Services ?

ANSYS Distribute Compute Services 5

Page 5: ANSYS Distributed Compute Services · •DCS (Distribute Compute Services) is a new family of services for evaluation and management of simulations. •DPS (Design Point Service)

© 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

Page 6: ANSYS Distributed Compute Services · •DCS (Distribute Compute Services) is a new family of services for evaluation and management of simulations. •DPS (Design Point Service)

© 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!

Page 7: ANSYS Distributed Compute Services · •DCS (Distribute Compute Services) is a new family of services for evaluation and management of simulations. •DPS (Design Point Service)

© 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!

Page 8: ANSYS Distributed Compute Services · •DCS (Distribute Compute Services) is a new family of services for evaluation and management of simulations. •DPS (Design Point Service)

© 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.

Page 9: ANSYS Distributed Compute Services · •DCS (Distribute Compute Services) is a new family of services for evaluation and management of simulations. •DPS (Design Point Service)

© 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

Page 10: ANSYS Distributed Compute Services · •DCS (Distribute Compute Services) is a new family of services for evaluation and management of simulations. •DPS (Design Point Service)

© CADFEM 2020 ANSYS Distribute Compute Services 11

Hr. Nicolas Kieffer – Schaeffler Automotive Buehl GmbH & Co. KG, Buehl

Page 11: ANSYS Distributed Compute Services · •DCS (Distribute Compute Services) is a new family of services for evaluation and management of simulations. •DPS (Design Point Service)

© 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 !

Page 12: ANSYS Distributed Compute Services · •DCS (Distribute Compute Services) is a new family of services for evaluation and management of simulations. •DPS (Design Point Service)

© 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

Page 13: ANSYS Distributed Compute Services · •DCS (Distribute Compute Services) is a new family of services for evaluation and management of simulations. •DPS (Design Point Service)

ANSYS Distributed Compute Services

Starting processes

Page 14: ANSYS Distributed Compute Services · •DCS (Distribute Compute Services) is a new family of services for evaluation and management of simulations. •DPS (Design Point Service)

© 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

Page 15: ANSYS Distributed Compute Services · •DCS (Distribute Compute Services) is a new family of services for evaluation and management of simulations. •DPS (Design Point Service)

ANSYS Distributed Compute Services

Setup

Page 16: ANSYS Distributed Compute Services · •DCS (Distribute Compute Services) is a new family of services for evaluation and management of simulations. •DPS (Design Point Service)

© 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/

Page 17: ANSYS Distributed Compute Services · •DCS (Distribute Compute Services) is a new family of services for evaluation and management of simulations. •DPS (Design Point Service)

© CADFEM 2020

Setup

ANSYS Distribute Compute Services 18

Evaluator at local workstation

Url of the DCS Server.

Password: dcadmin

Page 18: ANSYS Distributed Compute Services · •DCS (Distribute Compute Services) is a new family of services for evaluation and management of simulations. •DPS (Design Point Service)

© 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.

Page 19: ANSYS Distributed Compute Services · •DCS (Distribute Compute Services) is a new family of services for evaluation and management of simulations. •DPS (Design Point Service)

© 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 !

Page 20: ANSYS Distributed Compute Services · •DCS (Distribute Compute Services) is a new family of services for evaluation and management of simulations. •DPS (Design Point Service)

ANSYS Distributed Compute Services

Connect the Workbench Project to

the DCS

Page 21: ANSYS Distributed Compute Services · •DCS (Distribute Compute Services) is a new family of services for evaluation and management of simulations. •DPS (Design Point Service)

© 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

Page 22: ANSYS Distributed Compute Services · •DCS (Distribute Compute Services) is a new family of services for evaluation and management of simulations. •DPS (Design Point Service)

© 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

Page 23: ANSYS Distributed Compute Services · •DCS (Distribute Compute Services) is a new family of services for evaluation and management of simulations. •DPS (Design Point Service)

ANSYS Distributed Compute Services

Watch the DPS at work

Page 24: ANSYS Distributed Compute Services · •DCS (Distribute Compute Services) is a new family of services for evaluation and management of simulations. •DPS (Design Point Service)

© CADFEM 2020

Watch the DPS at workTake a look to the Overview

Page 25: ANSYS Distributed Compute Services · •DCS (Distribute Compute Services) is a new family of services for evaluation and management of simulations. •DPS (Design Point Service)

© CADFEM 2020

Watch the DPS at work

Page 26: ANSYS Distributed Compute Services · •DCS (Distribute Compute Services) is a new family of services for evaluation and management of simulations. •DPS (Design Point Service)

© 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

Page 27: ANSYS Distributed Compute Services · •DCS (Distribute Compute Services) is a new family of services for evaluation and management of simulations. •DPS (Design Point Service)

© CADFEM 2020

Watch the DPS at work

ANSYS Distribute Compute Services 28

Compare DPs

Page 28: ANSYS Distributed Compute Services · •DCS (Distribute Compute Services) is a new family of services for evaluation and management of simulations. •DPS (Design Point Service)

© 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

Page 29: ANSYS Distributed Compute Services · •DCS (Distribute Compute Services) is a new family of services for evaluation and management of simulations. •DPS (Design Point Service)

ANSYS Distributed Compute Services

Spaceclaim and Linux

Page 30: ANSYS Distributed Compute Services · •DCS (Distribute Compute Services) is a new family of services for evaluation and management of simulations. •DPS (Design Point Service)

© 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

Page 31: ANSYS Distributed Compute Services · •DCS (Distribute Compute Services) is a new family of services for evaluation and management of simulations. •DPS (Design Point Service)

© CADFEM 2020

Design Points with Spaceclaim and Linux

ANSYS Distribute Compute Services 32

Geometry updateSolving

Page 32: ANSYS Distributed Compute Services · •DCS (Distribute Compute Services) is a new family of services for evaluation and management of simulations. •DPS (Design Point Service)

ANSYS Distributed Compute Services

Debugging of solution

Page 33: ANSYS Distributed Compute Services · •DCS (Distribute Compute Services) is a new family of services for evaluation and management of simulations. •DPS (Design Point Service)

© 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

Page 34: ANSYS Distributed Compute Services · •DCS (Distribute Compute Services) is a new family of services for evaluation and management of simulations. •DPS (Design Point Service)

© 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.

Page 35: ANSYS Distributed Compute Services · •DCS (Distribute Compute Services) is a new family of services for evaluation and management of simulations. •DPS (Design Point Service)

© 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.

Page 36: ANSYS Distributed Compute Services · •DCS (Distribute Compute Services) is a new family of services for evaluation and management of simulations. •DPS (Design Point Service)

© CADFEM 2020 ANSYS Distribute Compute Services 37

Now I can concentrate on my

regular job.

Being an engineer.

Page 37: ANSYS Distributed Compute Services · •DCS (Distribute Compute Services) is a new family of services for evaluation and management of simulations. •DPS (Design Point Service)

© CADFEM 2020

• CADFEM Support

[email protected]

• 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