CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Screw Symmetry (https://www.cfd-online.com/Forums/openfoam-solving/240630-screw-symmetry.html)

bobuhito January 16, 2022 14:07

Screw Symmetry
 
Problems with screw symmetry (simplest example is just a tube with interior flow snaked around an infinitely long cylinder) could most easily be solved with a cyclic patch type with translation and rotation both applied, but it seems that cyclic only allows translation or rotation, not both.

Is there any reason that cyclic is so limited? or is there a different way to work these problems without changing the C code?

JulioPieri January 17, 2022 14:44

can't you use 180deg symmetry steps so you can use translational-only cyclic?

bobuhito January 17, 2022 17:53

Well, for the simplest example of a snaking tube, I could actually simulate two snaking tubes to get the symmetry you are talking about (and you could even fit more snaking tubes and reduce it to, for example, 30 degrees, depending on the radius of the tube relative to the radius of the central cylinder). But, for the general problem, equivalent cross sections with 180-degree or any rotational symmetry might be impossible.

Anyway, I'm mainly wondering why the cyclic type does not allow simultaneous rotation and translation. It seems trivial to stitch the boundaries/matrices like this, but then maybe numerical PISO algorithm has problems converging? I doubt there would be any problem on first thought.

JulioPieri January 18, 2022 08:45

It seems to be not possible in OF. Have a look at this post, where they also suggest a workaround, using noOrdering.

https://www.cfd-online.com/Forums/op...transform.html


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