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/)
-   -   moveDyMEnigneMesh in foam-extend-3.2 (https://www.cfd-online.com/Forums/openfoam-programming-development/185073-movedymenignemesh-foam-extend-3-2-a.html)

zhouqy1994 March 18, 2017 02:59

moveDyMEnigneMesh in foam-extend-3.2
 
i am trying to use moveDyMEnigneMesh in foam-extend-3.2

but some questions confuse me

1#as known, offset in engineGemetry file represents the distance from piston patch to dynamic layering. i have changed the value of offset from 0 to 0.08, but the pistonLayerfaces-facezone in paraview surprisingly never moved, do you have any idea about that?

2#what does the axis and direction vetor in the piston subdict mean?
piston
{
patch piston;

coordinateSystem
{
//type cartesian;
type cylindrical;
origin (0 0 0);
axis (0 0 1);
direction (1 0 0);
}
minLayer 0.002;
maxLayer 0.005;

i dig the codes for a whole day, the only thing i have found is that the axis
and direction are used to generate a tensor to realize the translation between local and global coordinate. due to the limitaton of my knowledge, i don't figure out how the tensor realize the translation ?


thanks a lot


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