|
[Sponsors] |
chtMultiRegionSimpleFoam: Confusion in geometry creation using blockMesh |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 15, 2016, 08:05 |
chtMultiRegionSimpleFoam: Confusion in geometry creation using blockMesh
|
#1 |
Member
Sing
Join Date: Jan 2016
Posts: 30
Rep Power: 10 |
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); } 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 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. |
|
|
|
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 |