CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM (http://www.cfd-online.com/Forums/openfoam/)
-   -   Boundary Condition for region coupling and scalar transport (http://www.cfd-online.com/Forums/openfoam/112465-boundary-condition-region-coupling-scalar-transport.html)

RugbyGandalf January 29, 2013 10:48

Boundary Condition for region coupling and scalar transport
 
Dear Foam - Community,

i am working on a solver, that is able to handle multiRegions, nonNewtonian fluids and passive scalar transport. The solver is set up, but i do not know, how to define the coupled boundaries, so that the scalar-transport (through diffusion) works.

I tried the "mixed" BC, but that did not work well.

Does anyone has an idea what BC to use and how to use it?

Thank you very much in forecast.

Regards,

Martin

RugbyGandalf January 30, 2013 04:51

Update:

I figured out, that one has to define the patches in the boundary-file as follows:

...boundary-file - region2....
minX2
{
type mappedWall;
nFaces 100;
startFace 8600;
sampleMode nearestPatchFace;
sampleRegion solid1;
samplePatch maxX1;
offsetMode uniform;
offset ( 0 0 0 );
}
...

...boundary-file - region1....
minX2
{
type mappedWall;
nFaces 100;
startFace 8600;
sampleMode nearestPatchFace;
sampleRegion solid2;
samplePatch minX1;
offsetMode uniform;
offset ( 0 0 0 );
}
...

But I still do not know, how to define the boundary in time-direction-folder / variable-file...

Any ideas?

Regards,

Martin


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