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

chtMultiRegionSimpleFoam: Confusion in geometry creation using blockMesh

Register Blogs Community New Posts Updated Threads Search

Like Tree5Likes
  • 1 Post By Bloerb
  • 2 Post By derekm
  • 2 Post By Bloerb

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   July 15, 2016, 08:05
Default chtMultiRegionSimpleFoam: Confusion in geometry creation using blockMesh
  #1
Member
 
Sing
Join Date: Jan 2016
Posts: 30
Rep Power: 10
Struggle_Achieve is on a distinguished road
Hello Foamers,

First of all I apologize for being a newbie (noob). But I am trying to learn openfoam by my own. And it gets really difficult when I encounter such problems.

From some time I have been trying to simulate a problem involving heat transfer between fluid and solids, using chtMultiRegionSimpleFoam for the case of a ladle which is used in continuous casting of steel.

I created the slightly complicated mesh using blockMesh. The mesh has three different regions i.e. two solid and one liquid.

My first doubt is that I created all the boundaries of these regions separately which means that for a common boundary there are two different face/wall which lies in the respective region. Is this fine?
for example if you see the attached figures: for domain0 I defined the curvedWalls and for domain1 I defined the same wall (using different vertices number) as sideLayerInnerWalls.

The second dumb doubt arose when I run blockMesh followed by splitMeshRegions -cellZones -overwrite as that did not create any domain*_to_domain* like mappedWalls in constant/domain*/polyMesh/boundary files as given in the tutorial. And that is also obvious that why a third boundary would be created for the common boundary whom I already assigned two different names!!

But at this I did not stop I was so desperate to run this that I modified the files in constant/* so that they match with the case given in tutorial.

I noticed that in the tutorial there were no common boundaries mentioned in constant/polyMesh/boundary file so I did the same with my case file.

and also in the tutorial the common boundaries in constant/domain*/polyMesh/boundary files were of type domain*_to_domain*, so I manually changed the boundaries named curvedWalls, sideLayerInnerWalls to domain0_to_domain1, domain1_to_domain0 and so on. I tried to keep the format same as well like:
Code:
  domain0_to_domain1
    {
        type            mappedWall;
        inGroups        1(wall);
        nFaces          4000;
        startFace       299600;
        sampleMode      nearestPatchFace;
        sampleRegion    domain1;
        samplePatch     domain1_to_domain0;
    offsetMode uniform;
    offset (0 0 0);
    }
But after setting the whole case with similar conditions in 0 and system folder I get this error:

Code:
[1016914@hpc4 Ladle_Tapered_Edited]$ chtMultiRegionSimpleFoam 
/*---------------------------------------------------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  2.3.1                                 |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
Build  : 2.3.1-262087cdf8db
Exec   : chtMultiRegionSimpleFoam
Date   : Jul 15 2016
Time   : 12:41:35
Host   : "hpc4"
PID    : 41191
Case   : /home/1016914/Ladle_Tapered_Edited
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Allowing user-supplied system call operations

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

Create fluid mesh for region domain0 for time = 0

Create solid mesh for region domain1 for time = 0

Create solid mesh for region domain2 for time = 0

*** Reading fluid mesh thermophysical properties for region domain0

    Adding to thermoFluid

Selecting thermodynamics package 
{
    type            heRhoThermo;
    mixture         pureMixture;
    transport       const;
    thermo          hConst;
    equationOfState rhoConst;
    specie          specie;
    energy          sensibleEnthalpy;
}

    Adding to rhoFluid

    Adding to UFluid

    Adding to phiFluid

    Adding to gFluid

    Adding to turbulence

Selecting turbulence model type laminar
    Adding to ghFluid

    Adding to ghfFluid

Selecting radiationModel none
    Adding fvOptions

No finite volume options present

*** Reading solid mesh thermophysical properties for region domain1

    Adding to thermos

Selecting thermodynamics package 
{
    type            heSolidThermo;
    mixture         pureMixture;
    transport       constIso;
    thermo          hConst;
    equationOfState rhoConst;
    specie          specie;
    energy          sensibleEnthalpy;
}



--> FOAM FATAL ERROR: 

    patch type 'genericPatch' not type 'mappedPatchBase'
    for patch domain1_to_domain0 of field T in file "/home/1016914/Ladle_Tapered_Edited/0/domain1/T"

    From function turbulentTemperatureCoupledBaffleMixedFvPatchScalarField::turbulentTemperatureCoupledBaffleMixedFvPatchScalarField
(
    const fvPatch& p,
    const DimensionedField<scalar, volMesh>& iF,
    const dictionary& dict
)

    in file derivedFvPatchFields/turbulentTemperatureCoupledBaffleMixed/turbulentTemperatureCoupledBaffleMixedFvPatchScalarField.C at line 105.

FOAM exiting
Attaching the link for the whole case:
https://www.dropbox.com/sh/kl2ubckw9...1X5WZ24ba?dl=0

NOTE: domain0 is fluid, domain1 & domain2 are solid.

I would be very obliged if I may get some help for this case.

Thanks and regards,
Singh.
Attached Images
File Type: jpg wholegeom.jpg (87.2 KB, 37 views)
File Type: jpg domain0.jpg (46.3 KB, 38 views)
File Type: jpg domain1.jpg (57.1 KB, 32 views)
File Type: jpg domain2.jpg (25.2 KB, 32 views)
Struggle_Achieve is offline   Reply With Quote

 


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
[ICEM] Complex geometry creation nirmal_singh ANSYS Meshing & Geometry 0 January 3, 2016 20:13
[DesignModeler] geometry creation kmgraju ANSYS Meshing & Geometry 0 November 18, 2012 22:30
Best free tool for Geometry creation mmkr825 OpenFOAM 12 October 8, 2012 02:53
[snappyHexMesh] Internal geometry invisible and merely reflects on blockMesh sgl OpenFOAM Meshing & Mesh Conversion 15 July 5, 2012 20:25
star ccm+ new geometry part creation krishna086 STAR-CCM+ 0 November 24, 2010 11:17


All times are GMT -4. The time now is 21:45.