Coupling patches in chtMultiRegionSimpleFoam
Hello to everyone!
I am running a case with chtMultiRegionSimpleFoam in which i have 4 different regions: 3 are solid and 1 is fluid. I've created a mesh for each region separately - each region has its own polyMesh - and generated the meshes by means of blockMesh -region. I've assigned a compressible::turbulentHeatFluxTemperature boundary condition on the external wall of a solid region - which is a boundary patch - and now i am wandering what should i assign to the internal wall of the same region and to the corresponding patch of the fluid region (the 2 patches that sould be coupled). I see that i cannot use compressible::turbulentTemperatureCoupledBaffleMix ed since it requires mapping - i went through the planeWall2D tutorial, but as i said i generated 4 different meshes instead of mapping one. What should i assign to the fluid/solid patches in the 0/T file? Thanks in advance! |
No one can help?
|
Hey! First of all: What OF-Version do you use? I had similar problems in the past, but then I detected gmsh and I created one big mesh with all regions. I assigned all relevant patches to physical surfaces; except for the boundary patches. If you assign physical volumes, in OF with
Code:
splitMeshRegions -cellZones -overwrite |
Hi! I use the 3.0.1 version.
I know there is that possibility, but since i already modelled the different regions i wanted to figure out if there is a possibility of coupling the patches in another way. |
But i do not understand, why you cannot use
Code:
compressible::turbulentTemperatureCoupledBaffleMix ed |
I've tried to apply that patch to both the solid and fluid region as in the planeWall2D case, but i receive the following error:
Code:
--> FOAM FATAL ERROR: |
Hi,
This error means that in the boundary file under constant/polyMesh, the highlighted patch has been specified as 'wall', while the compressible::turbulentTemperatureBaffleMixed is only available (again from the error message) if the type is 'mappedPatchBase'. So change the type to 'mappedPatchBase' in the boundary file and at the very least, this error message will be removed. Hope this helps. Cheers, Antimony |
Hello and thanks for the suggestion. Unfortunately it is the first thing i did but then i receive the following error:
Code:
--> FOAM FATAL ERROR: |
Do you have different Meshes in your constant/ folder? So chance the "mapped" in the constant/meshXX/boundary to "mappedWall". This has to be done for all meshes involved!
|
Sorry for the late answer.
I tried to change to mappedWall in the various constant/regionX/polyMesh/boundary files, but now I receive the following error: Code:
--> FOAM FATAL IO ERROR: |
Some one can help please?
|
Same issue
Hello Nikola,
I also created a very complex geometry of a ladle which is used in Steel operations. I already made different regions using blockMesh. Then I saw the plane2D wall case example for chtMultiRegionSimpleFoam. Then I tried to modify my mesh files so the format matches with the example. But when I run this case I too get the same error: patch type 'genericPatch' not type 'mappedPatchBase' in the T file for the mappedWall zone1_to_zone2. I used type compressible::turbulentTemperatureCoupledBaffleMix ed; Tnbr T; kappa fluidThermo; kappaName none; value uniform 1873; for the same. I am clueless. One possible solution I can think is to recreate the whole geometry using snappyhex and let splitMeshRegions -cellZones -owerwrite define all the boundaries between the different regions. ie (zone0_to_zone1, etc) Any help would be greatly appreciated! Thanks and regards, Singh. |
The answer has already been given. Change your patch type in all constant/meshXX/boundary files from wall to mappedWall.
As for Nkl issue. Here is an example from the tutorials: Code:
bottomAir_to_leftSolid |
Problem still persists
Quote:
First of all my gratitude for your answer. Yes I have already modified the wall type to mappedWall; I have tried a number of things here but still same error appears. I have used a format like this for all the boundaries: Code:
domain1_to_domain0 I would be very grateful if you may please point that out. I have also posted the whole problem, it might be useful to understand the whole case. Please take a look: http://www.cfd-online.com/Forums/ope...blockmesh.html My deepest thanks and regards, Prateek Singh. |
Quote:
Thanks a lot. Will it be possible to use the Y+utility to find yplus values for solid walls in contact with fluid in conjugate heat transfer problems (for the mappedWalls) ?for example chtMultiRegionSimpleFoam cases etc ? thanks |
Quote:
thanks |
mappedWall;
|
First of all: Super helpful thread and thanks to those responding! However, I have a follow-up question:
Is it possible to map patch a from region A to multiple patches 1, 2, 3 in region B or do I have to always create perfectly matching patches in both regions? Best, Henrinavier |
All times are GMT -4. The time now is 17:20. |