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

[blockMesh] 3D blockMesh for multiple material rectangular blocks one above another

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 22, 2012, 22:46
Default 3D blockMesh for multiple material rectangular blocks one above another
  #1
Member
 
Sangeeta
Join Date: Jul 2012
Location: Kingston, Canada
Posts: 70
Rep Power: 14
Sargam05 is on a distinguished road
Hello everybody,

I am trying to make mesh for three multiple material rectangular blocks. In may case there are three solid blocks one above another. constant/polyMesh/blockMesh is:

convertToMeters 1;

vertices
(
(0.00025 0 0)
(0.0005 0 0)
(0.0005 0.000027 0)
(0.00025 0.000027 0)
(0.00025 0 0.0005)
(0.0005 0 0.0005)
(0.0005 0.000027 0.0005)
(0.00025 0.000027 0.0005)

(0.00025 0.000025 0)
(0.0005 0.000025 0)
(0.0005 0.000026 0)
(0.00025 0.000026 0)
(0.00025 0.000025 0.0005)
(0.0005 0.000025 0.0005)
(0.0005 0.000026 0.0005)
(0.00025 0.000026 0.0005)

);

blocks
(
hex (0 1 9 8 4 5 13 12) solid1 (100 80 50) simpleGrading (1.0 1.0 1.0)

hex (8 9 10 11 12 13 14 15) solid2 (100 50 50) simpleGrading (1.0 1.0 1.0)

hex (11 10 2 3 15 14 6 7) solid3 (100 50 50) simpleGrading (1.0 1.0 1.0)
);

edges
(
);

patches
(
// From Bottom to Top

patch
solid1_Bottom
(
(0 4 5 1)
)

patch
solid3_TOP
(
(3 7 6 2)
)

symmetryPlane left
(
(0 4 12 8)
(7 15 11 3)
(8 12 15 11)
)

patch solid1_right
(
(1 5 13 9)
)

patch solid3_right
(
(6 14 10 2)
)

patch solid2_right
(
(9 13 14 10)
)

patch frontAndBack
(
(4 5 13 12)
(13 14 15 12)
(15 14 6 7)
(0 1 9 8)
(9 10 11 8)
(11 10 2 3)
)
);

mergePatchPairs
(
);

I have also made three different folders of solid 1, 2, and 3 in constant directory (for defining physical properties) and system directories (for defining fvScheme and fvSolution).

blockMesh run successfully. Then I run
splitMeshRegions -cellZones -overwrite
It is showing following error after running above command:

Create time

Create mesh for time = 0

Trying to match regions to existing cell zones.


Number of regions:3

Writing region per cell file (for manual decomposition) to "/home/sangeeta/elasticThermalSolidFoam/constant/cellToRegion"

Writing region per cell as volScalarField to "/home/sangeeta/elasticThermalSolidFoam/0/cellToRegion"

Region Cells
------ -----
0 400000
1 250000
2 250000

Region Zone Name
------ ---- ----
0 0 solid1
1 1 solid2
2 2 solid3

Sizes inbetween regions:

Region Region Faces
------ ------ -----
0 1 5000
1 2 5000

Reading volScalarField cellToRegion


Adding patches


Adding patches

Inserting patch solid1_to_solid2 to slot 7 out of 7
--> FOAM Warning :
From function gAverage(const UList<Type>&)
in file /home/sangeeta/OpenFOAM/OpenFOAM-1.6-ext/src/OpenFOAM/lnInclude/FieldFunctions.C at line 524
empty field, returning zero.


--> FOAM FATAL ERROR:

request for polyMesh solid2 from objectRegistry elasticThermalSolidFoam failed
available objects of type polyMesh are

1
(
region0
)


From function objectRegistry::lookupObject<Type>(const word&) const
in file /home/sangeeta/OpenFOAM/OpenFOAM-1.6-ext/src/OpenFOAM/lnInclude/objectRegistryTemplates.C at line 140.

FOAM aborting

Aborted

Does any one have any idea why this error is coming. How can I fix this problem?

Thanks in advance.

Best regards,
Sangeeta
Sargam05 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
Simulation of a single bubble with a VOF-method Suzzn CFX 21 January 29, 2018 01:58
[blockMesh] blockMesh problem with wedge blocks gned OpenFOAM Meshing & Mesh Conversion 0 September 14, 2016 06:49
[blockMesh] blockMesh error ill defined primitiveEntry starting at keyword 'blocks' ihu945 OpenFOAM Meshing & Mesh Conversion 1 June 7, 2016 22:56
Naming blocks in blockMesh balkrishna OpenFOAM 7 June 28, 2011 10:03
Two-Phase Buoyant Flow Issue Miguel Baritto CFX 4 August 31, 2006 13:02


All times are GMT -4. The time now is 23:14.