CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Pre-Processing

Cyclic boundary with a rotational and translational transform

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 5, 2016, 04:51
Question Cyclic boundary with a rotational and translational transform
  #1
New Member
 
Join Date: Apr 2015
Posts: 1
Rep Power: 0
jaaybee is on a distinguished road
Hello Everybody,

i have a question due to the cyclic boundary condition. I want to combine the transform option: translational and rotational. But if i wirte it together in one file (blockMesh.dict or createPatch.dict) Openfoam only read the last command. My back patch is shifted in X and Y direction. Does OpenFoam have any command to match my front and back patch with a rotational transform and a translational transform?

Many thanks in advance for your support!

Jens
jaaybee is offline   Reply With Quote

Old   February 13, 2018, 09:17
Question Combine rotation + translation cyclic boundaries
  #2
Member
 
William Tougeron
Join Date: Jan 2011
Location: Czech Republic
Posts: 70
Rep Power: 15
taalf is on a distinguished road
Hi all,

I am facing the same issue.

I need to connect two patches whose relative position can be defined only by a combination of a rotation + a translation.

Cyclic boundaries are perfect to do that, but the built-in solution allows only pure rotation or pure translation.

Does anybody have any idea how to implement rotation+translation cyclic boundaries ? Or is there some alternative built-in solution ?

Best regards,
taalf is offline   Reply With Quote

Old   September 27, 2019, 17:34
Default Combine rotation & translation transforms
  #3
Member
 
Brock Lee
Join Date: Sep 2012
Location: Midwest
Posts: 40
Rep Power: 13
GRAUPS is on a distinguished road
I am also interested in the answer to this question. It seems to only allow one or the other.

Code:
cycout
    {
        type            cyclicAMI;
        inGroups        1(cyclicAMI);
        nFaces          0;
        startFace       79747;
        matchTolerance  0.0001;
        neighbourPatch  cycin;
        transform       translational; // rotational       
        separationVector (0 -0.048568 0.096656);
        //rotationAxis (1 0 0);
        //rotationCentre (0 0 0);
        //rotationAngle 30; // optional
    }
GRAUPS is offline   Reply With Quote

Old   September 30, 2019, 03:15
Default
  #4
Member
 
William Tougeron
Join Date: Jan 2011
Location: Czech Republic
Posts: 70
Rep Power: 15
taalf is on a distinguished road
Hi,

In that time I asked to some OpenFOAM code expert. He said this is just not possible in OpenFOAM...

Can I ask a bit more detail about what you want to do? To see if the alternative I used can work also in your case?

All the best,
taalf is offline   Reply With Quote

Old   September 30, 2019, 12:11
Default
  #5
Member
 
Brock Lee
Join Date: Sep 2012
Location: Midwest
Posts: 40
Rep Power: 13
GRAUPS is on a distinguished road
Hi William,

Thanks for your response. Did the OpenFOAM expert say whether it was simply a current functionality limitation, or was it a deeper more difficult to solve limitation? The functionality appears to be there, it just needs to be combined in a way so that it works.

I'm currently looking to simply connect two water flow pipes of the same diameter with different meshes and at a position that can't be represented by a single transform.
GRAUPS is offline   Reply With Quote

Old   September 30, 2019, 13:27
Default
  #6
Member
 
William Tougeron
Join Date: Jan 2011
Location: Czech Republic
Posts: 70
Rep Power: 15
taalf is on a distinguished road
Hi Brock,

As surprising as it is, yes, it's a deeper problem.

My issue was quite similar. What I did was to connect pipes with physical meshes that overlap the main mesh.

In OF you can make cells overlapping each other. They just ignore each other.

So, I meshed the domain, then the linking pipe(s) separately, then use the mergeMesh command (just puts all cells in a single polyMesh) and cyclicAMI patches (with "noOrdering" transform - meaning no transformation) to connect everything.

Like this you can link your pipes with original mesh untouched (you just add to it overlapping mesh linking pipes).

Hope this helps...

All the best,
taalf is offline   Reply With Quote

Old   October 29, 2020, 17:37
Default
  #7
New Member
 
Giorgio Negrini
Join Date: Feb 2020
Location: Milan
Posts: 13
Rep Power: 6
alfiogn is on a distinguished road
Hi,

I have the same issue... I have to make cyclic an inlet and outlet.

My case is a single screw extruder and I don't want to simulate an entire geometric periodicity of the screw. Hence I consider only a fourth of it and wanna map the inlet rotational velocity profile to the outlet BUT rotated by 90 degrees.

Does someone have found a solution to this issue or it is also an open issue?

Thanks a lot
Giorgio
alfiogn is offline   Reply With Quote

Old   February 14, 2024, 06:24
Default
  #8
New Member
 
Mateusz Piecuch
Join Date: Feb 2022
Posts: 4
Rep Power: 4
mpiecuch is on a distinguished road
Hi, has anyone tried to use cyclicAMI for the described problem in two stages, for example in the first cyclicAMI using translational transformation and in the second cyclicAMI using rotational transformation?
mpiecuch is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cyclic Boundary creation, what's the meaning of "separationVector" panda60 OpenFOAM 5 April 12, 2023 17:51
createPatch cyclic boundary condition KateEisenhower OpenFOAM Pre-Processing 3 September 4, 2018 14:30
Translational Boundary Conditions along with Rotational Periodic Boundary Conditions bluemanboy FLUENT 1 March 6, 2017 01:30
rotational and noOrdering and translational gdi12 OpenFOAM Pre-Processing 1 June 16, 2015 04:34
Waterwheel shaped turbine inside a pipe simulation problem mshahed91 CFX 3 January 10, 2015 11:19


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