CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (http://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Motion interFoam and icoFoamAutoMotion (http://www.cfd-online.com/Forums/openfoam-solving/60347-motion-interfoam-icofoamautomotion.html)

lr103476 January 18, 2006 09:20

What is the difference between
 
What is the difference between the implementation of mesh motion between the following two solvers: interFoam and icoFoamAutoMotion.

Thanks, Frank

hjasak January 18, 2006 09:49

From the mesh motion side, non
 
From the mesh motion side, none really. I don't know which version you're looking at, but now both solvers should have the run-time selectable mesh motion and have the option of using the automatic mesh motion solver.

Algorithmically, the icoFoamAutoMotion solver uses the relative flux formulation of the pressure equation whereas interFoam works wih absolute fluxes.

Enjoy,

Hrv

lr103476 January 18, 2006 10:31

I am running OpenFOAM 1.2.
 
I am running OpenFOAM 1.2.

As far as I can see, the icoFoamAutoMotion solver takes care of the motion using the motionSolver.C class. The way the unsteady boundary motion could be implemented is by applying transient boundary conditions on motionU.

On the other hand, interFoam uses the movingFvMesh.C class to move/deform the mesh. According to this implementation it is possible to write a user defined class, like movingFlapFvMesh or movingInkjetFvMesh. Then the main motion parameters, like frequency and amplitude, can be run time selectable. In fact I want to implement the movingFlapFvMesh into icoFoamAutoMotion, is that possible?

Is my understanding correct, or not?

Thanks, Frank

hjasak January 18, 2006 10:44

Yup, just rip out the movingFv
 
Yup, just rip out the movingFvMesh stuff form the interFoam solver and put it into (your own version) of icoFoamAutoMotion, update the call syntax, make sure moving flap is linked in and you're in business. I have already done so for the next release.

Hrv


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