|
[Sponsors] |
chtMultiRegionSimpleFoam basic example--noob problem with OF2.2 |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 3, 2013, 02:30 |
chtMultiRegionSimpleFoam basic example--noob problem with OF2.2
|
#1 |
New Member
Join Date: Oct 2011
Location: Sydney, NSW
Posts: 21
Rep Power: 14 |
Hi there,
I'm trying to learn how to use chtMultiRegionSimpleFoam, and found this nice starter example here: http://openfoamwiki.net/index.php/Ge..._-_planeWall2D I am running OF 2.2.0, and the sample case runs fine, or so it seems... When I try to post-process, loading either planeWall2D{topAir}.OpenFOAM or planeWall2D{bottomAir}.OpenFOAM leads to paraFoam crashing with the error: --> FOAM FATAL IO ERROR: inconsistent patch and patchField types for patch type empty and patchField type calculated Which makes sense in that I understand what it is telling me, but I don't know how to go about addressing this problem. Oh, and for what it's worth, the results for the wall are clearly wrong as well, as it ends up being a uniform 300K throughout. I'm suspecting that something has changed in the way topoSet works between 2.1 and 2.1, but I'm struggling to see how... Many thanks in advance! |
|
June 7, 2013, 10:30 |
|
#2 |
New Member
Ian Pond
Join Date: Jan 2013
Posts: 11
Rep Power: 13 |
Hey,
I've been trying to learn conjugate heat transfer on openfoam and attempted to run this case and got the same error as you. To fix the error, you need to edit the changeDictionarydict files located in system/bottomAir and system/topAir. Those files apply specific BCs to each region defined by topoSet. If you look at the P and p_rgh sections of those two files you will notice that frontAndBack is not redefined to be empty, so you must add frontAndBack to the P and p_rgh sections for both bottomAir and topAir and define it to be empty. Hope that helps. I'm still having trouble getting the case to run even after fixing that. Let me know if you are able to successfully run the simulation. -Ian |
|
June 7, 2013, 21:36 |
|
#3 |
New Member
Join Date: Oct 2011
Location: Sydney, NSW
Posts: 21
Rep Power: 14 |
Heya!
Actually, it seems like there needs to be a number of changes, including the addition of the (new?) makeCellSets.setSet file in the case directory. I almost finished doing this yesterday, but have been doing too many things at once and didn't quite finish. I hope to complete this example this evening, at which time I will post a .tar.gz case file to the wiki page. Cheers! |
|
June 7, 2013, 22:03 |
|
#4 |
New Member
Ian Pond
Join Date: Jan 2013
Posts: 11
Rep Power: 13 |
Hey,
Just to let you know I fixed about 4 different errors until I came upon one that I could not figure out. I believe the makecellset file is old, the newer application is the toposetdict, but I haven't tried to run the case with out the setSet file, but both appear to do the same thing. Just a heads up. I gave up and started working with the other xhtmultiregion tutorials. Let me know if you get that one working. |
|
August 13, 2013, 09:14 |
|
#5 |
New Member
tobyB
Join Date: Aug 2013
Posts: 11
Rep Power: 12 |
I have also been trying to get this example working, to no avail.
|
|
December 20, 2013, 15:51 |
|
#6 |
Member
Sergey
Join Date: Nov 2013
Posts: 87
Rep Power: 12 |
hello! was anyone able to run chtMultiRegionSimpleFoam with water instead of air?
|
|
December 20, 2013, 15:52 |
|
#7 |
Member
Sergey
Join Date: Nov 2013
Posts: 87
Rep Power: 12 |
The case planeWall2D
http://openfoamwiki.net/index.php/Ge..._-_planeWall2D was updated recently and I was able to run it with no problem. |
|
March 29, 2014, 14:27 |
|
#8 |
Senior Member
Derek Mitchell
Join Date: Mar 2014
Location: UK, Reading
Posts: 172
Rep Power: 13 |
there are still challenges in planewall2D on going to 2.3 it need Tnbr defining then it works
However ts has problems if you try to run it on multiple processors as it exposes a fact that splitMeshRegions creates a cellToRegion file with Code:
boundaryField { bottomAir_bottom { type zeroGradient; } leftLet Code:
boundary { bottomAir_bottom { type symmetryPlane; } } Code:
--> FOAM FATAL IO ERROR: inconsistent patch and patchField types for patch type symmetryPlane and patchField type zeroGradient file: /home/derekm/OpenFOAM/derekm-2.3.0/run/tutorials/heatTransfer/planeWall2D/0/bottomAir/cellToRegion.boundaryField.bottomAir_bottom from line 26 to line 26. From function fvPatchField<Type>::New(const fvPatch&, const DimensionedField<Type, volMesh>&, const dictionary&) in file /home/sergio/rpmBuild/BUILD/OpenFOAM-2.3.0/src/finiteVolume/lnInclude/fvPatchFieldNew.C at line 172. can anyone shine a light as to where splitMeshRegions gets the boundary fields from
__________________
A CHEERING BAND OF FRIENDLY ELVES CARRY THE CONQUERING ADVENTURER OFF INTO THE SUNSET |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
conduction problem | venkataramana | OpenFOAM | 3 | December 1, 2013 07:30 |
Problem Importing Geometry ProE to CFX | fatb0y | CFX | 3 | January 14, 2012 19:42 |
FSI problem , Help needed for my basic questions | kmgraju | CFX | 1 | July 29, 2011 00:04 |
natural convection problem for a CHT problem | Se-Hee | CFX | 2 | June 10, 2007 06:29 |
Adiabatic and Rotating wall (Convection problem) | ParodDav | CFX | 5 | April 29, 2007 19:13 |