CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (https://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   Add mesh refinement to solidDisplacementFoam solver (https://www.cfd-online.com/Forums/openfoam-programming-development/242772-add-mesh-refinement-soliddisplacementfoam-solver.html)

j-avdeev May 10, 2022 12:39

Add mesh refinement to solidDisplacementFoam solver
 
Hi, foamers.

I am trying to make solidDisplacementFoam solver with adaptive mesh refinement support. Initially I use solidDisplacementFoam from OF v9 foundation branch.

As was mentioned previously I just need to "add the dynamicFvMesh lib to the solver, derive the mesh creation out of that library" and do not forget to recalculate the fluxes for updated mesh.

But I am stuck on "how to update fields for new mesh". Most of examples from OF distribution are about updating fluid fields (phi, U - correctPhi.H), but what should I do in case of solidDisplacementFoam solver?
How should look updating of displacement D field?

Any thoughts are appreciated.

Thanks.


All times are GMT -4. The time now is 12:51.