CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[Commercial meshers] How to separate fluid zones?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread 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: 12
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
Senior Member
 
joegi
Join Date: Nov 2009
Location: genoa
Posts: 102
Rep Power: 16
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


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
can not run simulation for body sinusoidal movement between two different fluid zones M.Hodali Autodesk Simulation CFD 0 December 17, 2018 17:07
how to comliled UDF on one of two fluid cell zones lshwanbb Fluent UDF and Scheme Programming 0 December 16, 2017 20:41
Multiple Fluid Zones Naghman Khan FLUENT 3 August 3, 2007 07:23
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 05:15


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