CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Meshing & Mesh Conversion (https://www.cfd-online.com/Forums/openfoam-meshing/)
-   -   [blockMesh] Mapping - clear assignment of meshtools and BC's (https://www.cfd-online.com/Forums/openfoam-meshing/187256-mapping-clear-assignment-meshtools-bcs.html)

desip May 2, 2017 12:04

Mapping - clear assignment of meshtools and BC's
 
Hey everyone,

I have a understanding problem with the mapping in OpenFOAM. It's a little complicated to describe, but I try as good as I can, even if it resulted in some more words than planned :) Alright, let's go: if I want to map a patch, I need to define the patch which should be mapped in my blockMeshDict.

e.g. like this:
inlet
{
type mappedPatch;
//sampleRegion region0; //default
sampleMode nearestPatchFace;
samplePatch outlet; //none;
offsetMode uniform;
offset (0.4 0 0);
faces
(
(0 4 7 3)
);
}

Than I use one of the numerous mapping BC's in the 0 dir for the parameters which should be mapped between the patches. So far so good...

BUT than I found severall posts here, where different kind of types were used in the blockMeshDict: For instance mapped or mappedField. These types are defined as BC in src/finiteVolume/fields. So I questioned if there is a clear seperation between the type definition for your mesh and the BC type for the parameters.

I searched in the source files and found some files under meshTools which gives the type mappedPatch, mappedWall and some wonderful definitions in matchedPatchBase. So that was where my mappedPatch type is defined but no sight of mapped or mappedField...
So I tried to use mappedPatch as the blockMeshDict type and mappedField for my fields - and it is working..... I'm kind of confused :confused:

So my questions:
Which effect has the selected mapping type in my blockMeshDict? It doesn't seem like there is an effect for the sampleModes or something...

Kind regards
Désirée


All times are GMT -4. The time now is 06:26.