|
[Sponsors] |
March 31, 2011, 10:38 |
Solving problem on subdomain
|
#1 |
New Member
Andreas P
Join Date: Sep 2010
Posts: 26
Rep Power: 15 |
Hi everyone!
I want to compute an incompressible flow profile round a sphere in a box (see attached PNG). The mesh is generated with ICEM, stored in Fluent format, and converted to OF with fluent3DMeshToFoam without any problems. Most important converter output: Code:
.... FINISHED LEXING Creating patch 0 for zone: 12 name: SURFS type: wall Creating patch 1 for zone: 13 name: SPHERE type: wall Creating cellZone 0 name: CREATED_MATERIAL_6 type: fluid Creating cellZone 1 name: CREATED_MATERIAL_7 type: fluid Creating faceZone 0 name: int_CREATED_MATERIAL_6 type: interior Creating faceZone 1 name: int_CREATED_MATERIAL_7 type: interior faceZone from Fluent indices: 0 to: 7430 type: interior faceZone from Fluent indices: 7431 to: 7757 type: interior patch 0 from Fluent indices: 7758 to: 8317 type: wall patch 1 from Fluent indices: 8318 to: 8407 type: wall I have not yet tried to run a simulation (with simpleFoam), but I have a few general questions in advance: How does OF treat such multidomain problems in general? Will it treat the two cellZones as one, or will it just ignore the second, or what else? Or how can I tell OF to ignore the cells inside inside the sphere? I'd appreciate any information on that! Andreas |
|
April 1, 2011, 02:53 |
|
#2 |
Senior Member
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36 |
I would remove the cells inside the sphere. You can do this defining a cellSet and deleting the elements belonging to it. Take a look at cellSet/setSet tools.
__________________
Alberto Passalacqua GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as in both physical and virtual formats (current status: http://albertopassalacqua.com/?p=1541) OpenQBMM - An open-source implementation of quadrature-based moment methods. To obtain more accurate answers, please specify the version of OpenFOAM you are using. |
|
April 1, 2011, 04:44 |
|
#3 |
New Member
Andreas P
Join Date: Sep 2010
Posts: 26
Rep Power: 15 |
Alberto,
thanks for your reply. After fixing the boundary conditions at inlet and outlet, I now got simpleFoam to compute a solution. It works, but the solver includes the cells inside the sphere. Since these are completely surrounded by walls, nothing happens there. But I should definitely get rid of the cells for larger realistic problems... I did some googling on cellSet and setSet, but didn't really come up with useful documentation. Am I missing any important docu site? Or maybe could anyone shed some light on how to use these tools? Thanks again! Andreas |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Floating point exception error | Alan | OpenFOAM Running, Solving & CFD | 11 | July 1, 2021 21:51 |
icoLagrangianFoam OF1.6 myNewParticleSolver | heavy_user | OpenFOAM | 23 | June 2, 2020 02:18 |
How to write k and epsilon before the abnormal end | xiuying | OpenFOAM Running, Solving & CFD | 8 | August 27, 2013 15:33 |
SimpleFoam k and epsilon bounded | nedved | OpenFOAM Running, Solving & CFD | 1 | November 25, 2008 20:21 |
Differences between serial and parallel runs | carsten | OpenFOAM Bugs | 11 | September 12, 2008 11:16 |