Challenge

Studying the effect of Mass Scaling

Aim:

1) To learn about the mass scaling Technique to reduce the computational time for the analysis.

The limit for the mass scaling is restricted to 8% and simulation has to be completely stable.

3) Finally, we have to run the same model using an implicit solver with necessary changes and compare implicit and explicit runtime.

Theory:

1) Timestep Significance:

In the simplest case (small, deformation theory), the time step is controlled by the acoustic wave propagation through the material

In explicit integration, the numerical stress wave must always propagate less than one element width per time step. The time step of an explicit analysis is determined as the minimum stable time step in any one deformable finite element in the mesh. The above relationship is called the Courant-Friedrichs-Lewy (CFL) condition and determines the stable time step in an element.

The CFL condition requires that the explicit time step be smaller than the time needed by the physical wave to cross the element. 0.9 is the timestep scale factor (TSSFAC). Based on the conditions, the time step can be increased to provide faster solution times by artificially increasing the density of the material by using a technique like ( mass scaling, lowering the modulus, or by increasing the element size of the mesh)

2) Mass scaling:

Mass-scaling is a term that is used for the process of scaling the element’s mass in explicit simulations to adjust its timestep. The primary motivation is to change (usually increase) the global compute timestep which is limited by the Courant’s stability criteria Mass scaling is very useful and directly increases the timestep. The concept is simple, Larger Timestep = Lower Solution Time. The manual form of mass scaling is done independently of the automatic mass scaling invoked with DT2MS in *CONTROL_TIMESTEP.

*CONTROL_TIMESTEP: Conventional mass scaling (CMS) (negative value of DT2MS): The mass of small or stiff elements is increased to prevent a very small timestep. Thus, artificial inertia forces are added which influence all eigenfrequencies including rigid body modes. This means this additional mass must be used very carefully so that the resulting nonphysical inertia effects do not dominate the global solution.

Two different types of mass-scaling using the DT2MS parameter from *CONTROL_TIMESTEP

  • Negative DT2MS: Mass is added to only those elements whose timestep would otherwise be less than TSSF*(DT2MS). When mass scaling is appropriate.
  • Positive DT2MS: Mass is added or taken away from elements so that the timestep of every element is the same. there is no advantage to using this method over the negative DT2MS method and I find it harder to rationalize.

If stability is a problem with the default TSSFAC of 0.9, try 0.8 or 0.7. If you reduce TSSFAC, you can increase |DT2MS| proportionally so that their product, and hence timestep, is unchanged. TSSFAC doesn’t affect the mass scaling percentage.

Mass scaling is no free lunch. For dynamic systems, added mass can affect the response of the system. It is just something to monitor and make an engineering judgment about its effectiveness; time savings versus potential detrimental effects. Increasing the mass too much may cause severe penetration problems and increase the dynamic effect significantly. The results may not be acceptable. In this case, the mass scaling is restricted up to 8%.

Procedure:

Since DTMS and TSSFAC are the important parameters in the *CONTROL_TIMESTEP card that affects the timestep and the runtime of the simulation, so we will change these values in each iteration to obtain an optimized runtime with a stable solution and to make sure mass scaling doesn’t go beyond 8%.

1) Case-1:

1) In the first case we set the *CONTROL_TIMESTEP card parameters to default values as shown in the image given below.

DT2MS: 0

TSSFAC:0.9

2) We run the simulation and get the following output as shown in the image given below.

We get the estimated time: 31 hrs 38 mins and the added mass: 0.

2) Case-2:

1) In this case we set the *CONTROL_TIMESTEP card parameters to default values as in the model as shown in the image given below.

DT2MS: -3.5e-05

TSSFAC:0.9

2) We run the simulation and get the following output as shown in the image given below.

We get the estimated time: 33 hrs 42 mins and the added mass: 0.

3) Case-3:

1) In this case we set the *CONTROL_TIMESTEP card in which we change the value of DT2MS as shown in the image given below.

DT2MS: -3.0e-05

TSSFAC:0.9

2) We run the simulation and get the following output as shown in the image given below.

We get the estimated time: 33 hrs 22 mins and the added mass: 0.

4) Case-4:

1) In this case we set the *CONTROL_TIMESTEP card in which we change the value of DT2MS as shown in the image given below.

DT2MS: -2.0e-05

TSSFAC:0.9

2) We run the simulation and get the following output as shown in the image given below.

We get the estimated time: 33 hrs 22 mins and the added mass: 0.

5) Case-5:

1) In this case we set the *CONTROL_TIMESTEP card in which we change the value of DT2MS as shown in the image given below.

DT2MS: -1.0e-4

TSSFAC:0.9

2) We run the simulation and get the following output as shown in the image given below.

We get the estimated time: 16 hrs 29 mins and the added mass: 6.42.

6) Case-6:

1) In this case we set the *CONTROL_TIMESTEP card in which we change the value of DT2MS as shown in the image given below.

DT2MS: -1.5e-04

TSSFAC:0.9

2) We run the simulation and get the following output as shown in the image given below.

We get the estimated time: 11 hrs 13 mins and the added mass: 11.43.

7) Case-7:

1) In this case we set the *CONTROL_TIMESTEP card in which we change the value of DT2MS as shown in the image given below.

DT2MS: -1.02e-04

TSSFAC:0.9

2) We run the simulation and get the following output as shown in the image given below.

We get the estimated time: 16 hrs and the added mass: 7.47.

8) Case-8:

1) In this case we set the *CONTROL_TIMESTEP card in which we change the value of DT2MS as shown in the image given below.

DT2MS: -1.03e-04

TSSFAC:0.9

2) We run the simulation and get the following output as shown in the image given below.

We get the estimated time: 16 hrs 1 mins and the added mass: 8.06.

We see that as expected the estimated time (to complete) has reduced by decreasing the DTMS value and If we notice the mass percentage is 8% which have reached its limit value because more than 8% of the mass is not accepted, So further decreases of DT2MS will only increase and the mass percentage of the system. Therefore from the next case, we vary the TSSFAC (Time Scale Factor) to find whether it has any change in the mass percentage.

9) Case-9:

1) In this case we set the *CONTROL_TIMESTEP card in which we change the value of TSSFAC as shown in the image given below.

DT2MS: -1.03e-04

TSSFAC:0.8

2) We run the simulation and get the following output as shown in the image given below.

We get the estimated time: 17 hrs 39 mins and the added mass: 8.06.

10) Case-10:

1) In this case we set the *CONTROL_TIMESTEP card in which we change the value of TSSFAC as shown in the image given below.

DT2MS: -1.03e-04

TSSFAC:0.7

2) We run the simulation and get the following output as shown in the image given below.

We get the estimated time: 21 hrs 26 mins and the added mass: 8.06.

11) Case-11:

1) In this case we set the *CONTROL_TIMESTEP card in which we change the value of TSSFAC as shown in the image given below.

DT2MS: -1.03e-04

TSSFAC:0.6

2) We run the simulation and get the following output as shown in the image given below.

We get the estimated time: 24 hrs 31 mins and the added mass: 8.06.

12) Case-12:

1) In this case we set the *CONTROL_TIMESTEP card in which we change the value of TSSFAC as shown in the image given below.

DT2MS: -1.03e-04

TSSFAC:0.5

2) We run the simulation and get the following output as shown in the image given below.

We get the estimated time: 28 hrs 50 mins and the added mass: 8.06.

We see that the time scale factor doesn't change the amount or percentage of mass added as the mass percentage remains the same when there is a decrease in the Time Scale Factor.

13) Implicit Analysis:

Now we will run this same file using an implicit solver. Additional control cards are used to run this simulation in an implicit solver.

  • Control cards

1.*CONTROL_IMPLICIT_GENERAL

Activate implicit analysis and define associated control parameters. This keyword is required for all implicit analyses.

  • IMFLAG - Implicit/Explicit analysis type flag: 1- implicit analysis.
  • DT0 – Initial time step size for implicit analysis (Termination time/100): 6
  • IMFORM - Element formulation flag for seamless spring back: 2 retain original element formulation (default).

2.*CONTROL_IMPLICIT_SOLUTION

Use of these cards to specify whether a linear or nonlinear solution is desired.

  • NSOLVER – Solution method for implicit analysis: 12 For Non-linear problem.
  • ILIMIT-Iteration limit between automatic stiffness reformations: 11
  • MAXREF- Stiffness reformation limit per time step: 15
  • DCTOL- Displacement relative convergence tolerance: 001
  • DNORM- Displacement norm for convergence test: 2 (Increment as a function of total displacement).

3.*CONTROL_IMPLICIT_SOLVER

The linear equation solver performs the CPU-intensive stiffness matrix inversion.

We run the simulation and get the following output as shown in the image given below.

Results and Discussion:

1) The histogram plots were made for DT2MS vs Estimated Time and TSSFAC vs Estimated Time.

2) The DT2MS vs Estimated Time shows that when we add mass to the model using the DT2MS as the value of it increases the estimated simulation time decreases gradually.

3) The TSSFAC vs Estimated Time shows that when we don't vary the DT2MS value and change the TSSFAC values which don't add mass to the model as seen from the above cases the mass percentage remains the same because of which the estimated simulation time increases.

Comparison between explicit and implicit runtime:

In Implicit analysis, each time step has to converge, but we can set pretty long time steps and it is based on iterations. Explicit on the other hand doesn’t have to converge each time step, but for the solution to be accurate time steps must be super small. Though the running time for implicit analysis is shorter than the explicit analysis method because the timestep is defined larger in implicit compare to explicit analysis and we have used constant timestep formulation.

Conclusion:

1) We have learned about the mass scaling Technique to reduce the computational time for the analysis.

2) We have also bought mass scaling percentage to 8% by varying the DT2MS values and then we have also found that TSSFAC (Time Step Factor) doesn't depend on the adding mass to the model.

3) After, that we have run the analysis using implicit control cards which gives us the result that the implicit analysis is based on iterations and doesn't depend on mass scaling.

4) Finally, we also compared explicit and implicit analysis, also we have plotted the histogram for DT2MS vs Estimated Time and TSSFAC vs Estimated Time.

Your portfolio, next

Ship work like this
in your own course.

Talk to a career counsellor

Free 20-minute call. We'll map the right course to where you want to work.

By submitting you agree to our Terms and Privacy Policy.

Talk to a career counsellor

Free 20-minute call. We'll map the right course to where you want to work.

By submitting you agree to our Terms and Privacy Policy.