Verifying the Accuracy of Nodi's Meshless Analysis

We verified the accuracy of Nodi’s structural, thermal, fluid, and thermal-fluid analysis by comparing eight problems against analytical or standard theoretical solutions. At sufficient resolution, the error is below 0.5% in all eight. In every problem, we confirmed that the error decreases as the resolution increases.

Results

FieldProblemQuantity comparedErrorTime
StructuralCantilever bending of a round rodDeflection0.30%2.5 s
StructuralPlate with a circular hole in tensionStress around the hole0.46%40 s
StructuralThick-walled spherical shell under internal pressureDisplacement0.28%28 s
Heat conductionHollow cylinder (heated inner wall, convection on outer wall)Temperature0.16%7.0 s
Heat conductionSlab with internal heat generationTemperature0.05%0.9 s
FluidFlow in a square ductPressure drop0.09%0.8 s
FluidFlow in a round pipePressure drop0.01%2.7 s
Thermal-fluidHeated square ductNusselt number0.29%59 s

These are the values at the finest resolution of each problem. Time is the total from shape evaluation to the end of the analysis, measured on a GPU (NVIDIA RTX 5090 Laptop).

Error versus resolution
Error versus resolution

The horizontal axis (Elements across the feature) is the number of elements that fit across the characteristic dimension of the shape (rod diameter, wall thickness, pipe diameter, and so on). The vertical axis is the error against the reference solution (analytical or theoretical), and the dashed line marks 1%.

Why compare against analytical and theoretical solutions

Nodi’s analysis is meshless analysis (Immersed FEM: immersed boundary finite element method). It does not create a mesh that follows the boundary of the shape. Instead, it computes on a uniform background grid that encloses the shape (how the method works). Users do not have to prepare a mesh, and complex lattice shapes such as TPMS can be analyzed as they are.

On the other hand, computing on a grid that does not follow the boundary has its own difficulty: the surface of the shape passes through the middle of elements. The most reliable way to check that this is handled correctly is to compare against problems whose answers can be written as formulas. The eight problems chosen here all appear in textbooks and handbooks on mechanics of materials, heat transfer, and fluid mechanics. Many of them involve curved surfaces.

The verification procedure is simple.

  1. Solve the same problem three times, halving the element size each time
  2. Measure the error against the reference solution
  3. Confirm that the error decreases every time and falls below 1% at the finest resolution

Structural analysis

Cantilever bending of a round rod

A round rod 1 mm in diameter and 10 mm long is fixed at one end, and a force perpendicular to its axis is applied at the tip. The reference is the theoretical solution from Timoshenko beam theory [1].

Cantilever bending of a round rod
Cantilever bending of a round rod

Analysis result in Nodi. Color shows displacement magnitude on a section cut vertically through the center of the rod. The left end is fixed, and the load is applied at the right end
Analysis result in Nodi. Color shows displacement magnitude on a section cut vertically through the center of the rod. The left end is fixed, and the load is applied at the right end

Elements across the diameterDeflection errorBending stress errorTime
42.83%5.41%0.4 s
80.97%1.76%0.7 s
160.30%0.46%2.5 s

Plate with a circular hole in tension

A plate with a 2 mm diameter circular hole at its center is pulled in tension. Stress concentrates at the edge of the hole, reaching three times the far-field value. The reference is the Kirsch solution [2][3]. The Kirsch solution is the analytical solution for an infinitely wide plate, and here it is used as the theoretical solution for a plate that is sufficiently large relative to the hole (each side is 20 times the hole diameter).

Plate with a circular hole in tension
Plate with a circular hole in tension

Analysis result in Nodi. Color shows von Mises stress, which concentrates at the edge of the hole
Analysis result in Nodi. Color shows von Mises stress, which concentrates at the edge of the hole

Elements across the hole diameterError in stress around the holeTime
42.99%3.0 s
81.31%10 s
160.46%40 s

The error is the average difference (RMS) over the range from 1.25 to 3 times the hole radius. At the single point on the hole edge where the stress peaks, the difference was 0.8% at the finest resolution.

Thick-walled spherical shell under internal pressure

Pressure is applied to the inner surface of a spherical shell with an inner diameter of 10 mm and an outer diameter of 20 mm. The reference is the Lamé solution [4]. Using symmetry, we solve one eighth of the shape.

Thick-walled spherical shell under internal pressure
Thick-walled spherical shell under internal pressure

Analysis result in Nodi. Color shows displacement magnitude on a planar section through the shell
Analysis result in Nodi. Color shows displacement magnitude on a planar section through the shell

Elements across the wall thicknessDisplacement errorRadial stress errorHoop stress errorTime
101.70%2.94%1.27%1.6 s
200.61%0.69%0.15%6.5 s
400.28%0.24%0.11%28 s

Heat conduction analysis

Hollow cylinder

The inner surface of a cylinder with an inner diameter of 10 mm and an outer diameter of 20 mm is held at 100°C, and the outer surface is cooled by air at 20°C. The temperature varies logarithmically in the radial direction [5][6]. This problem includes both a fixed temperature and convection on curved surfaces.

Heat conduction in a hollow cylinder
Heat conduction in a hollow cylinder

Analysis result in Nodi. Color shows temperature
Analysis result in Nodi. Color shows temperature

Elements across the wall thicknessTemperature errorTime
50.92%0.6 s
100.41%1.9 s
200.16%7.0 s

Slab with internal heat generation

Both ends of a 10 mm long slab are held at 20°C while heat is generated uniformly inside it. The temperature follows a parabolic profile and rises by 50°C at the center [5].

Slab with internal heat generation
Slab with internal heat generation

Analysis result in Nodi. Color shows temperature
Analysis result in Nodi. Color shows temperature

Elements along the lengthTemperature errorTime
100.66%0.2 s
200.52%0.3 s
400.05%0.9 s

Fluid analysis

A uniform flow enters a straight channel, and the velocity profile and pressure drop at a fully developed location are compared against the analytical solutions for laminar flow.

Square duct

A channel with a square cross-section, 2 mm on each side. The reference is the series solution for a rectangular duct [7][8].

Flow in a square duct
Flow in a square duct

Analysis result in Nodi. Color shows flow speed on a section cut vertically through the center of the channel. The inlet is on the left
Analysis result in Nodi. Color shows flow speed on a section cut vertically through the center of the channel. The inlet is on the left

Elements across a sideVelocity profile errorPressure drop errorTime
80.11%1.38%0.2 s
160.03%0.34%0.3 s
320.01%0.09%0.8 s

Round pipe

A round pipe 2 mm in diameter. The reference is the Hagen–Poiseuille solution [7].

Flow in a round pipe
Flow in a round pipe

Analysis result in Nodi. Color shows flow speed on a section cut vertically through the center of the channel. The inlet is on the left
Analysis result in Nodi. Color shows flow speed on a section cut vertically through the center of the channel. The inlet is on the left

Elements across the diameterVelocity profile errorPressure drop errorTime
82.01%3.1%0.2 s
160.61%0.40%0.3 s
320.20%0.01%2.7 s

The pressure drop in a round pipe is inversely proportional to the fourth power of the radius, so a slight shift in the wall position has a large effect. That is why the error at coarse resolution is larger than for the square duct. The 0.01% at the finest resolution includes the effect of several small errors canceling each other out. As a measure of accuracy at this resolution, the velocity profile error of 0.20% is closer to reality.

Thermal-fluid analysis

Heated square duct

The fluid is heated with a uniform heat flux from the four walls of the square duct above. At a location where both the flow and the temperature are fully developed, we compare the Nusselt number, which expresses the strength of heat transfer. The reference is the temperature distribution derived from the series solution for velocity, which gives a Nusselt number of 3.09 [9].

Heated square duct
Heated square duct

Analysis result in Nodi. Color shows temperature on a section cut vertically through the center of the channel. The inlet is on the left. This figure alone is from the case with 16 elements across a side
Analysis result in Nodi. Color shows temperature on a section cut vertically through the center of the channel. The inlet is on the left. This figure alone is from the case with 16 elements across a side

Elements across a sideTemperature distribution errorNusselt number errorTime
80.59%4.78%0.2 s
160.15%1.23%25 s
320.03%0.29%59 s

Because the temperature is solved on top of the flow solution, the errors of both stack up in this problem. Even so, the error drops to about a quarter each time the element size is halved.

Resolution guidelines

Based on these results, the following resolutions are a guide for getting an error of around 1%.

What you want to seeGuideline
Deflection and bending stress of slender membersAt least 8 elements across the member thickness
Stress concentration at holes and notches8 to 16 elements across the hole diameter
Stress and temperature distribution through a wall10 to 20 elements across the wall thickness
Pressure drop in a channelAt least 16 elements across the channel width
Heat transfer in a channel (Nusselt number)16 to 32 elements across the channel width

When the resolution falls well short of these, the error grows quickly. For example, with only 4 elements across the diameter of the round rod, the bending stress error exceeds 5%. Before using a result, the reliable approach is to confirm that the values barely change when the element size is halved.

Summary

In all eight structural, thermal, fluid, and thermal-fluid problems, the error at the finest resolution was below 0.5%. In every problem, the error decreases as the elements get finer. Even with meshless analysis, which does not create a mesh that follows the shape, shapes with curved surfaces are solved with accuracy on par with the textbook solutions. In actual design work, secure the resolution in the guidelines above and confirm that the results do not change when the element size is halved.

Notes

Reference solutions

  • Six problems (the spherical shell, heat conduction, fluid, and thermal-fluid) are compared against the analytical solution of that problem.
  • The round rod is compared against beam theory and the plate with a hole against the infinite-plate solution, both standard theoretical solutions. The errors for these two problems are differences from the theoretical solutions.
  • The three structural problems were also solved with the open-source finite element solver CalculiX, and we confirmed that it agrees with the reference solutions to within 1%.

How the errors are calculated

  • Quantities compared as a single value (deflection and bending stress of the round rod, pressure drop, Nusselt number) are evaluated as relative error: the difference from the reference solution divided by the reference value.
  • Quantities compared as a distribution (stress in the plate and the spherical shell, displacement of the spherical shell, temperature, velocity profile) are evaluated as RMS error. We take the difference from the reference solution at every grid point in the evaluation range, and divide its root mean square by a representative value of the problem (far-field tensile stress, internal pressure, temperature difference between inside and outside, centerline velocity, and so on).
  • The evaluation range is fixed in space, so the same region is compared even at different resolutions. Stress is measured in a region slightly away from the surface of the shape. Very close to the surface, stress values can be a few percent less accurate than in the interior.
  • This evaluation is a simplified method. The rigorous way to evaluate error in the finite element method is to numerically integrate the difference between the reference distribution and the computed distribution over the entire domain (an error norm). Here we limit ourselves to comparing grid-point values and representative quantities.

Measurement environment and time

  • Errors and times were measured on Windows with an NVIDIA RTX 5090 Laptop GPU (24 GB).
  • The same analysis can be run on a CPU in environments where an NVIDIA GPU is not available. We ran the same verification on the CPU for six problems, excluding the heated duct and the round pipe, and confirmed that the errors are nearly the same (differing by at most 0.1 percentage points).
  • Compared with solving on the CPU alone on the same machine, no problem was slower on the GPU. The GPU was 3 to 4 times faster for fluid and about 15 times faster for thermal-fluid. For structural and heat conduction, the difference is small (about 1.5 times at most). This is because these problems are small, a few hundred thousand nodes at most, and most of the time goes to shape evaluation and grid construction.

References

Sources for the reference solutions (analytical and theoretical).

  1. Timoshenko–Ehrenfest beam theory (Wikipedia). Includes the example of a cantilever beam with a tip load and the shear correction factor for a circular cross-section (Cowper).
  2. Kirsch equations (Wikipedia). Stress components around a circular hole in an infinite plate.
  3. Stress concentration (Wikipedia). Explains that the stress concentration factor for a circular hole in an infinite plate is 3.
  4. S. P. Timoshenko, J. N. Goodier, Theory of Elasticity, McGraw-Hill. Solution for a thick-walled spherical shell under internal pressure (the Lamé solution).
  5. F. P. Incropera et al., Fundamentals of Heat and Mass Transfer, Wiley. Steady heat conduction in a cylindrical wall and in a slab with internal heat generation.
  6. Conduction: One Dimensional — Cylinder (NPTEL lecture notes). Derivation of radial heat conduction in a hollow cylinder.
  7. Hagen–Poiseuille equation (Wikipedia). Covers the round pipe solution and has a section on non-circular cross-sections (the series solution for a rectangular duct).
  8. F. M. White, Viscous Fluid Flow, McGraw-Hill. Series solution for laminar flow in a rectangular duct.
  9. R. K. Shah, A. L. London, Laminar Flow Forced Convection in Ducts, Academic Press. Fully developed laminar heat transfer in rectangular ducts (Nusselt number for uniform wall heat flux).