CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Running, Solving & CFD

Solving problem on subdomain

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   March 31, 2011, 10:38
Default Solving problem on subdomain
New Member
Andreas P
Join Date: Sep 2010
Posts: 26
Rep Power: 9
andreasp is on a distinguished road
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:


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
Since other people in our group use the same mesh also for computing mass transport inside the sphere, it is also meshed. However, I am only interested in the flow profile *around* the sphere, i.e. its surface == impermeable walls.

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!
Attached Images
File Type: jpg sphereinbox.jpg (57.8 KB, 14 views)
andreasp is offline   Reply With Quote

Old   April 1, 2011, 02:53
Senior Member
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,911
Rep Power: 28
alberto will become famous soon enoughalberto will become famous soon enough
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:
OpenQBMM - An open-source implementation of quadrature-based moment methods.

To obtain more accurate answers, please specify the version of OpenFOAM you are using.
alberto is offline   Reply With Quote

Old   April 1, 2011, 04:44
New Member
Andreas P
Join Date: Sep 2010
Posts: 26
Rep Power: 9
andreasp is on a distinguished road

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!
andreasp is offline   Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to write k and epsilon before the abnormal end xiuying OpenFOAM Running, Solving & CFD 8 August 27, 2013 15:33
Floating point exception error Alan OpenFOAM Running, Solving & CFD 10 April 6, 2012 14:02
icoLagrangianFoam OF1.6 myNewParticleSolver heavy_user OpenFOAM 16 February 11, 2012 06:15
SimpleFoam k and epsilon bounded nedved OpenFOAM Running, Solving & CFD 1 November 25, 2008 21:21
Differences between serial and parallel runs carsten OpenFOAM Bugs 11 September 12, 2008 11:16

All times are GMT -4. The time now is 15:56.