New videos every Saturday at 11 AM (GMT-3, Local Time)!
Here you'll learn how to simulate engineering processes!
I'm a mechanical engineer interested in sharing my knowledge on modelling of solid mechanics processes by different methods and software. I'm developing WeldForm SPH and FEM, CPU and GPU.
Subscribing to my channel, you will learn how to use commercial and open source simulation soft, and how it works. Finally, I will be sharing some C++, CUDA Python, Fortran, programming and scripting basics things.
The processes presented on this channel involve large mechanical strains, metal forming, welding, CFD and much more.
Subcribe to my website to get documentation, courses, blog, and stuff.
opensourcemech.com/subscribe.html
Subscription!
youtube.com/@opensourcemechanics?sub_confirmation=…
Open Source Mechanics
0260422 - My FEM GUI Is Finally Becoming Usable
#FEM #GUI #CAE #Cplusplus #SolverDev #OpenSource
In the last two weeks, I focused on one thing: reducing friction between model and results.
This update moves my FEM solver from a developer tool toward something you can actually use.
What’s new:
Run directly from the model, without separate job setup
Built-in demo for faster testing and workflow exploration
Progress bars for both simulation run and results loading
Live job log with cleaner output and reduced visible lines
Load plots integrated with ImPlot
Explicit and implicit step definition from the GUI
Automatic input file generation from the model
Custom quad mesher integration instead of Gmsh
Improved visualization with nodes, vectors, and manual/auto color scaling
The goal of these changes is simple: make it possible to go from opening the GUI to running a simulation and visualizing results in seconds.
A demo binary is the next step. I am currently packaging and testing it.
6 days ago (edited) | [YT] | 24
View 0 replies
Open Source Mechanics
When More Contact Stiffness Makes Things Worse
I increased contact stiffness in my implicit FEM solver…
and penetration got worse.
What I Tested
**Case 1**
Velocity penalty = 5.0
Gap penalty = 0.01
→ Velocity dominated, poor convergence
**Case 2**
Velocity penalty = 5.0
Gap penalty = 0.05
→ Almost no change
**Case 3**
Velocity penalty = 0.1
Gap penalty = 1.0
→ Stable convergence, lower penetration
What Was Happening
The issue wasn’t just stiffness.
The velocity term was **masking** the gap enforcement.
Increasing the gap penalty didn’t help
because velocity forces still dominated.
Why It Works Now
Reducing velocity stiffness did two things:
* Improved conditioning
* Allowed gap enforcement to become effective
This not only fixed convergence,
but also allowed the solver to handle more complex matrices.
Takeaway
f one term dominates your formulation, the rest becomes ineffective.
Sometimes, reducing stiffness leads to better results.
3 weeks ago | [YT] | 6
View 0 replies
Open Source Mechanics
20260320 - Implicit u-p Solver, first tests
#FEM #Forging #Implicit #Quad #2D
I’ve recently integrated remeshing into my Updated Lagrangian U–P SRI (Selective Reduced Integration) formulation with Picard iteration for viscoplastic flow governed by a Hollomon hardening law.
This marks a significant step in the development of my implicit FEM solver, especially for large deformation problems such as forging simulations.
After implementing the remeshing pipeline, I ran a series of benchmark comparisons against industrial-grade software. The results are encouraging:
The load–displacement curves match very closely with reference solutions
The deformation patterns and field distributions are in strong agreement
The overall numerical behavior remains stable through large strains
The remeshing does not introduce noticeable artifacts in the solution when properly transferred
The remeshing strategy allows the solver to maintain mesh quality during severe deformation, which is essential for robustness in Updated Lagrangian formulations. Combined with the U–P approach and SRI, this helps mitigate volumetric locking while preserving accuracy in nearly incompressible regimes.
From a practical standpoint, this improves the solver’s capability to handle realistic forming processes where mesh distortion would otherwise lead to divergence or loss of accuracy.
This implementation is still based on a Picard iteration framework, which is simpler but less efficient than a full Newton–Raphson scheme. However, the current results confirm that the overall numerical formulation is consistent and physically reliable, which is a key milestone before moving toward a more robust nonlinear solver.
Next steps include:
Improving convergence behavior of the nonlinear iterations
Transitioning from Picard to a Newton-based + Line Search implicit scheme
Further validation against a broader set of industrial benchmarks
Enhancing the remeshing transfer accuracy for internal variables
Add Norton-Hoff & Johnson Cook material models
This work is part of the broader OpenSource Mechanics effort focused on building and understanding industrial-grade finite element solvers from the ground up.
If you’re interested in FEM development, solver architecture, or large deformation mechanics, this series will continue to dive deeper into the implementation details.
1 month ago | [YT] | 9
View 2 replies
Open Source Mechanics
HUGE News!! Implicit u-p Solver is working!!
#FEM #Forging #Implicit #Quad #2D
The implicit mixed u–p Selective Reduced Interation quasi-static formulation with contact is now operational in 2D axisymmetric form. This completes the implementation of both the explicit and implicit computational frameworks for this class of problems.
The implicit approach is commonly used in industrial forming software such as DEFORM and Forge. In this implementation, it provides a complementary methodology to the explicit solver, particularly for:
Load and deformation verification.
Quasi-static analyses where explicit time integration becomes computationally expensive.
At this stage, the nonlinear system is solved using a successive iteration scheme.
As a next step, a Newton–Raphson procedure will be introduced to improve convergence behavior, while preserving the current formulation as the baseline implementation.
Some limitations were observed in the friction model due to a simplification in the contact formulation (see figure).
The same issue was previously encountered in the explicit solver and was resolved by incorporating the history of tangential displacements.
1 month ago | [YT] | 4
View 2 replies
Open Source Mechanics
Remap Improvement Goodbye Numerical drifting!!!
#FEM #Forging #Explicit #Quad #2D #Remapping #Martins #Remeshing
Up until now, remapping of element fields was performed using the nearest element.
With this approximation, numerical drifting could be observed. For example, in a plane strain compression test, the maximum values gradually moved upward in the domain.
This effect was not observed in 3D because the MMG remesher preserves the mesh for a relatively long time.
In contrast, the custom 2D remesher starts from a structured mesh generated from the bottom up, which caused this drifting.
This issue has now been fixed by including neighboring elements in the remapping procedure.
1 month ago | [YT] | 4
View 0 replies
Open Source Mechanics
WeldFormFEM First Load Test cases!
Comparison against industrial tools.
1 month ago | [YT] | 6
View 0 replies
Open Source Mechanics
20260218 - Quad Remeshing extremely improved !!!
#FEM #Forging #Explicit #Quad #2D #Contact #Martins #Remeshing
News!Remeshing algorithm i widely fixed, not only for 2D but also for original 3D.
Now can be reached extreme strains. Remeshing library has its own repo!
Check
opensourcemech.com/
1 month ago (edited) | [YT] | 8
View 0 replies
Open Source Mechanics
Quad remeshing is finally working on WeldFormFEM!
Ok, I have tested first version of Paulo Martin's Style UP implicit solver and is working smoothly!
It is a simple fixed point iteration Picard style, which will be the first iterations starter before switching to NR (which is already coded).
This is a Mixed VP formulation, rigid viscoplastic flow formulation, with quasi-static regime, updated lagrangian, with Norton-Hoff Material.
The pressure is obtaining by divergence penalization, and hence no stabilization (like PSPG) is needed.
Q1-P0 element is used, with selective integration.
I have migrated to C++ and is ready to add contact feature!
Check latest news:
opensourcemech.com/
1 month ago (edited) | [YT] | 15
View 0 replies
Open Source Mechanics
Quad Remeshing is almost done!
1 month ago | [YT] | 10
View 2 replies
Open Source Mechanics
2D Quad Contact is ready!
Next step is own remeshing algorithm.
Check mi page!
3 months ago | [YT] | 6
View 0 replies
Load more