CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (http://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   build an own scalarTransportDyMFoam (http://www.cfd-online.com/Forums/openfoam-programming-development/104426-build-own-scalartransportdymfoam.html)

fisch July 9, 2012 13:56

build an own scalarTransportDyMFoam
 
Hi.
I have a question regarding a scalarTransportDyMFoam.
Unfortunately i didn't find a threat how to do it.

i tried like this:

- change the mesh to a dynamic mesh

inside the loop:
mesh.update()
makeRelative(phi,U)

solve...

makeAbsolute(phi,U)

Now my questions:
What is missing? Do i need some correctBoundaryConditions()?
Is the thing with makeAbs and MakeRel correct?

Why is my U field not changing due to the mesh motion? It seems that it stays constant over time (but it should not)...

Thank you very much for any hints and help


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