|
[Sponsors] |
Interface Creation Problem with chtMultiRegionSimpleFoam |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 4, 2020, 07:35 |
Interface Creation Problem with chtMultiRegionSimpleFoam
|
#1 |
New Member
Join Date: Jun 2020
Posts: 1
Rep Power: 0 |
Hello everyone,
Im actually trying to solve a simple case of a solid heated tube (fff_solid region) with internal flow (fluid_fluid region). My mesh is imported from Fluent. I get the following message : Code:
--> FOAM FATAL ERROR: ' not type 'mappedPatchBase' for patch solid_fluid-zone_de_contact-trg of field T in file "/home/temisth/Documents/FlowHeatANDMultiRegion/chtMultiRegionSimpleFoam/TEM_Tube/0/fff_solid/T" and related threads but can not make it works for me Here are the following output i get from openfoam : From SplitMesh, it seems that the fluent interface is not automatically detected : Code:
Create time Create mesh for time = 0 Creating single patch per inter-region interface. Trying to match regions to existing cell zones. Number of regions:2 Writing region per cell file (for manual decomposition) to "/home/temisth/Documents/FlowHeatANDMultiRegion/chtMultiRegionSimpleFoam/TEM_Tube/constant/cellToRegion" Writing region per cell as volScalarField to "/home/temisth/Documents/FlowHeatANDMultiRegion/chtMultiRegionSimpleFoam/TEM_Tube/0/cellToRegion" Region Cells ------ ----- 0 183362 1 89410 Region Zone Name ------ ---- ---- 0 0 fluid_fluid 1 1 fff_solid Sizes of interfaces between regions: Interface Region Region Faces --------- ------ ------ ----- Reading volScalarField: T cellToRegion epsilon k p p_rgh Reading volVectorField: U Adding patches Adding patches Region 0 -------- Creating mesh for region 0 fluid_fluid Mapping fields Mapping field cellToRegion Mapping field k Mapping field p_rgh Mapping field p Mapping field T Mapping field epsilon Mapping field U Deleting empty patches Writing new mesh Writing addressing to base mesh Writing map pointRegionAddressing from region0 points back to base mesh. Writing map faceRegionAddressing from region0 faces back to base mesh. Writing map cellRegionAddressing from region0 cells back to base mesh. Writing map boundaryRegionAddressing from region0 boundary back to base mesh. Region 1 -------- Creating mesh for region 1 fff_solid Mapping fields Mapping field cellToRegion Mapping field k Mapping field p_rgh Mapping field p Mapping field T Mapping field epsilon Mapping field U Deleting empty patches Writing new mesh Writing addressing to base mesh Writing map pointRegionAddressing from region1 points back to base mesh. Writing map faceRegionAddressing from region1 faces back to base mesh. Writing map cellRegionAddressing from region1 cells back to base mesh. Writing map boundaryRegionAddressing from region1 boundary back to base mesh. End from Code:
solid_fluid-zone_de_contact-trg { type mappedPatchBase; nFaces 29210; startFace 179561; } Code:
solid_fluid-zone_de_contact-trg { type mappedWall; nFaces 29210; startFace 179561; sampleMode nearestPatchFace; sampleRegion fluid_fluid; samplepatch fluid_solid-zone_de_contact-src; } Code:
--> FOAM FATAL ERROR: Supply either a patchName or a coupleGroup for patch solid_fluid-zone_de_contact-trg in region fff_solid From function const Foam::word& Foam::mappedPatchBase::samplePatch() const in file mappedPatches/mappedPolyPatch/mappedPatchBaseI.H at line 67. Thank you Last edited by AC CFD; June 4, 2020 at 08:47. |
|
June 5, 2020, 16:58 |
Maybe a typo?
|
#2 |
Senior Member
Carlos Rubio Abujas
Join Date: Jan 2018
Location: Spain
Posts: 127
Rep Power: 11 |
I've just checked a tutorial case and the "p" in samplePatch is in upper case. OpenFoam is case sensitive so maybe the problem is there.
Code:
solid_fluid-zone_de_contact-trg { type mappedWall; nFaces 29210; startFace 179561; sampleMode nearestPatchFace; sampleRegion fluid_fluid; samplePatch fluid_solid-zone_de_contact-src; } |
|
November 14, 2022, 03:33 |
Supply either a patchName or a coupleGroup for patch solid_fluid-zone_de_contact-trg
|
#3 | |
New Member
Ding Yan
Join Date: Oct 2022
Posts: 10
Rep Power: 4 |
Quote:
|
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Can I achieve better convergence? | sheaker | CFX | 12 | September 19, 2019 16:36 |
Turbomachinery Mass imbalance | sheaker | CFX | 12 | September 5, 2019 09:09 |
Error - Solar absorber - Solar Thermal Radiation | MichaelK | CFX | 12 | September 1, 2016 06:15 |
Problem with porous flow at multi-material interface with large permeability diff. | Hisham | OpenFOAM Programming & Development | 1 | June 3, 2016 11:51 |
Replace periodic by inlet-outlet pair | lego | CFX | 3 | November 5, 2002 21:09 |