chtMultiRegionSimpleFoam basic example--noob problem with OF2.2
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! |
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 |
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! |
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. |
I have also been trying to get this example working, to no avail.
|
hello! was anyone able to run chtMultiRegionSimpleFoam with water instead of air?
|
The case planeWall2D
http://openfoamwiki.net/index.php/Ge..._-_planeWall2D was updated recently and I was able to run it with no problem. |
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 Code:
boundary Code:
--> FOAM FATAL IO ERROR: can anyone shine a light as to where splitMeshRegions gets the boundary fields from |
All times are GMT -4. The time now is 23:08. |