CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   cyclic conditions (https://www.cfd-online.com/Forums/openfoam/96840-cyclic-conditions.html)

Rickard.Solsjo February 2, 2012 11:09

cyclic conditions
 
Hi all
I just want a quick and dirty description of how to create cyclic conditions in openfoam

Lets say I have 1/4 of a spray bomb
What do I name the patches in blockMeshDict
and
what do I do in createPatchDict?

Ive been looking around for a few explanations and it seems like this is a relevant issue to be more explained.

Regards
Rick

stevenvanharen February 3, 2012 06:45

Just mesh your domain using patches in blockMesh.

Then use createPatch to generate cyclics. Just as you describe.

Look in:

$FOAM_APP/utilities/mesh/manipulation/createPatch

For an example for rotational cyclics in the example createPatchDict.

Rickard.Solsjo February 3, 2012 07:02

Okay, so basically:
If I add two patches under the same name, then in createPatchDict I just specify this name and it understands that these two are connceted.
I thought I had to name the patches with different names

Regards
R

stevenvanharen February 3, 2012 08:06

No, use two names for your two patches in de blockMeshDict, and then for example:

Code:

patches (inlet outlet);
In createPatchDict.


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