CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Running, Solving & CFD

Solving problem on subdomain

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

Reply
 
LinkBack Thread Tools Display Modes
Old   March 31, 2011, 10:38
Default Solving problem on subdomain
  #1
New Member
 
Andreas P
Join Date: Sep 2010
Posts: 26
Rep Power: 6
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:
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
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!
Andreas
Attached Images
File Type: jpg sphereinbox.jpg (57.8 KB, 13 views)
andreasp is offline   Reply With Quote

Old   April 1, 2011, 02:53
Default
  #2
Senior Member
 
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,894
Rep Power: 26
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 live DVD/USB, hard drive image and virtual image.
OpenQBMM - An open-source implementation of quadrature-based moment methods
alberto is offline   Reply With Quote

Old   April 1, 2011, 04:44
Default
  #3
New Member
 
Andreas P
Join Date: Sep 2010
Posts: 26
Rep Power: 6
andreasp is on a distinguished road
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
andreasp is offline   Reply With Quote

Reply

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 18:38.