|
[Sponsors] |
Multiple patch types for different mesh regions |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 10, 2017, 06:34 |
Multiple patch types for different mesh regions
|
#1 |
Member
Marc
Join Date: May 2017
Posts: 42
Rep Power: 9 |
Hi,
I'm working on a conjugate heat transfer multi-region case, the mesh can be seen in the first attachment. After snappyHexMesh, the mesh is divided into a solid and a fluid region (seen in the next two attachments). The walls (i.e. all boundaries excluding inlet and outlet) in blockMesh from which the mesh is built from are set as symmetryPlane. My aim is to have the fluid walls as "symmetryPlane" but the solid walls as "wall" because I want to set a fix temperature to them. I tried editing constant/solid/polyMesh/boundary and manually changing the entries "type" and "inGroups" of the desired patches from "symmetryPlane" to "wall" but during a decomposePar command I got this error: Code:
--> FOAM FATAL ERROR: Attempt to cast type wall to type symmetryPlane From function To& Foam::refCast(From&) [with To = const Foam::symmetryPlaneFvPatch; From = const Foam::fvPatch] in file /scratch/marrs/OpenFOAM/OpenFOAM-4.1/src/OpenFOAM/lnInclude/typeInfo.H at line 114. FOAM aborting #0 Foam::error::printStack(Foam::Ostream&) at ??:? #1 Foam::error::abort() at ??:? #2 Foam::symmetryPlaneFvPatch const& Foam::refCast<Foam::symmetryPlaneFvPatch const, Foam::fvPatch const>(Foam::fvPatch const&) at ??:? #3 Foam::symmetryPlaneFvPatchField<double>::symmetryPlaneFvPatchField(Foam::fvPatch const&, Foam::DimensionedField<double, Foam::volMesh> const&, Foam::dictionary const&) at ??:? #4 Foam::fvPatchField<double>::adddictionaryConstructorToTable<Foam::symmetryPlaneFvPatchField<double> >::New(Foam::fvPatch const&, Foam::DimensionedField<double, Foam::volMesh> const&, Foam::dictionary const&) at ??:? #5 Foam::fvPatchField<double>::New(Foam::fvPatch const&, Foam::DimensionedField<double, Foam::volMesh> const&, Foam::dictionary const&) in "/scratch/marrs/OpenFOAM/OpenFOAM-4.1/platforms/linux64GccDPInt32Opt/bin/decomposePar" #6 Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>::Boundary::readField(Foam::DimensionedField<double, Foam::volMesh> const&, Foam::dictionary const&) in "/scratch/marrs/OpenFOAM/OpenFOAM-4.1/platforms/linux64GccDPInt32Opt/bin/decomposePar" #7 Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>::readFields(Foam::dictionary const&) in "/scratch/marrs/OpenFOAM/OpenFOAM-4.1/platforms/linux64GccDPInt32Opt/bin/decomposePar" #8 Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>::readFields() in "/scratch/marrs/OpenFOAM/OpenFOAM-4.1/platforms/linux64GccDPInt32Opt/bin/decomposePar" #9 Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>::GeometricField(Foam::IOobject const&, Foam::fvMesh const&) in "/scratch/marrs/OpenFOAM/OpenFOAM-4.1/platforms/linux64GccDPInt32Opt/bin/decomposePar" #10 ? in "/scratch/marrs/OpenFOAM/OpenFOAM-4.1/platforms/linux64GccDPInt32Opt/bin/decomposePar" #11 ? in "/scratch/marrs/OpenFOAM/OpenFOAM-4.1/platforms/linux64GccDPInt32Opt/bin/decomposePar" #12 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6" #13 ? in "/scratch/marrs/OpenFOAM/OpenFOAM-4.1/platforms/linux64GccDPInt32Opt/bin/decomposePar" Edit: I just tried a normal (i.e. non-parallel) chtMultiRegionSimpleFoam run and it worked. However, I do need to run my cases in parallel, so how could I solve the decomposePar error? |
|
Tags |
chtmultiregionsimpefoam, multi region, patch type, symmetry |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Boundary conditions for dynamic mesh interface patch between two mesh regions | Virag | OpenFOAM Running, Solving & CFD | 8 | May 31, 2016 19:33 |
[Commercial meshers] Problems with ANSYS mesh conversion | tdog | OpenFOAM Meshing & Mesh Conversion | 1 | March 31, 2016 18:36 |
Problem with cyclic boundaries in Openfoam 1.5 | fs82 | OpenFOAM | 36 | January 7, 2015 01:31 |
Cyclic Boundary Condition | Luiz Eduardo Bittencourt Sampaio (Sampaio) | OpenFOAM Running, Solving & CFD | 36 | July 2, 2012 13:23 |
[Gmsh] Import gmsh msh to Foam | adorean | OpenFOAM Meshing & Mesh Conversion | 24 | April 27, 2005 09:19 |