CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Mapping Lagrangian particles in deforming mesh (https://www.cfd-online.com/Forums/openfoam-solving/245245-mapping-lagrangian-particles-deforming-mesh.html)

tkr September 23, 2022 09:00

Mapping Lagrangian particles in deforming mesh
 
I would like to map the fields of a case onto a slightly deformed geometry of another case with a different mesh. The dynamic mesh motion is calculated with dynamicMotionSolverFvMesh. Meshing is done with geometries in snappyHexMesh. Mapping of the fields did work, even after changing the solver from pimpleFoam to kinematicParcelFoam. The problem comes with the introduction of lagrangian particles to the simulation. The lagrangian fields are mapped just fine with mapsFieldsPar, but the pointDisplacement cannot be transferred and thus the case fails to solve, as it “cannot find file $TIMESTEP/pointDisplacement”.
In this question (https://www.cfd-online.com/Forums/op...mapfields.html) I found that fvMesh could be replaced by solidBodyMotionFvMesh, but as described in https://openfoamwiki.net/index.php/DynamicMeshDict, this option only works when the mesh topology does not change. Mesh topology change is not evitable in this case.
The settings of the dynamicMeshDict are:
Code:

dynamicFvMesh    dynamicMotionSolverFvMesh;
motionSolverLibs    ("libfvMotionSolvers.so");
motionSolver    displacementSBRStress;
diffusivity      uniform;

Do you have an idea on how to solve this problem?


All times are GMT -4. The time now is 05:00.