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/)
-   -   Modifying dynamic mesh solver (https://www.cfd-online.com/Forums/openfoam-programming-development/212275-modifying-dynamic-mesh-solver.html)

ianjikar November 29, 2018 21:21

Modifying dynamic mesh solver
 
Hi
I would like to modify simplefoam solver to incorporate an equation based mesh motion. Also the mesh motion will occur when it is close to other given mesh. The equation used for mesh motion consists of surface area term.

I would like to know, if there is a way to tell the solver to check cells which are close to or touching other mesh, calculate the surface area of that cell and then implement mesh motion based on below equation.
// movement of surface point of cell in outward direction (Δx) = surface area * constant //

I am a beginner in c++ programming, so please consider that while replying.
Thank you.


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