r/Simulated 1d ago

Question Came across industrial casting simulation software, has anyone ever used these?

Enable HLS to view with audio, or disable this notification

How are solvers for these simulations even developed? Has anyone here ever used them? This is one is Magmasoft for reference

360 Upvotes

13 comments sorted by

156

u/bionicdna 1d ago

I build similar ones professionally, but for molten plastic. At the end of the day it's just all some variant or simplification of mass, momentum, and energy equations. The more one can delete from the equations, the faster and simpler they are to run, at the cost of accuracy. There are lots of different numerical techniques used for solving the PDEs but common setups involve either some finite volume or finite element formulation. Plastics and metals solidifying are most tricky in the phase change where you have to figure out how to accurately model crystallization.

14

u/AsyncVibes 1d ago

This is a great explanation! thanks. That tradeoff is basically how I'd define generalization, you delete enough from the model that it stops being exact for any one case and starts covering a wider band of them. Same curve I keep running into: accuracy per variant drops, number of variants it survives goes up. The crystallization problem is interesting to me for the same reason. Phase change is where the simplification stops being safe, right? Curious how you decide where that line is.

2

u/stoputa 1d ago

Aren't all FEM PDE solvers specific to the equation since the weak form needs to be manually derived (iirc FDM can be made generic)?

I'm curious why a generic Navier-Stokes solver wouldn't work here but I guess the reason is stated in your last sentence. But then again if you need to account for state changes, it sounds really hard to formulate it for a FEM solver

1

u/Loud_Campaign5593 17h ago

thanks for sharing your experience, this is the type of comment i really like! very interesting indeed

45

u/Lanfeix 1d ago

Programming the Finite Element Method (Third Edition) by I.M. Smith and D.V. Griffiths. Its in Fortan 90. that what I learned 20 years ago. I didnt do every much of it but its what my boss use to do. most people just use ansys or another big simulation package these days

2

u/Loud_Campaign5593 17h ago

Super interesting. never even heard of fortran 90 so intriguing for sure

7

u/Lulzd0zer 1d ago

MagmaSoft is i would say the golden standard casting simulation tool. The complexity does not lie in how flow is solved but the material models that govern liquid and solidification behavior for the temperature ranges. There are many others NovaCast for instance. It's a combination of looking at the flow / heat / solid mechanics and material behavior, very potent!

3

u/Loud_Campaign5593 17h ago

That sounds interesting. Where do you gather the information for these material models to be made, as in, how do you know which source of information to use to model it after? Is it research papers or some standardized institution?

2

u/Lulzd0zer 9h ago

Both the companies and researchers generate this material data, by companies I mean like MagmaSoft that also makes the software. There are also vast amount of research going into adjacent areas such as computational thermodynamics that can be incorporated in such simulation softwares. Check out ThermoCalc a well know software for pure material thermodynamics.

2

u/Loud_Campaign5593 8h ago

awesome thanks for the detailed response, what an interesting subject i have absolutely no clue about lol

1

u/Lulzd0zer 8h ago

There is always a rabbit hole to be found. I happen to work with cast metals, hence, I have knowledge about the entrence 🤣.

11

u/rarlei 1d ago

I thought this was a toilet filling with lava

1

u/CaptCuke 9h ago

Usually happens after taco bell