CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Native Meshers: blockMesh

3D blockMesh for multiple material rectangular blocks one above another

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

Reply
 
LinkBack Thread Tools Display Modes
Old   September 22, 2012, 21: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: 4
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

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
converting Fluent mesh to openfoam standard mesh deepesh OpenFOAM Other Meshers: ICEM, Star, Ansys, Pointwise, GridPro, Ansa, ... 17 October 25, 2013 03:59
error message cuteapathy CFX 14 March 20, 2012 07:45
Constant velocity of the material Sas CFX 15 July 13, 2010 08:56
mass flow in is not equal to mass flow out saii CFX 2 September 18, 2009 08:07
Two-Phase Buoyant Flow Issue Miguel Baritto CFX 4 August 31, 2006 12:02


All times are GMT -4. The time now is 19:17.