CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[blockMesh] Mapping - clear assignment of meshtools and BC's

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 2, 2017, 12:04
Default Mapping - clear assignment of meshtools and BC's
  #1
New Member
 
Join Date: Jan 2015
Posts: 3
Rep Power: 11
desip is on a distinguished road
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

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
desip is offline   Reply With Quote

Reply

Tags
mapped boundary condition, mapped mesh


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 14:01.