CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM (http://www.cfd-online.com/Forums/openfoam/)
-   -   Connecting copies of meshes to a single mesh (http://www.cfd-online.com/Forums/openfoam/69384-connecting-copies-meshes-single-mesh.html)

Louis Le Grange October 21, 2009 08:27

Connecting copies of meshes to a single mesh
 
1 Attachment(s)
Hi

Please see attached picture regarding the problem.

I have three regions in which I want to solve for temperature; solid 1 to 3. Solids 1 and 2 are physically connected while solid 3 (a copy of the solid 1 mesh) is unconnected and physically seperate.

By using the methodology of chtMultiRegionFoam, solids 1 and 2 get coupled through interfaces reading solid1_to_solid2 and solid2_to_solid1.
Does OpenFOAM provides for coupling additional mesh regions - in this case solid 3 to solid 2?

The case is different from where partial coupling of patches is considered - in this case the boundary face areas of solid 1 and solid 3 are equal and needs to match or couple fully on the boundary interface of solid 2. In other word, the boundary areas for solids 1, 2 and 3 at the interfaces are the same. The physical problem of partial heat flow between solids 1 to 3 are handled through using porosities in solids 1 and 3.

The case above finds application in a porous region where energy conservation needs to be solved in both the flow and the solids representing the porosity. Both the flow region and the solid porous region exhanges heat to an adjacent solid material.

I will appreciate any help on this.

Thanks,
Louis

Louis Le Grange November 6, 2009 10:02

Connecting copies of meshes to a single mesh
 
Hi

I have found a way to connect multiple meshes to one (multiple patches to one patch). Version 1.6 was used. Hope to post an example later.

Louis

Louis Le Grange November 14, 2009 09:01

If I in the future don't commit to my own promise of an example... here follows what is needed:

1. The quantities that will be affected by the multiple faces of equal size are the cell volumes and the cell centers. So before these are calculated multiply all the face areas that are duplicates by 1/n where 'n' is the number of faces in question.
2. Now call the volume and cell center functions - typically mesh.V() and mesh.C().
3. In a correction step multiply all the face areas that are duplicates again but now with n where 'n' is the number of faces in question.

Regards,
Louis


All times are GMT -4. The time now is 02:28.