filmov
tv
Stone skipping - Fluid Mechanics - Overset grid - overInterDyMFoam - OpenFOAM 2112
Показать описание
Overset gridding refers to the use of multiple disconnected grids to discretize the flow domain, which can overlap each other. For moving objects, you would typically have a fixed base grid, discretizing the entire flow domain, and a second grid discretizing the zone around the object in greater detail, which would move following the object itself. With that setup you can always have great discretization where you need it, regardless of how much the object moves.
OpenCFD's version of OpenFOAM includes a wide array of Overset-Grid-capable solvers.
The case uses the overInterDyMFoam multiphase solver. The fixed mesh has a 5mm horizontal and 2.5mm vertical discretization (which is too coarse to solve splashing accurately); meanwhile, the mesh around the disk has a 1mm cell size, with further refinement near the surface. The disk motion is solved with six degrees of freedom, without any constraint.
As always, nothing is perfect, and the overset grid technique has some drawbacks.
The main one I found is that the mesh-to-mesh geometric mapping, which needs to be performed every time the object moves (every timestep!), is a bit slow, and accounted for ~ 50% of the simulation time in this case. Without looking into the implementation in depth, I have the impression that it is done from scratch every time, which is probably unnecessary (displacements are small on a single time step), so maybe this could be optimized in the future.
Another commonly pointed limitation is that this technique is not rigorously mass-conserving, but I don't think that is a big problem for cases like this one.
In case you want to take a closer look at how the model is put together, I have uploaded the case to #GitHub:
#cfd #mesh #multiphase #OpenFOAM #grid #numericalmodeling #computationalhydraulics #mechanicalengineering #mechanical #research #simulation #cae #fluiddynamics #fluidmechanics #turbulence #aerodynamics #automative #aerospace #flow #motorsport #openfoam #ansys #starccm #opensource #technology
OpenCFD's version of OpenFOAM includes a wide array of Overset-Grid-capable solvers.
The case uses the overInterDyMFoam multiphase solver. The fixed mesh has a 5mm horizontal and 2.5mm vertical discretization (which is too coarse to solve splashing accurately); meanwhile, the mesh around the disk has a 1mm cell size, with further refinement near the surface. The disk motion is solved with six degrees of freedom, without any constraint.
As always, nothing is perfect, and the overset grid technique has some drawbacks.
The main one I found is that the mesh-to-mesh geometric mapping, which needs to be performed every time the object moves (every timestep!), is a bit slow, and accounted for ~ 50% of the simulation time in this case. Without looking into the implementation in depth, I have the impression that it is done from scratch every time, which is probably unnecessary (displacements are small on a single time step), so maybe this could be optimized in the future.
Another commonly pointed limitation is that this technique is not rigorously mass-conserving, but I don't think that is a big problem for cases like this one.
In case you want to take a closer look at how the model is put together, I have uploaded the case to #GitHub:
#cfd #mesh #multiphase #OpenFOAM #grid #numericalmodeling #computationalhydraulics #mechanicalengineering #mechanical #research #simulation #cae #fluiddynamics #fluidmechanics #turbulence #aerodynamics #automative #aerospace #flow #motorsport #openfoam #ansys #starccm #opensource #technology
Комментарии