CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Other Meshers: ICEM, Star, Ansys, Pointwise, GridPro, Ansa, ...

How to separate fluid zones?

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

Reply
 
LinkBack Thread Tools Display Modes
Old   August 2, 2013, 08:46
Default How to separate fluid zones?
  #1
New Member
 
Yuri Frey
Join Date: Jul 2013
Posts: 13
Rep Power: 3
yurifrey is on a distinguished road
Hello everyone!

I have a fluid domain which is separated into two zones (one of them should be set as porous) and I meshed it in gambit creating two different "continuum types". At the end of the .msh file there is

Code:
(0 "Zones:")
(45 (2 fluid zone2)())
(45 (3 fluid zone1)())
(45 (4 wall wall_in)())
(45 (5 wall wall_out)())
(45 (6 pressure-outlet outlet)())
(45 (7 velocity-inlet inlet)())
(45 (9 interior default-interior)())
so I guess the two zones are set correctly. When I convert the mesh to OF I lose this division and I can only find one cell zone as I can read from the cellZone file contained in polyMesh:

Code:
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

0
()

// ************************************************************************* //
Is there a problem in the mesh? Should I specify something in the conversion? Thank you for any help, I lost lot of time trying to fix this without succeeding..

Yuri
yurifrey is offline   Reply With Quote

Old   August 8, 2013, 07:21
Default
  #2
Member
 
joegi
Join Date: Nov 2009
Location: genoa
Posts: 67
Rep Power: 7
joegi.geo is on a distinguished road
Hi,

If the mesh is 2d, you should use an option to preserve the zones (do not recall the option, just type -help). If the mesh is 3d, it should preserve the zones. At least it works for me with no problems.

jg
joegi.geo 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
fluid structure interaction taru agrawal FLUENT 4 September 10, 2007 03:12
Multiple Fluid Zones Naghman Khan FLUENT 3 August 3, 2007 07:23
My Revised "Time Vs Energy" Article For Review Abhi Main CFD Forum 2 July 9, 2002 09:08
Terrible Mistake In Fluid Dynamics History Abhi Main CFD Forum 12 July 8, 2002 09:11
surface-creation on 1 of 2 overlapping fluid zones Volker Pawlik FLUENT 0 November 17, 2000 06:15


All times are GMT -4. The time now is 16:31.