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

[Other] How to create an MRF zone ?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 3, 2014, 11:52
Default How to create an MRF zone ?
  #1
Member
 
amine
Join Date: Jan 2014
Location: FRANCE
Posts: 84
Rep Power: 12
aminem is on a distinguished road
Hi,

I have convert a fluent mesh to openfoam format (see picture).

How I can create a rotor zone in openfoam ?

Thanks
Attached Images
File Type: jpg stirreduni.jpg (37.1 KB, 115 views)
aminem is offline   Reply With Quote

Old   December 4, 2014, 10:49
Default
  #2
Senior Member
 
Dongyue Li
Join Date: Jun 2012
Location: Beijing, China
Posts: 849
Rep Power: 18
sharonyue is on a distinguished road
Quote:
Originally Posted by aminem View Post
Hi,

I have convert a fluent mesh to openfoam format (see picture).

How I can create a rotor zone in openfoam ?

Thanks
If you are using ICEM to make mesh,

1. by block.

U should name the rotational block and stationary block. then openfoam will tell these two different zones.

2. by tet mesh

U should draw a interface like a cylinder, then name it as rotational body, the others as stationary body, then compute tet mesh, you will have two zones.

Best,
sharonyue is online now   Reply With Quote

Old   December 8, 2014, 11:45
Default
  #3
Member
 
amine
Join Date: Jan 2014
Location: FRANCE
Posts: 84
Rep Power: 12
aminem is on a distinguished road
Hi,

I have done this step under ANSYS MESHING (i have two rotor zone and one stator zone). but when i execute this instruction
fluentMeshToFoam stirredtank.msh
The boundary (interface) of two rotor zone is merged into one new patch "default_wall"

Thanks
Code:
/*---------------------------------------------------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  2.3.0                                 |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
Build  : 2.3.0-f5222ca19ce6
Exec   : fluentMeshToFoam stirredtank.msh
Date   : Dec 08 2014
Time   : 16:36:32
Host   : "amine-VirtualBox"
PID    : 17197
Case   : /home/amine/OpenFOAM/amine-2.3.0/run/aminetuto/exo3cuve
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Disallowing user-supplied system call operations

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

Embedded blocks in comment or unknown:       (
Embedded blocks in comment or unknown:(
Found end of section in unknown:) 
Embedded blocks in comment or unknown:(
Found end of section in unknown:)
Found end of section in unknown:)
Embedded blocks in comment or unknown:       (
Embedded blocks in comment or unknown:(
Found end of section in unknown:)
Embedded blocks in comment or unknown:
                (
Found end of section in unknown:)
Found end of section in unknown:)
Embedded blocks in comment or unknown:       (
Embedded blocks in comment or unknown:(
Found end of section in unknown:)
Found end of section in unknown:)
Embedded blocks in comment or unknown: (
Embedded blocks in comment or unknown:(
Found end of section in unknown:) 
Embedded blocks in comment or unknown:(
Found end of section in unknown:)
Found end of section in unknown:)
Dimension of grid: 3
Number of points: 133864

number of faces: 931682
Number of cells: 415231
Reading points
Reading points
Reading mixed faces
Reading mixed faces
Reading mixed faces
Reading uniform faces
Reading uniform faces
Reading uniform faces
Reading uniform faces
Reading uniform faces
Reading uniform faces
Reading uniform faces
Reading uniform faces
Other readCellGroupData: 4 1 b44c 1 0
Reading mixed cells
Other readCellGroupData: 5 b44d 183c9 1 0
Reading mixed cells
Other readCellGroupData: 6 183ca 655ff 1 0
Reading mixed cells
Read zone1:1 name:interior-ph patchTypeID:interior
Reading zone data
Read zone1:2 name:interior-bh patchTypeID:interior
Reading zone data
Read zone1:3 name:interior-sphere_cuve patchTypeID:interior
Reading zone data
Read zone1:4 name:ph patchTypeID:fluid
Reading zone data
Read zone1:5 name:bh patchTypeID:fluid
Reading zone data
Read zone1:6 name:sphere_cuve patchTypeID:fluid
Reading zone data
Read zone1:9 name:tank patchTypeID:wall
Reading zone data
Read zone1:10 name:shaft patchTypeID:wall
Reading zone data
Read zone1:11 name:wall_ph patchTypeID:wall
Reading zone data
Read zone1:12 name:wall_bh patchTypeID:wall
Reading zone data
Read zone1:13 name:contact_region-src patchTypeID:interface
Reading zone data
Read zone1:14 name:contact_region-trg patchTypeID:interface
Reading zone data
Read zone1:15 name:contact_region_2-src patchTypeID:interface
Reading zone data
Read zone1:16 name:contact_region_2-trg patchTypeID:interface
Reading zone data
Found unknown block:(37
Embedded blocks in comment or unknown: (
Embedded blocks in comment or unknown:
(
Embedded blocks in comment or unknown:(
Embedded blocks in comment or unknown:
(
Embedded blocks in comment or unknown:(
Found end of section in unknown:) 
Embedded blocks in comment or unknown:(
Found end of section in unknown:) 
Embedded blocks in comment or unknown:(
Found end of section in unknown:) 
Embedded blocks in comment or unknown:(
Found end of section in unknown:) 
Embedded blocks in comment or unknown:(
Found end of section in unknown:) 
Embedded blocks in comment or unknown:(
Found end of section in unknown:) 
Embedded blocks in comment or unknown:(
Found end of section in unknown:) 
Embedded blocks in comment or unknown:(
Found end of section in unknown:)
Found end of section in unknown:)
Embedded blocks in comment or unknown:
(
Embedded blocks in comment or unknown:(
Found end of section in unknown:) 
Embedded blocks in comment or unknown:(
Found end of section in unknown:) 
Embedded blocks in comment or unknown:(
Found end of section in unknown:) 
Embedded blocks in comment or unknown:(
Found end of section in unknown:) 
Embedded blocks in comment or unknown:(
Found end of section in unknown:) 
Embedded blocks in comment or unknown:(
Found end of section in unknown:) 
Embedded blocks in comment or unknown:(
Found end of section in unknown:) 
Embedded blocks in comment or unknown:(
Found end of section in unknown:)
Found end of section in unknown:)
Found end of section in unknown:
)
Found end of section in unknown:)
Found end of section in unknown:
)
Found end of section in unknown:)


FINISHED LEXING


dimension of grid: 3
Creating shapes for 3-D cells
Building patch-less mesh...--> FOAM Warning : 
    From function polyMesh::polyMesh(... construct from shapes...)
    in file meshes/polyMesh/polyMeshFromShapeMesh.C at line 627
    Found 33740 undefined faces in mesh; adding to default patch.
done.

Building boundary and internal patches.
Creating patch 0 for zone: 1 start: 1 end: 101984 type: interior name: interior-ph
Creating patch 1 for zone: 2 start: 101985 end: 218394 type: interior name: interior-bh
Creating patch 2 for zone: 3 start: 218395 end: 897942 type: interior name: interior-sphere_cuve
Creating patch 3 for zone: 9 start: 897943 end: 912448 type: wall name: tank
Creating patch 4 for zone: 10 start: 912449 end: 915708 type: wall name: shaft
Creating patch 5 for zone: 11 start: 915709 end: 917426 type: wall name: wall_ph
Creating patch 6 for zone: 12 start: 917427 end: 919386 type: wall name: wall_bh
Creating patch 7 for zone: 13 start: 919387 end: 922504 type: interface name: contact_region-src
Creating patch 8 for zone: 14 start: 922505 end: 925634 type: interface name: contact_region-trg
Creating patch 9 for zone: 15 start: 925635 end: 928762 type: interface name: contact_region_2-src
Creating patch 10 for zone: 16 start: 928763 end: 931682 type: interface name: contact_region_2-trg
Patch interior-ph is internal to the mesh  and is not being added to the boundary.
Patch interior-bh is internal to the mesh  and is not being added to the boundary.
Patch interior-sphere_cuve is internal to the mesh  and is not being added to the boundary.
Adding new patch tank of type wall as patch 0
Adding new patch shaft of type wall as patch 1
Adding new patch wall_ph of type wall as patch 2
Adding new patch wall_bh of type wall as patch 3
Patch contact_region-src is internal to the mesh  and is not being added to the boundary.
Patch contact_region-trg is internal to the mesh  and is not being added to the boundary.
Patch contact_region_2-src is internal to the mesh  and is not being added to the boundary.
Patch contact_region_2-trg is internal to the mesh  and is not being added to the boundary.
--> FOAM Warning :  fluent mesh has 12296 undefined boundary faces.
 Adding undefined faces to new patch `default_wall`

Writing mesh... to "constant/polyMesh"  done.


End
aminem 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
Create Patch for MRF Wind Turbine Simulation Bernoulli666 OpenFOAM Pre-Processing 1 August 27, 2017 03:21
Journal file error magicalmarshmallow FLUENT 3 April 4, 2014 13:25
[Commercial meshers] fluentMeshToFoam multidomain mesh conversion problem Attesz OpenFOAM Meshing & Mesh Conversion 12 May 2, 2013 11:52
Porosity profile, dividing a zone, or getting zone location from zone khoopes FLUENT 0 June 2, 2012 20:39
Sliding mesh error Karl Kevala FLUENT 4 February 21, 2001 16:52


All times are GMT -4. The time now is 10:52.