LTspice vs. Ansys Nexxim Circuit: A Comparative Analysis for Circuit Simulation

ANsIntroduction

In modern electrical engineering, circuit simulation tools play a crucial role in designing and verifying circuits before physical implementation. LTspice and Ansys Nexxim Circuit are two widely used simulation tools, each offering unique advantages for engineers. This blog explores their features, compares their performance, and highlights the best use cases for each.

Background: The Importance of Circuit Simulation

SPICE (Simulation Program with Integrated Circuit Emphasis) has been a cornerstone in circuit analysis since its inception. Over the years, multiple variations of SPICE have emerged, including ISPICE, HSPICE, PSPICE, and LTspice, each catering to different needs. Almost all electrical engineers have used SPICE-based tools for verifying circuit designs, debugging performance issues, and optimizing circuit parameters.

Project Overview: Comparing LTspice and Ansys Nexxim Circuit

For this study, a two-stage operational amplifier (op-amp) was simulated using both LTspice and Ansys Nexxim Circuit. The key design specifications included:

  • Gain @ 1kHz > 40dB
  • Unity Gain Frequency > 50kHz
  • Phase Margin > 45˚
  • Gain Margin > 10dB
  • Quiescent Current ≅ 100µA
  • Compensation Capacitor < 30pF
  • Compensation Resistor < 1000kΩ
  • MOSFET Model: 0.18µm CMOS

The primary goal was to determine how each tool handled the circuit simulation process, from defining models and parameters to analyzing compensated and uncompensated results.

LTspice: Strengths and Workflow

LTspice is a widely used, free circuit simulation tool developed by Analog Devices. It allows engineers to:

  • Define subcircuits using .model for MOSFETs
  • Assign design parameters (W/L ratios, bias voltages) using .param definitions
  • Use hierarchical subcircuits for modular design
  • Perform transient and frequency-domain analysis
  • Visualize circuit behavior with node plotting

LTspice is known for its simplicity and efficiency, making it an excellent choice for small-to-medium-sized analog circuit designs.

Ansys Nexxim Circuit: Advanced Features and Workflow

Nexxim Circuit, a part of Ansys’ circuit simulation suite, offers all the capabilities of LTspice with additional advanced analysis features. Key capabilities include:

  • Defining model blocks for MOSFETs
  • Using project variables for W/L ratios and bias voltages
  • Performing transient, frequency-domain, and DC sweep analysis
  • Conducting signal integrity, resonant, and time-varying noise analysis
  • Using structure blocks for trace and via modeling
  • Co-simulating with FEM (Finite Element Method) analysis
  • Parameterizing and optimizing circuit designs

Results: LTspice vs. Nexxim Circuit Performance

The two tools were used to simulate both uncompensated and compensated versions of the op-amp. The results showed that both LTspice and Nexxim Circuit provided comparable basic simulation accuracy. However, Nexxim’s Optimetrics feature allowed advanced optimization of the circuit parameters, leading to an improved design with minimized component values while maintaining target performance.

Feature LTspice Nexxim Circuit
Basic SPICE Simulations ✅ Yes ✅ Yes
Transient & Frequency Analysis ✅ Yes ✅ Yes
DC Sweep Analysis ✅ Yes ✅ Yes
Signal Integrity & Bit-Error-Rate Analysis ❌ No ✅ Yes
Resonant & Structure Block Analysis ❌ No ✅ Yes
Co-Simulation with FEM ❌ No ✅ Yes
Circuit Optimization & Parameterization ❌ Limited

✅ Advanced

 

Conclusion: Which Tool Should You Use?

  • Use LTspice if you need a free, straightforward SPICE simulation tool for basic analog circuit design and debugging.
  • Use Ansys Nexxim Circuit if you require advanced analysis, signal integrity testing, co-simulation with FEM, and automated circuit optimization for high-performance applications.

For engineers working on high-speed digital circuits, RF applications, or signal integrity-focused designs, Nexxim Circuit is the superior choice due to its extended analysis capabilities and optimization features. However, LTspice remains a go-to tool for quick, effective circuit verification in analog and power electronics design. Want to see LTspice and Nexxim Circuit in action? Watch our detailed breakdown and simulation walkthrough on YouTube! If you’re interested in learning more about circuit simulation techniques and best practices, don’t miss our upcoming webinar on LTspice vs. Ansys Nexxim Circuit: Advanced Simulation Techniques.

 

Enhancing Torque Analysis in Threaded Fastener Assemblies

Introduction

Torque is a fundamental aspect of fastening technology, ensuring that components remain securely connected under various loads and operating conditions. In threaded fastener assemblies, torque application must be carefully analyzed and controlled to prevent issues such as joint loosening, fatigue failure, or excessive stress on the materials involved. Engineers rely on torque analysis to optimize design, improve reliability, and enhance performance in mechanical assemblies ranging from automotive applications to aerospace and heavy machinery.

Understanding how torque is absorbed and distributed within a threaded assembly is essential for accurate predictions of joint behavior. This blog explores the three primary areas where torque is absorbed, introduces different simulation techniques available in Ansys Mechanical, and explains methods for validating torque using both traditional analytical approaches and modern computational tools. By leveraging these methodologies, engineers can make informed decisions that enhance the efficiency and safety of fastener assemblies.

Torque Distribution in Fastener Assemblies

Torque applied to a threaded fastener assembly is primarily absorbed in three main areas:

  1. Underhead Friction
  2. Thread Friction
  3. Developing Clamping Force that holds components together

The net distribution of torque among these areas plays a crucial role in fastening integrity and performance.

Torque-Angle Relationship

The torque-angle of turn relationship is a valuable method for determining torque using traditional techniques, such as hand calculations. This approach helps engineers estimate torque with reasonable accuracy, ensuring secure fastener connections.

The net distribution of the torque in these 3 main areas is given as below:

Method 1: Helical Thread Trajectory Simulation

There are several techniques to simulate geometric interference from torque. One approach involves driving the parts in Ansys Discovery along the helical thread trajectory. This method simulates both rotational and axial movement due to torque, creating geometric overlap. To achieve accurate results, the contact offset is set to zero, allowing the actual geometric interference to represent torque application.

Method 2: Contact-Based Interference Simulation

Second method involves simulating applied torque through contact-based interference. This technique models torque effects by defining contact conditions where the original geometry shows parts merely touching. The simulation then resolves the resulting interference forces.

There are couple of different ways to validate torque; one is using traditional method such as hand calculations and second method is to use CAE, in this case, using Ansys.

Traditional Methods to determine torque:

Method 1 is to use the torque-angle of turn relationship as shown below.

Method 2 is to take the contact element data and output via ETABLE, and the contact pressure is multiplied with contact elements to contact normal force which is then multiplied by friction coefficient to get shear force on each contact element. The shear force is then multiplied with distance of contact element (Centroid) from axis to get torque on contact element and then it’s summed from all contact elements to get overall torque.

 

Methods to Validate Torque

The Ansys methodology also offers several options. One way is to output solution result tracker as shown illustrated below:

Second way would be to use an MAPDL macro that will deliver the results automatically.

Summary

The difference in the two ways demonstrated here; using the result tracker, Ansys is assuming unity friction coefficient, so user would need to scale the results with appropriate friction coefficient as demonstrated here. For the MAPDL macro, it’s fully automated, the user plugs in the friction coefficient and the total torque is delivered.

The techniques presented here provide ample options for the user to determine total torque; the automated ways using Ansys are accurate and the traditional methods provide quick and dirty answer that gives us a ballpark estimate for a good sanity check. One can use this technique to not only validate torque, but also calibrate the torque if actual angle of turn is unknown through couple of design iteration runs.

The techniques discussed provide engineers with multiple options for torque validation:

  • Ansys-based automated methods offer high accuracy and efficiency.
  • Traditional hand calculations serve as quick, approximate checks.

Beyond torque validation, these approaches can also help calibrate torque in cases where the actual angle of turn is unknown. By performing multiple design iterations, engineers can refine torque estimates and optimize fastener performance in real-world applications.

Additional Resources

For more insights, check out the following resources:

History Repeats Itself! Reunion of DRD Principals with DRD Cofounder, Steve Jordan

Recently I had an amazing reunion with my friends and mentors, Dwight Yoder and Steve Jordan, in Sanibel Island, FL. Our wives, Carolyn, Donna, and Anne joined us in this remarkable event. Steve and Dwight have been my friends and mentors my entire professional life.

In 1977 Steve and his business partners, Mike Apostal and Chuck Ritter, founded Jordan, Apostal, Ritter Associates Engineering Mechanics Consultants in Davisville, RI.  JAR began to do engineering mechanics consulting for the AMOCO Research Center in Tulsa, OK. JAR and AMOCO were two of the first companies to utilize the finite element method to model the lower part of the drill string, called the bottom hole assembly, to predict directional drilling for the oil and gas industry. JAR’s work with AMOCO led to Steve, Mike and Chuck creating Drilling Resources Development Corporation in Tulsa, now DRD Technology, to work with AMOCO to develop a drilling simulator to model the entire drilling process in real time. Steve hired Dwight and me in 1981 to join DRD, and our work with AMOCO led to software development for other oil and gas companies. Ultimately DRD developed its own commercial suite of software tools for the oil and gas industry, Wellplan™, which we sold worldwide.

Because of a relationship with John Swanson, founder of Ansys, JAR and Drilling Resources Development Corporation became Ansys Support Distributors in 1984. JAR later became Ansys East in the 1990’s. Steve, Mike and Chuck also founded Concurrent Engineering Corporation in Minneapolis, MN in the 1990’s, which later became Ansys Minneapolis. Earlier in his career Steve worked with several of the pioneers of the early finite element industry including Richard Gallagher of Bell Aerosystems, Cornell University and University of AZ; Richard MacNeal of MSC (NASTRAN); Pedro Marcal and Bob Melosh of MARC Analysis; and David Hibbitt of Hibbitt, Karlsson, and Sorenson, developer of ABAQUS. Steve offered me the opportunity to have a career in the field of engineering simulation, and he mentored me closely my first two decades at DRD.

Dwight has also been my friend and mentor my entire career. In 1995 DRD sold Wellplan to Landmark Graphics, a division of Halliburton. Dwight and I were colleagues at DRD until 1995 when Dwight left DRD to become a Vice President at Landmark Graphics. Dwight later returned to work at DRD before leaving DRD a second time to pursue other interests. Dwight remains a minority owner of DRD. Dwight and Carolyn are god parents to Anne’s and my daughters, Renee and Morgan.

This Sanibel reunion was the first in-person one for Dwight, Steve, and me in 26 years, and the experience was as if we had never been apart.  What a reunion!

Modern Firearm and Ammunition Development Challenges

The development of modern firearms and ammunition presents significant challenges. Engineers must balance performance, reliability, and safety while keeping costs and production efficiency in check. Traditional methods rely heavily on physical prototyping, which can be time-consuming and expensive. Additionally, factors such as barrel dynamics, bullet drag, thermal effects, and recoil must be optimized to ensure a firearm function effectively under various conditions.

Accuracy is one of the most critical factors in firearm performance. Barrel vibrations, thermal expansion, and rifling design all influence how precisely a bullet reaches its target. Likewise, excessive recoil can reduce shooter comfort and control, while poor thermal management in high-rate firing scenarios can cause overheating, leading to component degradation or even catastrophic failures. Understanding and mitigating these issues is essential for advancing firearm technology. This blog explores the role of physics-based simulation in firearm development and how it contributes to cutting-edge advancements in the industry.

To dive deeper into these challenges and explore solutions, join our exclusive webinar and watch our in-depth video demonstration on firearm simulation techniques.

What is Physics-Based Simulation?

Physics-based simulation involves four critical steps:

  1. Providing CAD Geometry – Creating a digital model of the firearm or ammunition component.
  2. Generating a Computational Mesh – Breaking down the model into smaller elements for analysis.
  3. Setting Up Physics Parameters – Incorporating factors such as sliding friction, pressure, heat transfer, and material properties.
  4. Post-Processing Results – Analyzing the simulation output to make simulation-driven design decisions.

Each type of physics—mechanical, fluid dynamics, and electromagnetics—has its own set of constitutive equations, allowing for quantitative predictions of firearm behavior.

The Role of Simulation in Firearm Development

Engineers can conduct virtual prototyping and design verification, accelerating the product development process. Simulation helps solve fundamental laws of physics, including mass, momentum, and force balances, providing insights that enhance accuracy, durability, and safety. The following are key applications of Ansys in firearm engineering.

  • Barrel Dynamics and Accuracy

Barrel dynamics significantly impact firearm accuracy. Simulation enables engineers to tune barrel dynamics by analyzing vibrations and harmonic frequencies, ensuring minimal muzzle movement.

 

 

 

  • Bullet Drag Prediction and Optimization

Predicting aerodynamic drag is crucial for improving projectile performance. Ansys simulations analyze bullet shape, rifling effects, and gas dynamics to minimize drag and enhance accuracy. By optimizing groove length and depth, engineers can achieve better flight stability and range.

 

 

 

  • Thermal Management for High Firing Rates

Excessive heat buildup in barrels and suppressors can lead to safety risks, including accidental cook-off. Ansys simulations evaluate thermal distribution in rapid-fire scenarios, helping to mitigate overheating and structural deformation. Thermodynamics, such as non-uniform barrel heating, can also be assessed to optimize material selection and structural integrity.

 

 

  • Reducing and Predicting Felt Recoil

Recoil affects shooter comfort and accuracy. Simulation allows for ergonomic analysis, studying the effects of force distribution, action delay, and muzzle devices like barrel porting or brakes to reduce perceived recoil.

 

  • Suppressor and Muzzle Blast Characterization

Suppressors are designed to dissipate pressure waves and reduce noise. Ansys simulations predict gas expansion and pressure variations, optimizing suppressor efficiency while maintaining firearm performance.

 

  • Functional Testing

Mechanical components such as triggers, bolts, and actions require precise tolerances for smooth operation. Simulations assess tolerance stacking, material properties, and wear characteristics to ensure reliable firearm functionality before physical prototyping.

  • Ballistics and Body Armor

Simulation plays a key role in assessing bullet impact on composite armor. Engineers can analyze penetration power, velocity requirements, and material resistance to improve both ammunition and protective gear designs.

Conclusion

Ansys simulation tools provide a competitive edge in firearm development by enabling precise, simulation-driven design optimizations. From improving accuracy and durability to reducing recoil and optimizing thermal management, physics-based simulations empower engineers to push the boundaries of firearm innovation. As technology continues to evolve, simulation-driven development will remain at the forefront of the industry, ensuring safer and more effective weapon systems for the future.

Want to see these simulations in action? Our webinar and video dives deep on firearm development with Ansys.

Unlocking Elastic-Plastic Materials: The Truth About True Stress and Strain

Understanding stress vs. strain is fundamental for engineers working with material properties. However, a critical distinction exists between the stress-strain data obtained during tensile tests and the true stress-strain data required for accurate simulations in software like Ansys Mechanical.

In this article, we’ll uncover the essential differences, explain how to calculate true stress and strain, and explore why these concepts are indispensable for accurate elastic-plastic material simulations.

What is Measured and Calculated During Material Tensile Testing?

If you were to internet search for a material’s stress vs. strain data or look in the back of an engineering mechanics textbook, the stress vs. strain data provided is typically in the form of engineering stress and strain. Tensile testing for stress vs. strain is performed using tensile coupons like the layout shown in Figure 1.

This layout includes data that is measured as part of the test, where:

  • P = the applied load
  • A = the initial cross-section area
  • l0 = the initial extensometer length
  • l = the new extensometer length after applying load P

The calculated stress and strain are:

σengineering = P / A

εengineering = (l – l0) / l0

These are engineering stress and strain because the calculation is performed using the initial cross-section area. However, as the tensile coupon is loaded the cross-section area reduces due to the Poisson Effect. For small values of stress and strain, the difference between engineering stress and strain and true stress and strain is low and approximated as equivalent.

Determining True Stress and Strain

There’s a handy pair of equations to calculate true stress and strain using the calculated values.

σtrue = σeng (1+εeng)

εtrue = ln (1+εeng)

These are simple to evaluate using the engineer’s second-best tool, Excel (the first being Ansys, of course).

Why is this Distinction Important?

You may be saying to yourself, “This doesn’t seem like that big a deal. Why are you telling me this?” It’s important to understand how simulation codes perform finite element calculations.

Let’s consider a hypothetical test procedure, where we take the tensile test coupon shown in Figure 1 and stretch it from 10mm to 12mm. This is a change in length, ∆l, of 2mm. Using the equation above for engineering strain, we can calculate an engineering strain value of:

εengineering = 2/10 = 0.2 mm/mm

Okay… straight forward. Let’s break that up into two steps on a second tensile test coupon. Step 1 will stretch the coupon from 10mm to 11mm and step 2 will stretch it from 11mm to 12mm; then we can simply add these two strain values to get the total strain. Pretty simple, eh?

εengineering = 1/10 + 1/11 = 0.191 mm/mm

What you should notice is that these two measurements do not produce identical strain values, despite both tests stretching the tensile coupon the same amount. So, what does this mean for simulation?

The second tensile test, where strain is calculated in incremental stages, directly resembles how strains are calculated in Ansys Mechanical simulation from incrementally applied loads. If analysts use engineering stress and strain as input to the plasticity material models in Ansys Mechanical, each additional increment in load represents error in the strain calculation.

Let’s redo the calculation above using true strain. The third tensile test coupon:

εtrue = ln (12/10) = 0.18232 mm/mm

And the fourth:

εtrue = ln (11/10) + ln (12/11) = 0.18232 mm/mm

As you can see, we calculate identical results using true strain. This behavior is desirable in Ansys simulation and is why Ansys Mechanical requires using true stress vs. strain as input for the elastic-plastic material models.

In fact, if you peruse the Ansys Help documentation you’ll find this note:

Hmmm… this just stated what I spent ~600 words saying. That’s alright; hopefully the illustrated examples with the tensile test coupons are helpful.

Where Else Can Analysts Learn About Ansys and Plasticity?

If you are interested in learning more about Ansys and plasticity in simulation, DRD has on-demand training content on our website. This particular topic is covered in our Nonlinear Structural Simulation course, in Chapter 3.

Ansys Mechanical Nonlinear Structural Simulation – DRD Technology

New Native Feature in Ansys Mechanical 2024 R2: Fluid Penetration Pressure

Released on July 23, 2024, Ansys Mechanical 2024 R2 introduces a powerful new native feature: Fluid Penetration Pressure. While this isn’t entirely new to Ansys, as it has long been part of Ansys APDL, it’s the first time this functionality is available natively in Ansys Mechanical. This feature provides engineers with an efficient way to simulate fluid interactions with structures without explicitly modeling the fluid in finite element analysis (FEA).

What is Fluid Penetration Pressure?

Fluid pressure penetration is a method to capture impinging fluid on a structure, without explicitly modeling the fluid in the finite element analysis.

The fluid penetration pressure method employs information of contact status between contacting bodies to determine where the fluid pressure is applied. The benefit is that this is determined as the contact status evolves over the simulation time, so the region where pressure is applied changes as contact between bodies changes under loading.

Users provide a contact region for the searching algorithm, a starting location for fluid impingement, and the fluid pressure; the solver does the rest. Figure 1 provides a simple view of the starting point on the exterior surface of the structure and the ‘flow’ of the fluid outward.

 

 

 

 

 

 

Figure 1: Schematic of Fluid Penetration Pressure Behavior

 

What is the Application of Fluid Penetration Pressure?

As you perhaps have guessed, the application of fluid penetration pressure is in seals and gaskets for valves, hydraulic cylinders, coil-overs, etc. This allows determination of sealing surface leakage as the structure is loaded and deforms, both from the fluid pressure itself and additional loads in service.

 

 

 

Figure 2: Examples of Gaskets

If engineers can determine seal capability before selling the product, expensive redesign can be circumvented. Seals do not need redesign, re-machining of the sealing surfaces is lessened, and a potentially hazardous leak can be avoided.

Example Simulation with Fluid Penetration Pressure

Here we have a simple representation of a tube, sleeve and O-ring seal in a vehicle strut or coil-over. During the assembly process, the tube is pushed downward to interface with the O-ring. In service, fluid is pushing against the seal from the top in the shown orientation, annotated by the blue arrows in Figure 3. The sleeve is fixed in place.

 

 

 

 

 

 

Figure 3: Layout of Simulation with Fluid Impingement Load Direction

As stated previously, analysts need to supply a contact, a starting point, and a fluid pressure magnitude. In the 2D axisymmetric representation of the structure in Figure 3, frictional contact is defined between the three bodies. The Fluid Penetration Pressure object is defined as shown in Figure 4.

 

 

 

 

 

 

 

Figure 4: Example Use of Fluid Penetration Pressure Feature, Details, Load, and Graphics

As you can see, we’ve applied the fluid pressure in the second load step; the first load step is moving the tube downward.

I’ll leave you with these final output animations, and a recommendation to visit our website to get access to on-demand training.

We walkthrough this simulation example as part of our Ansys Mechanical Nonlinear Structural Simulation course. Follow the link here: Ansys Mechanical Nonlinear Structural Simulation – DRD Technology.