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/)
-   -   There are non-conformal cyclic bc in OF 2.0.x? (http://www.cfd-online.com/Forums/openfoam-solving/94378-there-non-conformal-cyclic-bc-2-0-x.html)

ivan_cozza November 14, 2011 07:00

There are non-conformal cyclic bc in OF 2.0.x?
 
Hi foamers,
I need to simulate a case with non-conformal cyclic bc (i.e. the mesh on the two sides of the cyclic interface cannot be the same). Is there any chance to do it in OF 2.0.x or the only way is to use OF-ext?

Thanks!
Ivan

laurensvd November 15, 2011 06:07

Is the geometry different or the mesh? Maybe you can check into the directmappedfield boundary condition.

ivan_cozza November 15, 2011 06:11

Quote:

Originally Posted by laurensvd (Post 332157)
Is the geometry different or the mesh? Maybe you can check into the directmappedfield boundary condition.

The geometry is the same, but the mesh is not, as it is produced by an automatic mesh generator.

How does directmappedfield work?

Thanks a lot,
Ivan

ivan_cozza November 15, 2011 06:26

And more, my cyclic boundaries are circular periodic.

laurensvd November 15, 2011 06:34

I dont know anymore exactly how it works but check the source OFdir/src/finiteVolume/fvPatchFields/derived

There are several version of this direct mapped field and inside the code you can see at the top which information they require. Basically you need to declare somewhere the patch that you want mapped on the patch that you apply the BC to. I dont know if you can do that for both your patches as to simulate a cyclic condition.

danishdude November 21, 2011 14:59

Have you gotten this to work? If so, could you post the solution. Thanks,

-Michael

ivan_cozza November 24, 2011 07:34

No Michael,
unfortunately it actually doesn't work, as directMapped is mono-directional, is not possible a two-way coupling. Up to now it seems that the only solution is cyclicGGI, but you have to install the ext version...


All times are GMT -4. The time now is 12:15.