Skip to content

Simulations overview

Projects in Quanscient Allsolve can have multiple simulations. Simulations are created and modified in the Simulations section:

Simulations section
The Simulations section in the project top navigation

A new, blank simulation is created by selecting + next to Simulations:

Creating a new simulation
Creating a new simulation with the + button

You can also create a simulation by copying an existing one:

Copying an existing simulation
Copying an existing simulation from the context menu

When copying a simulation, all settings are also copied from the original, which is convenient when creating multiple simulations with similar options.

Quanscient Allsolve offers five analysis types:

  • Static
    • Time-independent systems
  • Harmonic
    • Sinusoidal input
    • For linear problems
  • Multiharmonic
    • Input is a combination of multiple sinusoidal frequencies
    • For nonlinear problems
  • Transient
    • Time-dependent systems
    • Time-stepping
  • Eigenmode
    • Determine the natural frequencies and associated mode shapes of a system

Choosing the right analysis type depends on the nature of the problem at hand. Most analysis types and physics are compatible, but there are exceptions.

The compatibility of analysis types and physics is shown below:

StaticHarmonicMultiharmonicTransientEigenmode
Solid Mechanics
Current flow
Acoustic wavesNA
Electrostatics
Electromagnetic wavesNA*
Magnetism A
Magnetism φ
Magnetism H
Laminar flow
Heat solid
Heat fluid
Elastic wavesNA
Mesh deformation

* Compatible, except for ports and S-parameters

NA = Not Applicable

To pick an analysis type, select it in the drop-down list in the simulation settings

Analysis types drop-down list

Static analysis studies systems where the field variables do not change over time. The partial time derivative term ()/t\partial(\cdot)/\partial t in the partial differential equation is assumed zero. You can think of it like a snapshot of a system after all the initial fluctuations have settled.

Static analysis is ideal for problems where the system is stable and the goal is to determine a final equilibrium state.

Harmonic analysis studies systems that respond to a sinusoidal input (e.g., a force or vibration) with a sinusoidal output.

Harmonic analysis is suitable for analyzing systems that experience simple periodic vibrations or oscillations. It helps determine the system’s response at different frequencies. Hence, harmonic simulations are often used with frequency sweeps.

Multiharmonic analysis is an extension of harmonic analysis, and it considers systems where the input is not a single sinusoid but a combination of multiple frequencies.

Multiharmonic analysis suits systems that are excited by multiple frequencies simultaneously.

Transient analysis examines how a system evolves over time in response to changing conditions. It calculates the system’s response at various time steps.

Transient analysis is essential for problems where the system’s behavior changes dynamically with time.

Eigenmode analysis is used to determine the natural frequencies (eigenfrequencies) and associated mode shapes (eigenmodes) of a system. These are the frequencies and modes at which the system tends to vibrate or oscillate naturally when subjected to an initial disturbance with no other external driving force.

Eigenmode analysis is important for understanding the dynamic characteristics of structures, determining potential resonance risks, and designing systems to avoid excessive vibrations or deformations.

The Enabled physics drop-down list is in simulation options right below Analysis type:

Enabled physics menu

It includes a list of the physics that were added in the project’s Physics section. By default, all physics are ticked as enabled. If you want to disable certain physics in a simulation, untick those physics from the list.

Two solver modes are available:

  • Direct solver
    • Uses a regular parallelization scheme to solve the linear system.
  • Iterative solver
    • Uses DDM to split the mesh into parts, which are then solved in parallel.

Solver settings
Solver mode options in the simulation settings

The direct solver solves the linear system of equations directly using standard matrix decomposition techniques. It leverages regular parallelization schemes to distribute the computational load across multiple CPUs or nodes.

StrengthsLimitations
Generally more robust and reliable, especially for smaller to medium-sized problemsCan be computationally expensive and memory-intensive for large problems
Typically provides a precise solution without requiring many iterationsScalability can be limited for extremely large models due to memory constraints

The iterative solver utilizes a Domain Decomposition Method (DDM) to split the mesh into smaller subdomains, which are solved independently and in parallel. The iterative solver then coordinates the solution between adjacent subdomains and continues iterating until the relative residual tolerance is met. Relative residual tolerance corresponds to the DDM convergence and not the solution convergence.

StrengthsLimitations
DDM enables efficient parallelization — each subdomain can be processed on a separate CPU or nodeConvergence can be slower than with the direct solver, especially for ill-conditioned problems
More memory-efficient for large problems, as it only stores smaller subdomain matricesRequires careful selection of solver parameters for optimal performance
Often scales better for very large models due to the distributed nature of DDM

The choice between direct and iterative solvers depends on the specific simulation:

  • Smaller to medium-sized problems: The direct solver is often a good starting point due to its robustness and relative ease of use.
  • Large-scale problems: The iterative solver with DDM can be more advantageous due to its memory efficiency and scalability.
  • Complex geometries or highly coupled physics: For well-conditioned problems, the iterative solver is better suited to solve complex systems. The iterative solver is not suitable for ill-conditioned problems, however.
  • Time constraints: If a quick solution is needed, a direct solver might be faster, especially if the problem size is manageable.

If you’re unsure, Allsolve has default settings that can provide a reasonable starting point. You can then experiment and compare the performance of both solvers to find the best fit for your specific simulation needs.