CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Mapping Two Solids to Another

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 18, 2021, 11:05
Default Mapping Two Solids to Another
  #1
New Member
 
Join Date: Nov 2020
Posts: 14
Rep Power: 6
Enternald is on a distinguished road
Hi All,

I am using chtMultiRegionFoam and have three regions of interest. As shown in the picture below I am looking to map regions 1 and 2 to the 3rd region. Previously I only had region 1 and 3 and used compressible::turbulentTemperatureCoupledBaffleMix ed.

I did the following:

threeIn_to_oneOut
{
type mappedWall;
inGroups List<word> 1(wall);
nFaces 100;
startFace 15900;
sampleMode nearestPatchFace;
sampleRegion one;
samplePatch oneOut_to_threeIn
}

threeIn_to_twoOut
{
type mappedWall;
inGroups List<word> 1(wall);
nFaces 100;
startFace 15900;
sampleMode nearestPatchFace;
sampleRegion two;
samplePatch twoOut_to_threeIn
}

The error I am getting is "Expected a ')' or a '}' while reading PtrList, found on line 43 the word 'threeIn_to_poresOut'. This is in my boundary file; I assume it is taking threeIn's value from the first list and then getting confused why I am putting another list with the same name? Does anyone know how I go about resolving this problem?
IMG_0120.jpg
Enternald is offline   Reply With Quote

Reply

Tags
chtmultiregionfoam, mapping, regions


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Other] dynamicTopoFVMesh and pointDisplacement RandomUser OpenFOAM Meshing & Mesh Conversion 6 April 26, 2018 08:30
[mesh manipulation] Importing Multiple Meshes thomasnwalshiii OpenFOAM Meshing & Mesh Conversion 18 December 19, 2015 19:57
CFB solids flow rate 694005136 Main CFD Forum 0 June 6, 2012 10:31
solid to fluid heattransfer with chtMultiRegionFoam nakor OpenFOAM 11 March 21, 2011 09:28
[Gmsh] Import gmsh msh to Foam adorean OpenFOAM Meshing & Mesh Conversion 24 April 27, 2005 09:19


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